MultiMeshFunction.h

Note

The documentation on this page was automatically extracted from the DOLFIN C++ code and may need to be edited or expanded.

class MultiMeshFunction

Parent class(es)

This class represents a function on a cut and composite finite element function space (MultiMesh) defined on one or more possibly intersecting meshes.

MultiMeshFunction()

Constructor

explicit MultiMeshFunction(std::shared_ptr<const MultiMeshFunctionSpace> V)

Create MultiMesh function on given MultiMesh function space

Arguments
V (MultiMeshFunctionSpace)
The MultiMesh function space.
MultiMeshFunction(std::shared_ptr<const MultiMeshFunctionSpace> V, std::shared_ptr<GenericVector> x)

Create MultiMesh function on given MultiMesh function space with a given vector (shared data)

Warning: This constructor is intended for internal library use only

Arguments
V (MultiMeshFunctionSpace)
The multimesh function space.
x (GenericVector)
The vector.
std::shared_ptr<const Function> part(std::size_t i) const

Return function (part) number i

Returns
Function
Function (part) number i
std::shared_ptr<GenericVector> vector()

Return vector of expansion coefficients (non-const version)

Returns
GenericVector
The vector of expansion coefficients.
std::shared_ptr<const GenericVector> vector() const

Return vector of expansion coefficients (const version)

Returns
GenericVector
The vector of expansion coefficients (const).
std::shared_ptr<const MultiMeshFunctionSpace> function_space() const

Return shared pointer to multi mesh function space

Returns
MultiMeshFunctionSpace
Return the shared pointer.