← Back to team overview

dolfin team mailing list archive

Functionals

 

I changed the way functionals are evaluated to make it a little more
intuitive and minimize the amount of code needed to evaluate a
functional.

Here's an example:

  EnergyNorm::Functional M;
  MyFunction v;
  real value = M(v, mesh);

Note that a functional M (defined in FFC) can be evaluated at any
given function v.

/Anders