← Back to team overview

ufl team mailing list archive

Re: Quadrature degree estimation

 

On Fri, Apr 17, 2009 at 12:02:04PM +0200, Martin Sandve Alnæs wrote:
> Take a look at
>   ufl/sandbox/algorithmtests/degree_estimation.py
> just added.
> 
> Is this good enough for the initial version?
> It handles mixed elements by using the max
> degree of subelements, and nonlinear operators
> by just using the degree of the operands.
> Should work fine for most forms where accurate
> estimation is possible.
> 
> I'll add it into UFL soon.
> 
> Martin

It looks good to me, but I haven't tried it.

UFL now seems to have at least three ways to estimate the quadrature
degree:

  extract_quadrature_order
  estimate_quadrature_order
  estimate_max_quad_degree
  estimate_max_quadrature_order

Which one should be used and what is the difference between these?

-- 
Anders

Attachment: signature.asc
Description: Digital signature


Follow ups

References