MultiMeshForm¶
-
class
dolfin.cpp.fem.MultiMeshForm(*args)¶ Bases:
objectThis class represents a variational form on a cut and composite finite element function space (MultiMesh) defined on one or more possibly intersecting meshes.
Overloaded versions
MultiMeshForm(multimesh)
Create empty multimesh functional
MultiMeshForm(function_space)
Create empty linear multimesh variational form
MultiMeshForm(function_space_0, function_space_1)
Create empty bilinear multimesh variational form
-
build()¶ Build MultiMesh form
-
clear()¶ Clear MultiMesh form
-
function_space()¶ Return function space for given argument
- Arguments
- i (int)
- Index
- Returns
MultiMeshFunctionSpace- Function space shared pointer.
-
multimesh()¶ Extract common multimesh from form
- Returns
MultiMesh- The mesh.
-
num_parts()¶ Return the number of forms (parts) of the MultiMesh form
- Returns
- int
- The number of forms (parts) of the MultiMesh form.
-
rank()¶ Return rank of form (bilinear form = 2, linear form = 1, functional = 0, etc)
- Returns
- int
- The rank of the form.
-
thisown¶ The membership flag