Functions to directly wrap Basix elements in UFL.
Functions
|
Create a UFL element using Basix. |
|
Create a UFL tensor element using Basix. |
|
Create a UFL vector element using Basix. |
Classes
|
A wrapper allowing Basix elements to be used with UFL. |
Bases: ufl.finiteelement.finiteelementbase.FiniteElementBase
A wrapper allowing Basix elements to be used with UFL.
Create a basix element.
Return the map type.
Create a UFL element using Basix.
family – The element’s family as a Basix enum or a string.
cell – The cell type as a Basix enum or a string.
degree – The degree of the finite element.
lagrange_variant – The variant of Lagrange to be used.
dpc_variant – The variant of DPC to be used.
discontinuous – If set to True, the discontinuous version of this element will be created.
Create a UFL tensor element using Basix.
A tensor element is an element which uses multiple copies of a scalar element to represent a tensor-valued function.
family – The element’s family as a Basix enum or a string.
cell – The cell type as a Basix enum or a string.
degree – The degree of the finite element.
lagrange_variant – The variant of Lagrange to be used.
dpc_variant – The variant of DPC to be used.
discontinuous – If set to True, the discontinuous version of this element will be created.
Create a UFL vector element using Basix.
A vector element is an element which uses multiple copies of a scalar element to represent a vector-valued function.
family – The element’s family as a Basix enum or a string.
cell – The cell type as a Basix enum or a string.
degree – The degree of the finite element.
lagrange_variant – The variant of Lagrange to be used.
dpc_variant – The variant of DPC to be used.
discontinuous – If set to True, the discontinuous version of this element will be created.