UFL input for P3 finite elementΒΆ

We define the finite element in UFL in a separate form file P3.ufl. We define the linear finite element:

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

Before the form file can be used in the C++ program, it must be compiled using FFC by running (on the command-line):

ffc -l dolfin P3.ufl