#include <dofcomposite.hpp>
Compositing of degree of freedom table.
Public Member Functions | |
Constructors, destructor | |
DofComposite (WorldComm const &_worldComm=Environment::worldComm()) | |
DofComposite (size_type n, size_type n_local, WorldComm const &_worldComm=Environment::worldComm()) | |
DofComposite (DofComposite const &dc) | |
~DofComposite () | |
Methods | |
std::pair< std::map< size_type, size_type >, std::map < size_type, size_type > > | pointIdToDofRelation (std::string fname="") const |
![]() | |
DataMap (WorldComm const &_worldComm=Environment::worldComm()) | |
DataMap (size_type n, size_type n_local, WorldComm const &_worldComm=Environment::worldComm()) | |
DataMap (size_type n, std::vector< int > const &firstdof, std::vector< int > const &lastdof) | |
DataMap (DataMap const &dm) | |
virtual | ~DataMap () |
DataMap & | operator= (DataMap const &dm) |
size_type | nDof () const |
size_type | nLocalDof () const |
size_type | nLocalDofWithoutGhost () const |
size_type | nLocalDofWithoutGhost (const int proc) const |
size_type | nLocalDofWithGhost () const |
size_type | nLocalDofWithGhost (const int proc) const |
size_type | nMyDof () const |
size_type | nDofOnProcessor (const size_type proc) const |
size_type | nProcessors () const |
size_type | firstDof () const |
size_type | firstDof (const size_type proc) const |
size_type | firstDofGlobalCluster () const |
size_type | firstDofGlobalCluster (uint16_type proc) const |
std::vector< size_type > const & | firstDofGlobalClusterWorld () const |
size_type | lastDof () const |
size_type | lastDof (const unsigned int proc) const |
size_type | lastDofGlobalCluster () const |
size_type | lastDofGlobalCluster (uint16_type proc) const |
std::vector< size_type > const & | lastDofGlobalClusterWorld () const |
uint16_type | procOnGlobalCluster (size_type globDof) const |
bool | dofGlobalClusterIsOnProc (size_type globDof) const |
bool | dofGlobalClusterIsOnProc (size_type globDof, int proc) const |
bool | dofGlobalProcessIsGhost (size_type dof) const |
boost::tuple< bool, size_type > | searchGlobalProcessDof (size_type gpdof) const |
size_type | lid (size_type GID) const |
Returns local ID of global ID, return invalid_size_type_value if not found on this processor. | |
size_type | gid (size_type LID) const |
Returns global ID of local ID, return -1 if not found on this processor. | |
bool | myGID (size_type GID) const |
Returns true if the GID passed in belongs to the calling processor in this map, otherwise returns false. | |
bool | myLID (size_type LID) const |
Returns true if the LID passed in belongs to the calling processor in this map, otherwise returns false. | |
size_type | minAllGID () const |
Returns the minimum global ID across the entire map. | |
size_type | maxAllGID () const |
Returns the maximum global ID across the entire map. | |
size_type | minMyGID () const |
Returns the maximum global ID owned by this processor. | |
size_type | maxMyGID () const |
Returns the maximum global ID owned by this processor. | |
size_type | minLID () const |
The minimum local index value on the calling processor. | |
size_type | maxLID () const |
The maximum local index value on the calling processor. | |
size_type | nGlobalElements () const |
number of elements across all processors. | |
size_type | nMyElements () const |
number of elements on the calling processor. | |
std::vector< size_type > const & | myGlobalElements () const |
Puts list of global elements on this processor size_typeo the user-provided array. | |
std::vector< size_type > const & | mapGlobalProcessToGlobalCluster () const |
std::vector< size_type > const & | mapGlobalClusterToGlobalProcess () const |
size_type | mapGlobalProcessToGlobalCluster (size_type i) const |
size_type | mapGlobalClusterToGlobalProcess (size_type i) const |
void | setNDof (size_type ndof) |
void | setNLocalDofWithoutGhost (const size_type proc, const size_type n, bool inWorld=true) |
void | setNLocalDofWithGhost (const size_type proc, const size_type n, bool inWorld=true) |
void | setFirstDof (const size_type proc, const size_type df, bool inWorld=true) |
void | setLastDof (const size_type proc, const size_type df, bool inWorld=true) |
void | setFirstDofGlobalCluster (const size_type proc, const size_type df, bool inWorld=true) |
void | setLastDofGlobalCluster (const size_type proc, const size_type df, bool inWorld=true) |
void | setMapGlobalProcessToGlobalCluster (std::vector< size_type > const &map) |
void | setMapGlobalClusterToGlobalProcess (std::vector< size_type > const &map) |
void | setMapGlobalProcessToGlobalCluster (size_type i, size_type j) |
void | setMapGlobalClusterToGlobalProcess (size_type i, size_type j) |
void | resizeMapGlobalProcessToGlobalCluster (size_type n) |
void | resizeMapGlobalClusterToGlobalProcess (size_type n) |
void | updateDataInWorld () |
bool | closed () const |
void | showMeMapGlobalProcessToGlobalCluster (std::ostream &__out=std::cout) const |
WorldComm const & | worldComm () const |
WorldComm const & | comm () const |
void | close () const |
Additional Inherited Members | |
![]() | |
bool | M_closed |
std::vector< size_type > | M_first_df |
std::vector< size_type > | M_first_df_globalcluster |
std::vector< size_type > | M_last_df |
std::vector< size_type > | M_last_df_globalcluster |
std::vector< size_type > | M_mapGlobalClusterToGlobalProcess |
std::vector< size_type > | M_mapGlobalProcessToGlobalCluster |
std::vector< size_type > | M_myglobalelements |
size_type | M_n_dofs |
std::vector< size_type > | M_n_localWithGhost_df |
std::vector< size_type > | M_n_localWithoutGhost_df |
WorldComm | M_worldComm |