MultiMeshFunctionSpace

dolfin.functions.functionspace.MultiMeshFunctionSpace(multimesh, family, degree=None)

Create multimesh finite element function space.

Arguments
multimesh
a MultiMesh.
family

a string specifying the element family, see FunctionSpace for alternatives.

This argument may also be a FiniteElement, in which case the degree argument should not be specified.

degree
the degree of the element.

Example of usage

V = MultiMeshFunctionSpace(mesh, "CG", 1)

element = FiniteElement("Lagrange", triangle, 1)
V = MultiMeshFunctionSpace(mesh, element)

Note: Multimesh function spaces does currently not support function space algebra. For this reason, mixed function spaces and the like must be created via a finite element.