← Back to team overview

ffc team mailing list archive

Re: Quadrature degree=None

 

Quoting Anders Logg <logg@xxxxxxxxx>:

> On Tue, Nov 17, 2009 at 09:28:23PM +0000, Garth N. Wells wrote:
> >
> >
> > Anders Logg wrote:
> > >I've added support in UFL and FFC for letting quadrature degree be
> > >None for a quadrature element.
> > >
> > >This lets the form compiler choose the quadrature. What currently
> > >happens is that the degree is counted as 1
> >
> > Polynomial degree or 'quadrature degree' (whatever that is)?
> >
> > (default value controllable
> > >from the form compiler) and the summed with other functions
> > >multiplying the coefficient.
> > >
> > >  L = v*f*dx
> > >
> > >If v is P2, then the total degree will be 2 + 1 = 3, which means the
> > >quadrature degree chosen by FFC is 3 for that integral and so also
> > >for the element for f.

Sounds reasonable.

> > >Then there seems to be some confusion about the difference between
> > >quadrature order and degree. At least I'm confused.
> >
> > Me too.

It should be the same thing, but we could sort out the naming to avoid
confusion. I think this originates from Martin using 'polynomial degree' and I
used 'polynomial order' when first implementing this.

Kristian

> ok, let's hear what Kristian says.
>
> Kristian, the repositories are here:
>
> http://bitbucket.org/dolfin/ffc/
> http://bitbucket.org/dolfin/ufl/
>
> --
> Anders
>




Follow ups

References