Definition at line 60 of file meshPartitioner.H.
◆ meshPartition()
meshPartition::meshPartition |
( |
int |
pidx, |
|
|
const std::vector< int > & |
glbElmPartedIdx, |
|
|
const std::vector< int > & |
glbElmConn, |
|
|
MeshType_t |
inMshType |
|
) |
| |
Definition at line 42 of file meshPartitioner.C.
References elmIdxGlobToPart, elmIdxPartToGlob, globElmIdx, globNdeIdx, MESH_TETRA_4, MESH_TRI_3, mshType, ndeIdxGlobToPart, ndeIdxPartToGlob, nElm, nNde, nNdeElm, partElmConn, and pIdx.
Referenced by meshPartitioner::buildPartitions().
57 for (
int ie : glbElmPartedIdx)
67 for (
int iNde = 0; iNde <
nNdeElm; iNde++)
69 int glbNdeIdx = glbElmConn[(glbElmIdx - 1) * nNdeElm + iNde];
86 partNdeIdx = it->second;
std::vector< int > globNdeIdx
std::map< int, int > ndeIdxPartToGlob
std::map< int, int > ndeIdxGlobToPart
std::vector< int > globElmIdx
std::map< int, int > elmIdxGlobToPart
std::vector< int > partElmConn
std::map< int, int > elmIdxPartToGlob
◆ ~meshPartition()
meshPartition::~meshPartition |
( |
| ) |
|
|
default |
◆ getConns()
std::vector<int> meshPartition::getConns |
( |
| ) |
const |
|
inline |
◆ getCrds()
std::vector< double > meshPartition::getCrds |
( |
const std::vector< double > & |
crds | ) |
const |
Definition at line 111 of file meshPartitioner.C.
References globNdeIdx.
113 std::vector<double> x;
115 x.push_back(crds[in - 1]);
std::vector< int > globNdeIdx
◆ getElmSlns()
std::vector< double > meshPartition::getElmSlns |
( |
const std::vector< double > & |
slns | ) |
const |
Definition at line 120 of file meshPartitioner.C.
References globElmIdx.
122 std::vector<double> x;
124 x.push_back(slns[ie - 1]);
std::vector< int > globElmIdx
◆ getElmSlnsVec()
std::vector< double > meshPartition::getElmSlnsVec |
( |
const std::vector< double > & |
slns, |
|
|
int |
nComp |
|
) |
| const |
Definition at line 130 of file meshPartitioner.C.
References globElmIdx.
132 std::vector<double> x;
134 for (
int iComp = 0; iComp < nComp; iComp++)
135 x.push_back(slns[(ie - 1) * nComp + iComp]);
std::vector< int > globElmIdx
◆ getPartToGlobElmMap()
std::map<int, int> meshPartition::getPartToGlobElmMap |
( |
| ) |
const |
|
inline |
◆ getPartToGlobNodeMap()
std::map<int, int> meshPartition::getPartToGlobNodeMap |
( |
| ) |
const |
|
inline |
◆ elmIdxGlobToPart
std::map<int, int> meshPartition::elmIdxGlobToPart |
|
private |
◆ elmIdxPartToGlob
std::map<int, int> meshPartition::elmIdxPartToGlob |
|
private |
◆ globElmIdx
std::vector<int> meshPartition::globElmIdx |
|
private |
◆ globNdeIdx
std::vector<int> meshPartition::globNdeIdx |
|
private |
◆ mshType
◆ ndeIdxGlobToPart
std::map<int, int> meshPartition::ndeIdxGlobToPart |
|
private |
◆ ndeIdxPartToGlob
std::map<int, int> meshPartition::ndeIdxPartToGlob |
|
private |
◆ nElm
◆ nNde
◆ nNdeElm
int meshPartition::nNdeElm |
|
private |
◆ partElmConn
std::vector<int> meshPartition::partElmConn |
|
private |
◆ pIdx
The documentation for this class was generated from the following files: