MultiMeshDofMap¶
-
class
dolfin.cpp.fem.MultiMeshDofMap(*args)¶ Bases:
objectThis class handles the mapping of degrees of freedom for
MultiMeshfunction spaces.Copy constructor.
Parameters: MultiMeshDofMap & dofmap (const) – -
add()¶ Add dofmap Arguments dofmap (
GenericDofMap) The dofmap.Parameters: const GenericDofMap > dofmap (std::shared_ptr<) – Return type: void
-
build()¶ Build
MultiMeshdofmap.Parameters: - MultiMeshFunctionSpace & function_space (const) –
- std::vector< dolfin::la_index > & offsets (const) –
Return type: void
-
clear()¶ Clear
MultiMeshdofmap.Return type: void
-
global_dimension()¶ Return the dimension of the global finite element function space
Return type: std::size_t
-
inactive_dofs()¶ Return inactive dofs.
Parameters: - MultiMesh & multimesh (const) –
- part_id (std::size_t) –
Return type: std::vector< dolfin::la_index >
-
index_map()¶ Return the map.
Return type: std::shared_ptr< IndexMap >
-
num_parts()¶ Return the number dofmaps (parts) of the
MultiMeshdofmap Returns std::size_t The number of dofmaps (parts) of theMultiMeshdofmapReturn type: std::size_t
-
off_process_owner()¶ Return map from nonlocal-dofs (that appear in local dof map) to owning process
Return type: const std::vector< int > &
-
ownership_range()¶ Return the ownership range (dofs in this range are owned by this process)
Return type: std::pair< std::size_t, std::size_t >
-
part()¶ Return dofmap (part) number i Returns:cpp:any:GenericDofMap Dofmap (part) number i
Parameters: i (std::size_t) – Return type: std::shared_ptr< const GenericDofMap >
-
str()¶ Return informal string representation (pretty-print)
Parameters: verbose (bool) – Return type: std::string
-
thisown¶ The membership flag
-