In dev/1.5 you can do *dx(degree=d, scheme=s) in ufl forms. This currently just maps to the parameters Jan mentioned.
Martin 17. jan. 2015 11:53 skrev "Colin Cotter" <[email protected]>: > Dear Jan, > Thanks for your reply. In actual fact, I was looking to use a vertex > quadrature which I didn't know was already available! > All the best > Cjc > On 17 Jan 2015 10:08, "Jan Blechta" <[email protected]> wrote: > >> There's not an interface for it. There's just ffc parameter >> 'quadrature_rule' (parameters['form_compiler']['quadrature_rule'] or >> Measure(..., metadata={'quadrature_rule': rule}) in DOLFIN) with valid >> choices: 'auto', 'default', 'canonical', 'vertex'. See >> ffc/quadrature_schemes.py for reference. >> >> As a workaround you may edit this file to add a new rule you need. You >> may also need to edit _attach_integral_metadata in ffc/analysis.py to >> add a new valid rule there. >> >> Jan >> >> >> On Sat, 17 Jan 2015 07:50:31 +0000 >> Colin Cotter <[email protected]> wrote: >> >> > Dear FEniCS list, >> > Is there a way to pass a specific quadrature rule (i.e. not just the >> > degree) for FFC to assemble a form with? >> > >> > All the best >> > Colin >> >> > _______________________________________________ > fenics mailing list > [email protected] > http://fenicsproject.org/mailman/listinfo/fenics > >
_______________________________________________ fenics mailing list [email protected] http://fenicsproject.org/mailman/listinfo/fenics
