MultiMeshDofMap.h¶
Note
The documentation on this page was automatically extracted from the DOLFIN C++ code and may need to be edited or expanded.
-
class
MultiMeshDofMap
¶ This class handles the mapping of degrees of freedom for MultiMesh function spaces.
-
MultiMeshDofMap
()¶ Constructor
-
std::size_t
num_parts
() const¶ Return the number dofmaps (parts) of the MultiMesh dofmap
- Returns
- std::size_t
- The number of dofmaps (parts) of the MultiMesh dofmap
-
std::shared_ptr<const GenericDofMap>
part
(std::size_t i) const¶ Return dofmap (part) number i
- Returns
GenericDofMap
- Dofmap (part) number i
Add dofmap (shared pointer version)
- Arguments
- dofmap (
GenericDofMap
) - The dofmap.
- dofmap (
-
void
add
(const GenericDofMap &dofmap)¶ Add dofmap (reference version)
- Arguments
- dofmap (
DofMap
) - The dofmap.
- dofmap (
-
void
build
(const MultiMeshFunctionSpace &function_space, const std::vector<dolfin::la_index> &offsets)¶ Build MultiMesh dofmap
-
void
clear
()¶ Clear MultiMesh dofmap
-
std::size_t
global_dimension
() const¶ Return the dimension of the global finite element function space
-
std::pair<std::size_t, std::size_t>
ownership_range
() const¶ Return the ownership range (dofs in this range are owned by this process)
-
const std::vector<int> &
off_process_owner
() const¶ Return map from nonlocal-dofs (that appear in local dof map) to owning process
-
std::string
str
(bool verbose) const¶ Return informal string representation (pretty-print)
-