MultiMeshFunction¶
-
class
dolfin.cpp.function.MultiMeshFunction(*args)¶ Bases:
dolfin.cpp.common.VariableThis class represents a function on a cut and composite finite element function space (MultiMesh) defined on one or more possibly intersecting meshes.
Overloaded versions
MultiMeshFunction()
Constructor
MultiMeshFunction(V)
Create MultiMesh function on given MultiMesh function space
- Arguments
- V (
MultiMeshFunctionSpace) The MultiMesh function space.
- V (
MultiMeshFunction(V, 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.
- V (
-
copy(deepcopy=False)¶ Return a copy of itself
- Arguments
- deepcopy (bool)
- If false (default) the dof vector is shared.
- Returns
- _MultiMeshFunction_
- The MultiMeshFunction
-
function_space()¶ Return shared pointer to multi mesh function space
- Returns
MultiMeshFunctionSpace- Return the shared pointer.
-
thisown¶ The membership flag
-
vector()¶ Overloaded versions
vector()
Return vector of expansion coefficients (non-const version)
- Returns
GenericVectorThe vector of expansion coefficients.
vector()
Return vector of expansion coefficients (const version)
- Returns
GenericVectorThe vector of expansion coefficients (const).