Various mesh related information for a parallel run. Upon construction, constructs all info using parallel communication. More...
Public Member Functions | |
globalMeshData (const globalMeshData &)=delete | |
No copy construct. More... | |
void | operator= (const globalMeshData &)=delete |
No copy assignment. More... | |
ClassName ("globalMeshData") | |
Runtime type information. More... | |
globalMeshData (const polyMesh &mesh) | |
Construct from mesh, derive rest (does parallel communication!) More... | |
~globalMeshData () | |
Destructor. More... | |
void | clearOut () |
Remove all demand driven data. More... | |
const polyMesh & | mesh () const noexcept |
Return the mesh reference. More... | |
bool | parallel () const noexcept |
Does the mesh contain processor patches? (also valid when not running parallel) More... | |
const globalIndex & | globalMeshPointAddr () const noexcept |
Global numbering for mesh points. Not compensated for duplicate points! More... | |
const globalIndex & | globalMeshFaceAddr () const noexcept |
Global numbering for mesh faces. Not compensated for duplicate faces! More... | |
const globalIndex & | globalMeshCellAddr () const noexcept |
Global numbering for mesh cells. More... | |
label | nTotalPoints () const noexcept |
Total global number of mesh points. Not compensated for duplicate points! More... | |
label | nTotalFaces () const noexcept |
Total global number of mesh faces. Not compensated for duplicate faces! More... | |
label | nTotalCells () const noexcept |
Total global number of mesh cells. More... | |
const processorTopology & | topology () const noexcept |
The processor to processor topology. More... | |
const lduSchedule & | patchSchedule () const noexcept |
Order in which the patches should be initialised/evaluated corresponding to the schedule. More... | |
const labelList & | processorPatches () const noexcept |
Return list of processor patch labels. More... | |
const labelList & | processorPatchIndices () const noexcept |
Return list of indices into processorPatches_ for each patch. More... | |
const labelList & | processorPatchNeighbours () const noexcept |
Return processorPatchIndices of the neighbours processor patches. -1 if not running parallel. More... | |
label | nGlobalPoints () const |
Return number of globally shared points. More... | |
const labelList & | sharedPointLabels () const |
Return indices of local points that are globally shared. More... | |
const labelList & | sharedPointAddr () const |
Return addressing into the complete globally shared points list. More... | |
const labelList & | sharedPointGlobalLabels () const |
Return shared point global labels. Tries to read 'pointProcAddressing' and returns list or -1 if none available. More... | |
pointField | sharedPoints () const |
Collect coordinates of shared points on all processors. (does parallel communication!) More... | |
pointField | geometricSharedPoints () const |
Like sharedPoints but keeps cyclic points separate. (does geometric merging; uses matchTol_*bb as merging tolerance) Use sharedPoints() instead. More... | |
label | nGlobalEdges () const |
Return number of globally shared edges. More... | |
const labelList & | sharedEdgeLabels () const |
Return indices of local edges that are globally shared. More... | |
const labelList & | sharedEdgeAddr () const |
Return addressing into the complete globally shared edge list. More... | |
const indirectPrimitivePatch & | coupledPatch () const |
Return patch of all coupled faces. More... | |
const labelList & | coupledPatchMeshEdges () const |
Return map from coupledPatch edges to mesh edges. More... | |
const Map< label > & | coupledPatchMeshEdgeMap () const |
Return map from mesh edges to coupledPatch edges. More... | |
const globalIndexAndTransform & | globalTransforms () const |
Global transforms numbering. More... | |
const globalIndex & | globalPointNumbering () const |
Numbering of coupled points is according to coupledPatch. More... | |
const labelListList & | globalPointSlaves () const |
const labelListList & | globalPointTransformedSlaves () const |
const mapDistribute & | globalPointSlavesMap () const |
template<class Type , class CombineOp , class TransformOp > | |
void | syncPointData (List< Type > &pointData, const CombineOp &cop, const TransformOp &top) const |
Helper to synchronise coupled patch point data. More... | |
const globalIndex & | globalEdgeNumbering () const |
const labelListList & | globalEdgeSlaves () const |
const labelListList & | globalEdgeTransformedSlaves () const |
const mapDistribute & | globalEdgeSlavesMap () const |
const bitSet & | globalEdgeOrientation () const |
Is my edge same orientation as master edge. More... | |
const labelListList & | globalCoPointSlaves () const |
const mapDistribute & | globalCoPointSlavesMap () const |
const globalIndex & | globalBoundaryFaceNumbering () const |
Numbering of boundary faces is face-mesh.nInternalFaces() More... | |
const labelListList & | globalPointBoundaryFaces () const |
const labelListList & | globalPointTransformedBoundaryFaces () const |
const mapDistribute & | globalPointBoundaryFacesMap () const |
const labelList & | boundaryCells () const |
From boundary cell to mesh cell. More... | |
const globalIndex & | globalBoundaryCellNumbering () const |
Numbering of boundary cells is according to boundaryCells() More... | |
const labelListList & | globalPointBoundaryCells () const |
const labelListList & | globalPointTransformedBoundaryCells () const |
const mapDistribute & | globalPointBoundaryCellsMap () const |
autoPtr< globalIndex > | mergePoints (labelList &pointToGlobal, labelList &uniquePoints) const |
Helper for merging (collocated!) mesh point data. More... | |
autoPtr< globalIndex > | mergePoints (const labelUList &meshPoints, const Map< label > &meshPointMap, labelList &pointToGlobal, labelList &uniqueMeshPoints) const |
Helper for merging (collocated!) patch point data. More... | |
void | movePoints (const pointField &newPoints) |
Update for moving points. More... | |
void | updateMesh () |
Change global mesh data given a topological change. Does a. More... | |
Static Public Member Functions | |
template<class Type , class CombineOp , class TransformOp > | |
static void | syncData (List< Type > &elems, const labelListList &slaves, const labelListList &transformedSlaves, const mapDistribute &slavesMap, const globalIndexAndTransform &, const CombineOp &cop, const TransformOp &top) |
Helper: synchronise data with transforms. More... | |
template<class Type , class CombineOp > | |
static void | syncData (List< Type > &elems, const labelListList &slaves, const labelListList &transformedSlaves, const mapDistribute &slavesMap, const CombineOp &cop) |
Helper: synchronise data without transforms. More... | |
static void | calcCellCells (const polyMesh &mesh, const labelUList &agglom, const label nLocalCoarse, const bool parallel, CompactListList< label > &cellCells) |
Determine (local or global) cellCells from mesh agglomeration. More... | |
static void | calcCellCells (const polyMesh &mesh, const labelUList &agglom, const label nLocalCoarse, const bool parallel, CompactListList< label > &cellCells, CompactListList< scalar > &cellCellWeights) |
Determine (local or global) cellCells and face weights from mesh agglomeration. More... | |
static void | calcCellCells (const polyMesh &mesh, CompactListList< label > &cellCells, const bool parallel=false) |
Determine (local or global) mesh connectivity. More... | |
static labelList | calcCellCells (const polyMesh &mesh, const bitSet &selectedCells, CompactListList< label > &cellCells, const bool parallel=false) |
Determine (local or global) sub-mesh connectivity. More... | |
static labelList | calcCellCells (const polyMesh &mesh, const labelUList &selectedCells, CompactListList< label > &cellCells, const bool parallel=false) |
Determine (local or global) sub-mesh connectivity. More... | |
Static Public Attributes | |
static const Foam::scalar | matchTol_ = 1e-8 |
Geometric tolerance (fraction of bounding box) More... | |
Various mesh related information for a parallel run. Upon construction, constructs all info using parallel communication.
The shared point and edge addressing calculates addressing for points and edges on coupled patches. In the 'old' way a distinction was made between points/edges that are only on two processors and those that are on multiple processors. The problem is that those on multiple processors do not allow any transformations and require a global reduction on the master processor.
The alternative is to have an exchange schedule (through a 'mapDistribute') which sends all point/edge data (no distinction is made between those on two and those on more than two coupled patches) to the local 'master'. This master then does any calculation and sends the result back to the 'slave' points/edges. This only needs to be done on points on coupled faces. Any transformation is done using a predetermined set of transformations - since transformations have to be space filling only a certain number of transformation is supported.
The exchange needs
Definition at line 104 of file globalMeshData.H.
|
delete |
No copy construct.
globalMeshData | ( | const polyMesh & | mesh | ) |
Construct from mesh, derive rest (does parallel communication!)
Definition at line 1701 of file globalMeshData.C.
References globalMeshData::updateMesh().
~globalMeshData | ( | ) |
Destructor.
Definition at line 1733 of file globalMeshData.C.
|
delete |
No copy assignment.
ClassName | ( | "globalMeshData" | ) |
Runtime type information.
void clearOut | ( | ) |
Remove all demand driven data.
Definition at line 1737 of file globalMeshData.C.
|
inlinenoexcept |
Return the mesh reference.
Definition at line 430 of file globalMeshData.H.
Referenced by faGlobalMeshData::updateMesh().
|
inlinenoexcept |
Does the mesh contain processor patches? (also valid when not running parallel)
Definition at line 439 of file globalMeshData.H.
References UList< T >::empty().
|
inlinenoexcept |
Global numbering for mesh points. Not compensated for duplicate points!
Definition at line 448 of file globalMeshData.H.
|
inlinenoexcept |
Global numbering for mesh faces. Not compensated for duplicate faces!
Definition at line 457 of file globalMeshData.H.
|
inlinenoexcept |
Global numbering for mesh cells.
Definition at line 465 of file globalMeshData.H.
Referenced by zoltanRenumber::renumber().
|
inlinenoexcept |
Total global number of mesh points. Not compensated for duplicate points!
Definition at line 474 of file globalMeshData.H.
References globalIndex::totalSize().
|
inlinenoexcept |
Total global number of mesh faces. Not compensated for duplicate faces!
Definition at line 483 of file globalMeshData.H.
References globalIndex::totalSize().
|
inlinenoexcept |
Total global number of mesh cells.
Definition at line 491 of file globalMeshData.H.
References globalIndex::totalSize().
Referenced by waveMethod::calculate(), wallDistAddressing::correct(), structuredDecomp::decompose(), decompositionMethod::decompose(), and meshRefinement::printMeshInfo().
|
inlinenoexcept |
The processor to processor topology.
Definition at line 502 of file globalMeshData.H.
Referenced by addPatchCellLayer::calcExtrudeInfo(), FaceCellWave< Foam::wallPointData< bool > >::handleProcPatches(), and Cloud< passivePositionParticle >::move().
|
inlinenoexcept |
Order in which the patches should be initialised/evaluated corresponding to the schedule.
Definition at line 511 of file globalMeshData.H.
References processorTopology::patchSchedule().
Referenced by faBoundaryMesh::calcGeometry(), pointBoundaryMesh::movePoints(), faBoundaryMesh::movePoints(), polyBoundaryMesh::movePoints(), pointBoundaryMesh::updateMesh(), faBoundaryMesh::updateMesh(), and polyBoundaryMesh::updateMesh().
|
inlinenoexcept |
Return list of processor patch labels.
(size of list = number of processor patches)
Definition at line 521 of file globalMeshData.H.
Referenced by FaceCellWave< Foam::wallPointData< bool > >::handleProcPatches(), injectionModelList::info(), transferModelList::info(), Cloud< passivePositionParticle >::move(), and patchInjection::patchInjection().
|
inlinenoexcept |
Return list of indices into processorPatches_ for each patch.
Index = -1 for non-processor parches. (size of list = number of patches)
Definition at line 532 of file globalMeshData.H.
|
inlinenoexcept |
Return processorPatchIndices of the neighbours processor patches. -1 if not running parallel.
Definition at line 541 of file globalMeshData.H.
Referenced by Cloud< passivePositionParticle >::move().
Foam::label nGlobalPoints | ( | ) | const |
Return number of globally shared points.
Definition at line 1926 of file globalMeshData.C.
Referenced by syncTools::syncPointMap(), and faGlobalMeshData::updateMesh().
const Foam::labelList & sharedPointLabels | ( | ) | const |
Return indices of local points that are globally shared.
Definition at line 1936 of file globalMeshData.C.
Referenced by polyMeshAdder::findSharedPoints(), syncTools::syncEdgeMap(), syncTools::syncPointMap(), and faGlobalMeshData::updateMesh().
const Foam::labelList & sharedPointAddr | ( | ) | const |
Return addressing into the complete globally shared points list.
Note: It is assumed that a (never constructed) complete list of globally shared points exists. The set of shared points on the current processor is a subset of all shared points. Shared point addressing gives the index in the list of all globally shared points for each of the locally shared points.
Definition at line 1946 of file globalMeshData.C.
Referenced by polyMeshAdder::findSharedPoints(), syncTools::syncEdgeMap(), syncTools::syncPointMap(), and faGlobalMeshData::updateMesh().
const Foam::labelList & sharedPointGlobalLabels | ( | ) | const |
Return shared point global labels. Tries to read 'pointProcAddressing' and returns list or -1 if none available.
Definition at line 1790 of file globalMeshData.C.
References Foam::endl(), forAll, polyMesh::meshSubDir, IOobjectOption::MUST_READ, pointLabels(), and Foam::Pout.
Foam::pointField sharedPoints | ( | ) | const |
Collect coordinates of shared points on all processors. (does parallel communication!)
Note: not valid for cyclicParallel since shared cyclic points are merged into single global point. (use geometricSharedPoints instead)
Definition at line 1841 of file globalMeshData.C.
References Pstream::broadcast(), forAll, UPstream::master(), UPstream::masterNo(), UPstream::parRun(), pointLabels(), UPstream::scheduled, and UPstream::subProcs().
Foam::pointField geometricSharedPoints | ( | ) | const |
Like sharedPoints but keeps cyclic points separate. (does geometric merging; uses matchTol_*bb as merging tolerance) Use sharedPoints() instead.
Definition at line 1902 of file globalMeshData.C.
References Pstream::combineReduce(), and Foam::inplaceMergePoints().
Foam::label nGlobalEdges | ( | ) | const |
Return number of globally shared edges.
Demand-driven calculation so call needs to be synchronous among processors!
Definition at line 1956 of file globalMeshData.C.
const Foam::labelList & sharedEdgeLabels | ( | ) | const |
Return indices of local edges that are globally shared.
Demand-driven calculation so call needs to be synchronous among processors!
Definition at line 1966 of file globalMeshData.C.
const Foam::labelList & sharedEdgeAddr | ( | ) | const |
Return addressing into the complete globally shared edge list.
The set of shared edges on the current processor is a subset of all shared edges. Shared edge addressing gives the index in the list of all globally shared edges for each of the locally shared edges. Demand-driven calculation so call needs to be synchronous among processors!
Definition at line 1976 of file globalMeshData.C.
const Foam::indirectPrimitivePatch & coupledPatch | ( | ) | const |
Return patch of all coupled faces.
Definition at line 1986 of file globalMeshData.C.
References Foam::ensightOutput::debug, Foam::endl(), forAll, Foam::Pout, and pp().
Referenced by addPatchCellLayer::calcExtrudeInfo(), createShellMesh::calcPointRegions(), meshRefinement::countEdgeFaces(), globalIndexAndTransform::globalIndexAndTransform(), PatchTools::pointNormals(), volPointInterpolationAdjoint::pushUntransformedData(), motionSmootherAlgo::setDisplacement(), syncTools::syncEdgeList(), syncTools::syncPointList(), and pointConstraints::syncUntransformedData().
const Foam::labelList & coupledPatchMeshEdges | ( | ) | const |
Return map from coupledPatch edges to mesh edges.
Definition at line 2047 of file globalMeshData.C.
Referenced by syncTools::syncEdgeList().
const Foam::Map< Foam::label > & coupledPatchMeshEdgeMap | ( | ) | const |
Return map from mesh edges to coupledPatch edges.
Definition at line 2067 of file globalMeshData.C.
References Foam::invertToMap(), and Foam::constant::atomic::me.
Referenced by syncTools::syncEdgeList().
const Foam::globalIndexAndTransform & globalTransforms | ( | ) | const |
Global transforms numbering.
Definition at line 2097 of file globalMeshData.C.
Referenced by addPatchCellLayer::calcExtrudeInfo(), wallDistAddressing::correct(), PatchTools::edgeNormals(), wallPointAddressing::leaveDomain(), PatchTools::pointNormals(), syncTools::syncEdgeList(), syncTools::syncPointList(), wallPointAddressing::updateCell(), and wallPointAddressing::updateFace().
|
static |
Helper: synchronise data with transforms.
Definition at line 30 of file globalMeshDataTemplates.C.
References mapDistribute::distribute(), UList< T >::empty(), forAll, mapDistribute::reverseDistribute(), and UList< T >::size().
Referenced by addPatchCellLayer::calcExtrudeInfo(), meshRefinement::countEdgeFaces(), PatchTools::edgeNormals(), syncTools::syncEdgeList(), and syncTools::syncPointList().
|
static |
Helper: synchronise data without transforms.
Definition at line 95 of file globalMeshDataTemplates.C.
References mapDistribute::distribute(), UList< T >::empty(), forAll, mapDistribute::reverseDistribute(), and UList< T >::size().
const Foam::globalIndex & globalPointNumbering | ( | ) | const |
Numbering of coupled points is according to coupledPatch.
Definition at line 2083 of file globalMeshData.C.
References nPoints, and globalIndex::reset().
const Foam::labelListList & globalPointSlaves | ( | ) | const |
Definition at line 2107 of file globalMeshData.C.
Referenced by PatchTools::pointNormals(), and syncTools::syncPointList().
const Foam::labelListList & globalPointTransformedSlaves | ( | ) | const |
Definition at line 2117 of file globalMeshData.C.
Referenced by PatchTools::pointNormals(), and syncTools::syncPointList().
const Foam::mapDistribute & globalPointSlavesMap | ( | ) | const |
Definition at line 2128 of file globalMeshData.C.
Referenced by PatchTools::pointNormals(), and syncTools::syncPointList().
void syncPointData | ( | List< Type > & | pointData, |
const CombineOp & | cop, | ||
const TransformOp & | top | ||
) | const |
Helper to synchronise coupled patch point data.
Definition at line 152 of file globalMeshDataTemplates.C.
References Foam::abort(), Foam::FatalError, FatalErrorInFunction, forAll, PrimitivePatch< FaceList, PointField >::meshPoints(), and UList< T >::size().
Referenced by syncTools::syncPointList().
const Foam::globalIndex & globalEdgeNumbering | ( | ) | const |
Definition at line 2138 of file globalMeshData.C.
References globalIndex::reset().
const Foam::labelListList & globalEdgeSlaves | ( | ) | const |
Definition at line 2151 of file globalMeshData.C.
Referenced by addPatchCellLayer::calcExtrudeInfo(), meshRefinement::countEdgeFaces(), PatchTools::edgeNormals(), and syncTools::syncEdgeList().
const Foam::labelListList & globalEdgeTransformedSlaves | ( | ) | const |
Definition at line 2161 of file globalMeshData.C.
Referenced by addPatchCellLayer::calcExtrudeInfo(), meshRefinement::countEdgeFaces(), PatchTools::edgeNormals(), and syncTools::syncEdgeList().
const Foam::mapDistribute & globalEdgeSlavesMap | ( | ) | const |
Definition at line 2182 of file globalMeshData.C.
Referenced by addPatchCellLayer::calcExtrudeInfo(), meshRefinement::countEdgeFaces(), PatchTools::edgeNormals(), and syncTools::syncEdgeList().
const Foam::bitSet & globalEdgeOrientation | ( | ) | const |
Is my edge same orientation as master edge.
Definition at line 2172 of file globalMeshData.C.
Referenced by syncTools::syncEdgeList().
const Foam::labelListList & globalCoPointSlaves | ( | ) | const |
Definition at line 2290 of file globalMeshData.C.
Referenced by globalIndexAndTransform::globalIndexAndTransform(), volPointInterpolationAdjoint::pushUntransformedData(), and pointConstraints::syncUntransformedData().
const Foam::mapDistribute & globalCoPointSlavesMap | ( | ) | const |
Definition at line 2300 of file globalMeshData.C.
Referenced by globalIndexAndTransform::globalIndexAndTransform(), volPointInterpolationAdjoint::pushUntransformedData(), and pointConstraints::syncUntransformedData().
const Foam::globalIndex & globalBoundaryFaceNumbering | ( | ) | const |
Numbering of boundary faces is face-mesh.nInternalFaces()
Definition at line 2192 of file globalMeshData.C.
const Foam::labelListList & globalPointBoundaryFaces | ( | ) | const |
Definition at line 2203 of file globalMeshData.C.
const Foam::labelListList & globalPointTransformedBoundaryFaces | ( | ) | const |
Definition at line 2215 of file globalMeshData.C.
const Foam::mapDistribute & globalPointBoundaryFacesMap | ( | ) | const |
Definition at line 2225 of file globalMeshData.C.
const Foam::labelList & boundaryCells | ( | ) | const |
From boundary cell to mesh cell.
Definition at line 2236 of file globalMeshData.C.
const Foam::globalIndex & globalBoundaryCellNumbering | ( | ) | const |
Numbering of boundary cells is according to boundaryCells()
Definition at line 2246 of file globalMeshData.C.
const Foam::labelListList & globalPointBoundaryCells | ( | ) | const |
Definition at line 2257 of file globalMeshData.C.
const Foam::labelListList & globalPointTransformedBoundaryCells | ( | ) | const |
Definition at line 2269 of file globalMeshData.C.
const Foam::mapDistribute & globalPointBoundaryCellsMap | ( | ) | const |
Definition at line 2279 of file globalMeshData.C.
Foam::autoPtr< Foam::globalIndex > mergePoints | ( | labelList & | pointToGlobal, |
labelList & | uniquePoints | ||
) | const |
Helper for merging (collocated!) mesh point data.
Determines:
Definition at line 2311 of file globalMeshData.C.
References mapDistributeBase::constructSize(), forAll, PrimitivePatch< FaceList, PointField >::meshPoints(), PrimitivePatch< FaceList, PointField >::nPoints(), mapDistribute::reverseDistribute(), List< T >::setSize(), UList< T >::size(), and globalIndex::toGlobal().
Foam::autoPtr< Foam::globalIndex > mergePoints | ( | const labelUList & | meshPoints, |
const Map< label > & | meshPointMap, | ||
labelList & | pointToGlobal, | ||
labelList & | uniqueMeshPoints | ||
) | const |
Helper for merging (collocated!) patch point data.
Takes maps from: local points to/from mesh. Determines
meshPointMap | currently unused |
Definition at line 2445 of file globalMeshData.C.
References HashTable< T, Key, Hash >::cfind(), mapDistributeBase::constructSize(), mapDistribute::distribute(), forAll, Foam::labelMax, PrimitivePatch< FaceList, PointField >::meshPointMap(), PrimitivePatch< FaceList, PointField >::nPoints(), mapDistribute::reverseDistribute(), List< T >::setSize(), and UList< T >::size().
void movePoints | ( | const pointField & | newPoints | ) |
Update for moving points.
Definition at line 2659 of file globalMeshData.C.
void updateMesh | ( | ) |
Change global mesh data given a topological change. Does a.
full parallel analysis to determine shared points and boundaries.
Definition at line 2668 of file globalMeshData.C.
References UList< T >::begin(), UPstream::commWarn(), UList< T >::data(), Foam::ensightOutput::debug, Foam::endl(), Foam::Info, UPstream::is_parallel(), UPstream::mpiAllGather(), UPstream::myProcNo(), UPstream::nProcs(), and Foam::Pout.
Referenced by globalMeshData::globalMeshData().
|
static |
Determine (local or global) cellCells from mesh agglomeration.
Agglomeration is local to the processor.
agglom | The cell agglomeration, negative agglomeration are excluded from the sub-mesh | |
nLocalCoarse | The number of unique, agglomerated cells | |
parallel | Use global cell ids in parallel | |
[out] | cellCells | the mesh connectivity as CSR |
Definition at line 299 of file globalMeshDataTopology.C.
References Foam::calcCellCellsImpl(), and mesh.
Referenced by decompositionMethod::calcCellCells(), metisLikeDecomp::decompose(), ptscotchDecomp::decompose(), multiLevelDecomp::decompose(), decompositionMethod::decompose(), springRenumber::renumber(), and renumberMethod::renumber().
|
static |
Determine (local or global) cellCells and face weights from mesh agglomeration.
Uses mag of faceArea as weights
agglom | The cell agglomeration, negative agglomeration are excluded from the sub-mesh | |
nLocalCoarse | The number of unique, agglomerated cells | |
parallel | Use global cell ids in parallel | |
[out] | cellCells | the mesh connectivity as CSR |
[out] | cellCellWeights | the connectivity weights (face area) |
Definition at line 319 of file globalMeshDataTopology.C.
References Foam::calcCellCellsImpl(), and mesh.
|
static |
Determine (local or global) mesh connectivity.
[out] | cellCells | the mesh connectivity as CSR |
parallel | Use global cell ids in parallel |
Definition at line 343 of file globalMeshDataTopology.C.
References Foam::calcCellCellsImpl(), and mesh.
|
static |
Determine (local or global) sub-mesh connectivity.
selectedCells | The cell-subset | |
[out] | cellCells | the mesh connectivity as CSR |
parallel | Use global cell ids in parallel |
Definition at line 361 of file globalMeshDataTopology.C.
References mesh, List< T >::resize(), and UList< T >::size().
|
static |
Determine (local or global) sub-mesh connectivity.
selectedCells | The cell-subset | |
[out] | cellCells | the mesh connectivity as CSR |
parallel | Use global cell ids in parallel |
Definition at line 425 of file globalMeshDataTopology.C.
References mesh, List< T >::resize(), and UList< T >::size().
|
static |
Geometric tolerance (fraction of bounding box)
Definition at line 401 of file globalMeshData.H.