← Back to team overview

ffc team mailing list archive

Compiling elements

 

Finite elements can now be compiled without needing to define a form.
Here's how to do it. Put something like this in MyElement.form:

  element = FiniteElement("Lagrange", "triangle", 5)

then just compile with

  ffc MyElement.form

Alternatively, the function writeFiniteElement() can be used from the
Python interface.

/Anders

-- 
Anders Logg
Research Assistant Professor
Toyota Technological Institute at Chicago
http://www.tti-c.org/logg/