dolfin.legacy

Interfaces for compatibility with the legacy DOLFIN interface

Functions

FunctionSpace(mesh, element[, degree])

Create a FunctionSpace from a mesh and an element

TensorFunctionSpace(mesh, family, degree[, …])

Create tensor finite element function space.

VectorFunctionSpace(mesh, family, degree[, …])

Create vector finite element function space.

dolfin.legacy.FunctionSpace(mesh: dolfin.cpp.mesh.Mesh, element, degree=None)[source]

Create a FunctionSpace from a mesh and an element

dolfin.legacy.TensorFunctionSpace(mesh: dolfin.cpp.mesh.Mesh, family: str, degree: int, shape=None, symmetry=None, restriction=None)[source]

Create tensor finite element function space.

dolfin.legacy.VectorFunctionSpace(mesh: dolfin.cpp.mesh.Mesh, family: str, degree: int, dim=None, form_degree=None, restriction=None)[source]

Create vector finite element function space.