Supported finite elements

A function space is built from a mesh, an element family, and a polynomial degree, for example

V = FunctionSpace(mesh, "Lagrange", 2)

This page lists the element families which Firedrake supports, and it shows where to find more information about each one.

Family names

Each family has a full name, and most also have one or more other names, such as an abbreviation. You can use any of them as the family argument; they select the same element. For example, these three lines are equivalent:

V = FunctionSpace(mesh, "Raviart-Thomas", 1)
V = FunctionSpace(mesh, "RT", 1)
V = FunctionSpace(mesh, "N1div", 1)

If the “Other names” column is empty, the family has no other name, and you must use the full name. Names are case sensitive.

List of supported elements

Name

Other names

Value shape

Valid cells

Alfeld C2

ALF-C2

scalar

triangle

Alfeld-Sorokina

AS

vector

triangle, tetrahedron

Argyris

ARG

scalar

triangle

Arnold-Qin

AQ

vector

triangle

Bell

BELL

scalar

triangle

Bernardi-Raugel

BR

vector

triangle, tetrahedron

Bernardi-Raugel Bubble

BRB

vector

triangle, tetrahedron

Bernstein

scalar

interval, triangle, tetrahedron, quadrilateral, hexahedron

Bramble-Zlamal C2

BZ-C2

scalar

triangle

Brezzi-Douglas-Fortin-Marini

BDFM

vector

triangle, tetrahedron

Brezzi-Douglas-Marini

BDM, BDMF, N2F, N2div, Nedelec 2nd kind H(div)

vector

triangle, tetrahedron

Brezzi-Douglas-Marini Cube Edge

BDMCE

vector

quadrilateral

Brezzi-Douglas-Marini Cube Face

BDMCF

vector

quadrilateral

Bubble

B

scalar

interval, triangle, tetrahedron

Christiansen-Hu

CH

vector

triangle, tetrahedron

Conforming Arnold-Winther

AWc

tensor

triangle

Crouzeix-Raviart

CR

scalar

triangle, tetrahedron

Direct Serendipity

Sdirect

scalar

quadrilateral

Discontinuous Lagrange

DG, DP

scalar

interval, triangle, tetrahedron, quadrilateral, hexahedron

Discontinuous Lagrange L2

DG L2, DP L2

scalar

interval, triangle, tetrahedron, quadrilateral, hexahedron

Discontinuous Raviart-Thomas

DRT

vector

triangle, tetrahedron

Discontinuous Taylor

TDG

scalar

interval, triangle, tetrahedron

DPC

scalar

interval, quadrilateral, hexahedron

DPC L2

scalar

interval, quadrilateral, hexahedron

DQ

scalar

quadrilateral, hexahedron

DQ L2

scalar

quadrilateral, hexahedron

FacetBubble

FB

scalar

interval, triangle, tetrahedron

Gauss-Legendre

GL

scalar

interval

Gauss-Legendre L2

GL L2

scalar

interval

Gauss-Lobatto-Legendre

GLL, Lob, Lobatto

scalar

interval

Gopalakrishnan-Lederer-Schoberl 1st kind

GLS

tensor

triangle, tetrahedron

Gopalakrishnan-Lederer-Schoberl 2nd kind

GLS2

tensor

triangle, tetrahedron

Guzman-Neilan 1st kind H1

GN

vector

triangle, tetrahedron

Guzman-Neilan 2nd kind H1

GN2

vector

triangle, tetrahedron

Guzman-Neilan Bubble

GNB

vector

triangle, tetrahedron

Guzman-Neilan H1(div)

GNH1div

vector

triangle, tetrahedron

HDiv Trace

DGT, Discontinuous Lagrange Trace, HDivT

scalar

interval, triangle, tetrahedron, quadrilateral, hexahedron

Hellan-Herrmann-Johnson

HHJ

tensor

triangle, tetrahedron

Hermite

HER

scalar

interval, triangle, tetrahedron

Hsieh-Clough-Tocher

HCT

scalar

triangle

Hu-Zhang

HZ

tensor

triangle

Johnson-Mercier

JM

tensor

triangle, tetrahedron

Kong-Mulder-Veldhuizen

KMV

scalar

triangle, tetrahedron

Lagrange

CG, P

scalar

interval, triangle, tetrahedron, quadrilateral, hexahedron

Mardal-Tai-Winther

MTW

vector

triangle, tetrahedron

Morley

MOR

scalar

triangle, tetrahedron

NCE

vector

hexahedron

NCF

vector

hexahedron

Nedelec 1st kind H(curl)

N1E, N1curl, RTE

vector

triangle, tetrahedron

Nedelec 2nd kind H(curl)

BDME, N2E, N2curl

vector

triangle, tetrahedron

Nonconforming Arnold-Winther

AWnc

tensor

triangle

Nonconforming Robust Wu-Xu

WXncr

scalar

triangle

Nonconforming Wu-Xu

WXnc

scalar

triangle

Q

scalar

quadrilateral, hexahedron

QuadraticPowellSabin12

PS12

scalar

triangle

QuadraticPowellSabin6

PS6

scalar

triangle

Raviart-Thomas

N1F, N1div, Nedelec 1st kind H(div), RT, RTF

vector

triangle, tetrahedron

Real

R

scalar

interval, triangle, tetrahedron, quadrilateral, hexahedron

Reduced-Arnold-Qin

AQ-red

vector

triangle

Reduced-Hsieh-Clough-Tocher

HCT-red

scalar

triangle

Regge

tensor

interval, triangle, tetrahedron

RTCE

vector

quadrilateral

RTCF

vector

quadrilateral

S

scalar

interval, quadrilateral, hexahedron

SminusCurl

vector

quadrilateral, hexahedron

SminusDiv

vector

quadrilateral, hexahedron

SminusE

vector

quadrilateral, hexahedron

SminusF

vector

quadrilateral

Walkington

WALK

scalar

tetrahedron

The table above is generated from the element list in FIAT, specifically from the file finat/ufl/elementlist.py in the FIAT repository. The file also defines names in the notation of finite element exterior calculus, for example "P-", "Q-" and "S Lambda". These names are not in the table, because the family that they select depends on the cell dimension and on the form degree.

In addition, the TensorProductElement operator can be used to create product elements on extruded meshes. See Extruded Meshes in Firedrake.

Getting more information about an element

To see what an element actually is (its degrees of freedom, its polynomial space, and diagrams of its basis functions), look it up on DefElement. In the table above, the name of each family that has a DefElement page is a link to that page.

The page Implemented in FIAT lists the elements that DefElement knows are implemented in FIAT, which is the library that Firedrake gets its elements from.

Element variants

Some finite element spaces offer more than one choice of nodes. For Q, DQ, DQ L2, RTCE, RTCF, NCE, and NCF spaces on intervals, quadrilaterals and hexahedra, Firedrake offers both equispaced points and better conditioned Legendre points. For discontinuous elements these are the Gauss-Legendre points, and for continuous elements these are the Gauss-Lobatto-Legendre points. For CG and DG spaces on simplices, Firedrake offers both equispaced points and the better conditioned recursive Legendre points from [Isa20] via the recursivenodes module. These are selected by passing variant="equispaced" or variant="spectral" to the FiniteElement or FunctionSpace() constructors. For example:

fe = FiniteElement("RTCE", quadrilateral, 2, variant="equispaced")

For CG and DG spaces, and most tensor-product elements, the default is variant="spectral".

Integral-type degrees of freedom are also available through variant="integral". These enable orthogonal bases for DG on any cell type:

V = FunctionSpace(mesh, "DG", 1, variant="integral")

In this case, the degrees of freedom are integral moments against a basis of polynomials, which need to be computed with a quadrature rule. The degree of accuracy of the quadrature can be increased also through the variant option. For instance, variant="integral(4)" will use a quadrature that exactly evaluates the degrees of freedom on polynomials of 4 degrees higher than that of the space. Furthermore, the quadrature rule can be specified via the "quad_scheme" keyword argument. For more details, see the manual section on quadrature rules.

Integral-type degrees of freedom are useful to nearly preserve curl-free or divergence-free functions when interpolating into the finite element space. H(curl) and H(div) elements, such as Nédélec, Brezzi-Douglas-Marini, and Raviart-Thomas, have variant="integral" as default. These elements also support variant="point", where the degrees of freedom are vector components evaluated at equispaced points.

Macroelements can be constructed by splitting each cell into subcells and tiling the element on each subcell, without refining the mesh. For example, the continuous Lagrange space where each simplex is subdivided by connecting each of its vertices to the barycenter is constructed as

V = FunctionSpace(mesh, "CG", 1, variant="alfeld")

The space P1-iso-P2 may be similarly constructed with variant="iso(2)". Macroelements also support integral-type degrees of freedom, for example variant="alfeld,integral(2)".