MultiMeshForm

class dolfin.cpp.fem.MultiMeshForm(*args)

Bases: object

This 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 (shared pointer version)

  • MultiMeshForm(multimesh)

    Create empty multimesh functional (reference version)

  • MultiMeshForm(function_space)

    Create empty linear multimesh variational form (shared pointer version)

  • MultiMeshForm(function_space)

    Create empty linear multimesh variational form (reference version)

  • MultiMeshForm(function_space_0, function_space_1)

    Create empty bilinear multimesh variational form (shared pointer version)

  • MultiMeshForm(function_space_0, function_space_1)

    Create empty bilinear multimesh variational form (reference version)

add()

Overloaded versions

  • add(form)

    Add form (shared pointer version)

    Arguments
    form (Form)

    The form.

  • add(form)

    Add form (reference version)

    Arguments
    form (Form)

    The 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.
part()

Return form (part) number i

Returns
Form
Form (part) number i.
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