← Back to team overview

ufl team mailing list archive

Precedence of integration rules

 

Hi,
say that we have a form with some defined options and some undefined:

  a = withopt*dx(0, myoptions) + noopt*dx(0)

A natural interpretation of this is that the form compiler
uses its default options on noopt, and overrides its defaults
with myoptions for withopt.

Now what if the form compiler gets nondefault global options?

  form = jit(a, someoptions)

Naturally, someoptions will overrule default options.
But should myoptions still overrule someoptions?
I'm leaning towards this, but I want your opinion.

In other words, is the precedence order
  myoptions > someoptions > defaultoptions
or
  someoptions > myoptions > defaultoptions
?

Martin


Follow ups