Class containing mesh-to-mesh mapping information after a mesh distribution where we send parts of meshes (using subsetting) to other processors and receive and reconstruct mesh. More...
Public Member Functions | |
| polyDistributionMap (const polyMesh &mesh, const label nOldPoints, const label nOldFaces, const label nOldCells, labelList &&oldPatchStarts, labelList &&oldPatchNMeshPoints, labelListList &&subPointMap, labelListList &&subFaceMap, labelListList &&subCellMap, labelListList &&subPatchMap, labelListList &&constructPointMap, labelListList &&constructFaceMap, labelListList &&constructCellMap, labelListList &&constructPatchMap, const bool subFaceHasFlip=false, const bool constructFaceHasFlip=false) | |
| Move constructor from components. More... | |
| polyDistributionMap (const polyDistributionMap &)=delete | |
| Disallow default bitwise copy construction. More... | |
| const polyMesh & | mesh () const |
| Return polyMesh. More... | |
| label | nOldPoints () const |
| Number of points in mesh before distribution. More... | |
| label | nOldFaces () const |
| Number of faces in mesh before distribution. More... | |
| label | nOldCells () const |
| Number of cells in mesh before distribution. More... | |
| const labelList & | oldPatchSizes () const |
| List of the old patch sizes. More... | |
| const labelList & | oldPatchStarts () const |
| List of the old patch start labels. More... | |
| const labelList & | oldPatchNMeshPoints () const |
| List of numbers of mesh points per old patch. More... | |
| const distributionMap & | pointMap () const |
| Point distribute map. More... | |
| const distributionMap & | faceMap () const |
| Face distribute map. More... | |
| const distributionMap & | cellMap () const |
| Cell distribute map. More... | |
| const distributionMap & | patchMap () const |
| Patch distribute map. More... | |
| template<class T > | |
| void | distributePointData (List< T > &lst) const |
| Distribute list of point data. More... | |
| template<class T > | |
| void | distributeFaceData (List< T > &lst) const |
| Distribute list of face data. More... | |
| template<class T > | |
| void | distributeCellData (List< T > &lst) const |
| Distribute list of cell data. More... | |
| template<class T > | |
| void | distributePatchData (List< T > &lst) const |
| Distribute list of patch data. More... | |
| void | distributePointIndices (labelList &pointIDs) const |
| Distribute list of point indices. More... | |
| void | distributeFaceIndices (labelList &faceIDs) const |
| Distribute list of face indices. More... | |
| void | distributeCellIndices (labelList &cellIDs) const |
| Distribute list of cell indices. More... | |
| void | distributePatchIndices (labelList &patchIDs) const |
| Distribute list of patch indices. More... | |
| void | operator= (const polyDistributionMap &)=delete |
| Disallow default bitwise assignment. More... | |
Class containing mesh-to-mesh mapping information after a mesh distribution where we send parts of meshes (using subsetting) to other processors and receive and reconstruct mesh.
We store mapping from the bits-to-send to the complete starting mesh (subXXXMap) and from the received bits to their location in the new mesh (constructXXXMap).
Definition at line 64 of file polyDistributionMap.H.
| polyDistributionMap | ( | const polyMesh & | mesh, |
| const label | nOldPoints, | ||
| const label | nOldFaces, | ||
| const label | nOldCells, | ||
| labelList && | oldPatchStarts, | ||
| labelList && | oldPatchNMeshPoints, | ||
| labelListList && | subPointMap, | ||
| labelListList && | subFaceMap, | ||
| labelListList && | subCellMap, | ||
| labelListList && | subPatchMap, | ||
| labelListList && | constructPointMap, | ||
| labelListList && | constructFaceMap, | ||
| labelListList && | constructCellMap, | ||
| labelListList && | constructPatchMap, | ||
| const bool | subFaceHasFlip = false, |
||
| const bool | constructFaceHasFlip = false |
||
| ) |
Move constructor from components.
Note that mesh has to be changed already since uses mesh.nPoints etc as the new size.
Definition at line 62 of file polyDistributionMap.C.
|
delete |
Disallow default bitwise copy construction.
|
inline |
Return polyMesh.
Definition at line 151 of file polyDistributionMap.H.
Referenced by populationBalanceSizeDistribution::distribute(), cutLayerAverage::distribute(), surfaceFieldValue::distribute(), volFieldValue::distribute(), layerAverage::distribute(), patchCutLayerAverage::distribute(), streamlines::distribute(), sampledSets::distribute(), sampledSurfaces::distribute(), reactionRates::distribute(), specieReactionRates::distribute(), cellEdgeAddressingList::distribute(), and cpuLoad::distribute().

|
inline |
Number of points in mesh before distribution.
Definition at line 157 of file polyDistributionMap.H.
|
inline |
Number of faces in mesh before distribution.
Definition at line 163 of file polyDistributionMap.H.
|
inline |
Number of cells in mesh before distribution.
Definition at line 169 of file polyDistributionMap.H.
Referenced by Cloud< ParticleType >::distribute().

|
inline |
List of the old patch sizes.
Definition at line 175 of file polyDistributionMap.H.
|
inline |
List of the old patch start labels.
Definition at line 181 of file polyDistributionMap.H.
|
inline |
List of numbers of mesh points per old patch.
Definition at line 187 of file polyDistributionMap.H.
|
inline |
Point distribute map.
Definition at line 193 of file polyDistributionMap.H.
Referenced by hexRef8Data::distribute().

|
inline |
Face distribute map.
Definition at line 199 of file polyDistributionMap.H.
|
inline |
Cell distribute map.
Definition at line 205 of file polyDistributionMap.H.
Referenced by Cloud< ParticleType >::distribute(), hexRef8Data::distribute(), and refinementHistory::distribute().

|
inline |
Patch distribute map.
Definition at line 211 of file polyDistributionMap.H.
Distribute list of point data.
Definition at line 221 of file polyDistributionMap.H.
References distributionMap::distribute().
Referenced by points0MotionSolver::distribute(), and hexRef8::distribute().


Distribute list of face data.
Definition at line 228 of file polyDistributionMap.H.
References distributionMap::distribute().
Referenced by meshRefinement::distribute().


Distribute list of cell data.
Definition at line 235 of file polyDistributionMap.H.
References distributionMap::distribute().
Referenced by hexRef8::distribute().


Distribute list of patch data.
Definition at line 242 of file polyDistributionMap.H.
References distributionMap::distribute().

| void distributePointIndices | ( | labelList & | pointIDs | ) | const |
Distribute list of point indices.
(Converts to boolList, distributes boolList and reconstructs)
Definition at line 119 of file polyDistributionMap.C.
References Foam::findIndices().

| void distributeFaceIndices | ( | labelList & | faceIDs | ) | const |
Distribute list of face indices.
(Converts to boolList, distributes boolList and reconstructs)
Definition at line 141 of file polyDistributionMap.C.
References Foam::findIndices().

| void distributeCellIndices | ( | labelList & | cellIDs | ) | const |
Distribute list of cell indices.
(Converts to boolList, distributes boolList and reconstructs)
Definition at line 163 of file polyDistributionMap.C.
References Foam::findIndices().

| void distributePatchIndices | ( | labelList & | patchIDs | ) | const |
Distribute list of patch indices.
(Converts to boolList, distributes boolList and reconstructs)
Definition at line 185 of file polyDistributionMap.C.
References Foam::findIndices().

|
delete |
Disallow default bitwise assignment.