Definition at line 96 of file meshPartitioner.H.
Public Member Functions | |
meshPartitioner (int nNde, int nElm, const std::vector< int > &elemConn, MeshType_t meshType) | |
meshPartitioner (const meshBase *inMB) | |
~meshPartitioner () | |
void | setNPartition (int nPartition) |
int | getNPartition () const |
int | partition (int nPartition) |
int | partition () |
std::vector< double > | getPartedNde () const |
std::vector< double > | getPartedElm () const |
void | setPartedElm (const std::vector< double > &prtElm) |
std::vector< double > | getCrds (int iPart, const std::vector< double > &crds) const |
std::vector< int > | getConns (int iPart) const |
int | getNNdePart (int iPart) const |
int | getNElmPart (int iPart) const |
std::map< int, int > | getPartToGlobNodeMap (int iPart) const |
std::map< int, int > | getPartToGlobElmMap (int iPart) const |
std::vector< double > | getNdeSlnScalar (int iPart, const std::vector< double > &slns) const |
std::vector< double > | getElmSlnScalar (int iPart, const std::vector< double > &slns) const |
std::vector< double > | getElmSlnVec (int iPart, const std::vector< double > &slns, int nComp) const |
Private Member Functions | |
void | buildPartitions () |
Private Attributes | |
int | nNde |
int | nElm |
int | nPart |
std::vector< int > | elmConnVec |
std::vector< int > | elmConn |
MeshType_t | meshType |
std::vector< int > | epart |
std::vector< int > | npart |
std::vector< meshPartition * > | meshParts |
|
inline |
|
explicit |
Definition at line 169 of file meshPartitioner.C.
References meshBase::getConnectivities(), meshBase::getDataSet(), meshBase::getNumberOfCells(), meshBase::getNumberOfPoints(), MESH_TETRA_4, MESH_TRI_3, meshPartitioner(), meshPartition::nElm, NEM::MSH::New(), and meshPartition::nNde.
|
inline |
Definition at line 121 of file meshPartitioner.H.
|
private |
Definition at line 424 of file meshPartitioner.C.
References meshPartition::meshPartition().
|
inline |
Definition at line 142 of file meshPartitioner.H.
|
inline |
Definition at line 139 of file meshPartitioner.H.
|
inline |
Definition at line 158 of file meshPartitioner.H.
|
inline |
Definition at line 161 of file meshPartitioner.H.
|
inline |
Definition at line 154 of file meshPartitioner.H.
|
inline |
Definition at line 145 of file meshPartitioner.H.
|
inline |
Definition at line 144 of file meshPartitioner.H.
|
inline |
Definition at line 130 of file meshPartitioner.H.
std::vector< double > meshPartitioner::getPartedElm | ( | ) | const |
Definition at line 406 of file meshPartitioner.C.
std::vector< double > meshPartitioner::getPartedNde | ( | ) | const |
Definition at line 400 of file meshPartitioner.C.
std::map< int, int > meshPartitioner::getPartToGlobElmMap | ( | int | iPart | ) | const |
Definition at line 445 of file meshPartitioner.C.
std::map< int, int > meshPartitioner::getPartToGlobNodeMap | ( | int | iPart | ) | const |
Definition at line 434 of file meshPartitioner.C.
int meshPartitioner::partition | ( | int | nPartition | ) |
Definition at line 270 of file meshPartitioner.C.
int meshPartitioner::partition | ( | ) |
Definition at line 276 of file meshPartitioner.C.
References MESH_TETRA_4, MESH_TRI_3, meshPartition::nElm, and meshPartition::nNde.
|
inline |
Definition at line 129 of file meshPartitioner.H.
void meshPartitioner::setPartedElm | ( | const std::vector< double > & | prtElm | ) |
Definition at line 413 of file meshPartitioner.C.
|
private |
Definition at line 174 of file meshPartitioner.H.
|
private |
Definition at line 173 of file meshPartitioner.H.
|
private |
Definition at line 180 of file meshPartitioner.H.
|
private |
Definition at line 183 of file meshPartitioner.H.
|
private |
Definition at line 175 of file meshPartitioner.H.
|
private |
Definition at line 171 of file meshPartitioner.H.
|
private |
Definition at line 170 of file meshPartitioner.H.
|
private |
Definition at line 172 of file meshPartitioner.H.
|
private |
Definition at line 181 of file meshPartitioner.H.