DofMap¶
-
class
dolfin.cpp.fem.
DofMap
(*args)¶ Bases:
dolfin.cpp.fem.GenericDofMap
This class handles the mapping of degrees of freedom. It builds a dof map based on a ufc::dofmap on a specific mesh. It will reorder the dofs when running in parallel. Sub-dofmaps, both views and copies, are supported.
Overloaded versions
DofMap(ufc_dofmap, mesh)
Create dof map on mesh (mesh is not stored)
- Arguments
- ufc_dofmap (ufc::dofmap)
The ufc::dofmap.
- mesh (
Mesh
) The mesh.
DofMap(ufc_dofmap, mesh, constrained_domain)
Create a periodic dof map on mesh (mesh is not stored)
- Arguments
- ufc_dofmap (ufc::dofmap)
The ufc::dofmap.
- mesh (
Mesh
) The mesh.
- constrained_boundary (
SubDomain
) The subdomain marking the constrained (tied) boundaries.
-
dofs
()¶ Return list of dof indices on this process that belong to mesh entities of dimension dim
-
thisown
¶ The membership flag