FiniteElement

class dolfin.cpp.fem.FiniteElement(element)

Bases: object

This is a wrapper for a UFC finite element (ufc::finite_element).

Create finite element from UFC finite element (data may be shared)

cell_shape()

Return the cell shape

create()

Create a new class instance

create_sub_element()

Create a new finite element for sub element i (for a mixed element)

evaluate_basis()

Evaluate basis function i at given point in cell

evaluate_basis_all()

Evaluate all basis functions at given point in cell

evaluate_basis_derivatives()

Evaluate order n derivatives of basis function i at given point in cell

evaluate_basis_derivatives_all()

Evaluate order n derivatives of all basis functions at given point in cell

evaluate_dof()

Evaluate linear functional for dof i on the function f

evaluate_dofs()

Evaluate linear functionals for all dofs on the function f

extract_sub_element()

Extract sub finite element for component

geometric_dimension()
hash()

Return simple hash of the signature string

interpolate_vertex_values()

Interpolate vertex values from dof values

map_from_reference_cell()

Map coordinate xhat from reference cell to coordinate x in cell

map_to_reference_cell()

Map from coordinate x in cell to coordinate xhat in reference cell

num_sub_elements()

Return the number of sub elements (for a mixed element)

signature()

Return a string identifying the finite element

space_dimension()

Return the dimension of the finite element function space

thisown

The membership flag

topological_dimension()
ufc_element()

Return underlying UFC element. Intended for libray usage only and may change.

value_dimension()

Return the dimension of the value space for axis i

value_rank()

Return the rank of the value space