DOLFIN
DOLFIN C++ interface
|
#include <MultiMeshDofMap.h>
Public Member Functions | |
MultiMeshDofMap () | |
Constructor. | |
MultiMeshDofMap (const MultiMeshDofMap &dofmap) | |
Copy constructor. | |
~MultiMeshDofMap () | |
Destructor. | |
std::size_t | num_parts () const |
std::shared_ptr< const GenericDofMap > | part (std::size_t i) const |
void | add (std::shared_ptr< const GenericDofMap > 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 |
std::pair< std::size_t, std::size_t > | ownership_range () const |
const std::vector< int > & | off_process_owner () const |
std::shared_ptr< IndexMap > | index_map () const |
Return the map. | |
std::string | str (bool verbose) const |
Return informal string representation (pretty-print) | |
std::vector< dolfin::la_index > | inactive_dofs (const MultiMesh &multimesh, std::size_t part_id) const |
Return inactive dofs. | |
This class handles the mapping of degrees of freedom for MultiMesh function spaces.
void MultiMeshDofMap::add | ( | std::shared_ptr< const GenericDofMap > | dofmap | ) |
Add dofmap
Arguments dofmap (GenericDofMap) The dofmap.
std::size_t MultiMeshDofMap::global_dimension | ( | ) | const |
Return the dimension of the global finite element function space
std::size_t MultiMeshDofMap::num_parts | ( | ) | const |
const std::vector< int > & MultiMeshDofMap::off_process_owner | ( | ) | const |
Return map from nonlocal-dofs (that appear in local dof map) to owning process
std::pair< std::size_t, std::size_t > MultiMeshDofMap::ownership_range | ( | ) | const |
Return the ownership range (dofs in this range are owned by this process)
std::shared_ptr< const GenericDofMap > MultiMeshDofMap::part | ( | std::size_t | i | ) | const |
Return dofmap (part) number i
Returns GenericDofMap Dofmap (part) number i