UFL input for P3 finite element =============================== We define the finite element in UFL in a separate form file :download:`P3.ufl`. We define the linear finite element:: from ufl_legacy import (FiniteElement, triangle) 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): .. code-block:: sh ffc -l dolfin P3.ufl