MultiMeshForm.h¶
Note
The documentation on this page was automatically extracted from the DOLFIN C++ code and may need to be edited or expanded.
-
class
MultiMeshForm
¶ This class represents a variational form on a cut and composite finite element function space (MultiMesh) defined on one or more possibly intersecting meshes.
Create empty multimesh functional
Create empty linear multimesh variational form
Create empty bilinear multimesh variational form
-
std::size_t
rank
() const¶ Return rank of form (bilinear form = 2, linear form = 1, functional = 0, etc)
- @return std::size_t
- The rank of the form.
-
std::size_t
num_parts
() const¶ Return the number of forms (parts) of the MultiMesh form
- @return std::size_t
- The number of forms (parts) of the MultiMesh form.
-
std::shared_ptr<const MultiMesh>
multimesh
() const¶ Extract common multimesh from form
- @return
MultiMesh
- The mesh.
- @return
-
std::shared_ptr<const Form>
part
(std::size_t i) const¶ Return form (part) number i
- @return
Form
- Form (part) number i.
- @return
-
std::shared_ptr<const MultiMeshFunctionSpace>
function_space
(std::size_t i) const¶ Return function space for given argument
- @param i (std::size_t)
- Index
- @return
MultiMeshFunctionSpace
- Function space shared pointer.
Add form (shared pointer version)
- @param form (
Form
) - The form.
- @param form (
-
void
build
()¶ Build MultiMesh form
-
void
clear
()¶ Clear MultiMesh form
Set MultiMeshCoeeficient
-
std::map<std::size_t, std::shared_ptr<const MultiMeshFunction>>
multimesh_coefficients
() const¶ Get all MultiMesh Coefficients
-
std::shared_ptr<const MultiMeshFunction>
multimesh_coefficient
(std::size_t i) const¶ Get one multimesh coefficient
-
std::vector<std::size_t>
multimesh_coefficient_keys
() const¶ Get multimesh coefficient keys