← Back to team overview

ffc team mailing list archive

Add test problem for functionals. [...]

 

Commit from logg (2005-10-25 00:44 CEST)
----------------

Add test problem for functionals.

Functionals can now be defined as follows:

v = Function(element)
M = (v*v + dot(grad(v), grad(v)))*dx

Some more work is needed on both the FFC and DOLFIN side.
(Add new class Functional : public Form on the DOLFIN side
and generate correct code on the FFC side.)

+ ffc  src/demo/EnergyNorm.form  1.1
  ffc  src/ffc/parser/simple.py  1.11