Assembler¶
-
class
dolfin.cpp.fem.
Assembler
¶ Bases:
dolfin.cpp.fem.AssemblerBase
This class provides automated assembly of linear systems, or more generally, assembly of a sparse tensor from a given variational form.
Subdomains for cells and facets may be specified by assigning subdomain indicators specified by
MeshFunction
to theForm
being assembled:form.dx = cell_domains form.ds = exterior_facet_domains form.dS = interior_facet_domains
Constructor
-
assemble
()¶ Assemble tensor from given form
- Arguments
- A (
GenericTensor
) - The tensor to assemble.
- a (
Form
) - The form to assemble the tensor from.
- A (
-
assemble_cells
()¶ Assemble tensor from given form over cells. This function is provided for users who wish to build a customized assembler.
-
assemble_exterior_facets
()¶ Assemble tensor from given form over exterior facets. This function is provided for users who wish to build a customized assembler.
-
assemble_interior_facets
()¶ Assemble tensor from given form over interior facets. This function is provided for users who wish to build a customized assembler.
-
assemble_vertices
()¶ Assemble tensor from given form over vertices. This function is provided for users who wish to build a customized assembler.
-
thisown
¶ The membership flag
-