Various tools to aid synchronizing lists across coupled patches. WIP. More...
#include <syncTools.H>
Static Public Member Functions | |
| template<class T, class CombineOp, class TransformOp> | |
| static void | syncPointMap (const polyMesh &mesh, Map< T > &pointValues, const CombineOp &cop, const TransformOp &top) |
| Synchronize values on selected points. | |
| template<class T, class CombineOp, class TransformOp> | |
| static void | syncEdgeMap (const polyMesh &mesh, EdgeMap< T > &edgeValues, const CombineOp &cop, const TransformOp &top) |
| Synchronize values on selected edges. | |
| template<class T, class CombineOp, class TransformOp> | |
| static void | syncPointList (const polyMesh &mesh, List< T > &pointValues, const CombineOp &cop, const T &nullValue, const TransformOp &top) |
| Synchronize values on all mesh points. | |
| template<class T, class CombineOp, class TransformOp> | |
| static void | syncPointList (const polyMesh &mesh, const labelUList &meshPoints, List< T > &pointValues, const CombineOp &cop, const T &nullValue, const TransformOp &top) |
| Synchronize values on selected mesh points. | |
| template<class T, class CombineOp, class TransformOp, class FlipOp> | |
| static void | syncEdgeList (const polyMesh &mesh, List< T > &edgeValues, const CombineOp &cop, const T &nullValue, const TransformOp &top, const FlipOp &fop) |
| Synchronize values on all mesh edges. | |
| template<class T, class CombineOp, class TransformOp, class FlipOp> | |
| static void | syncEdgeList (const polyMesh &mesh, const labelUList &meshEdges, List< T > &edgeValues, const CombineOp &cop, const T &nullValue, const TransformOp &top, const FlipOp &fop) |
| Synchronize values on selected mesh edges. | |
| template<class T, class CombineOp, class TransformOp> | |
| static void | syncBoundaryFaceList (const polyMesh &mesh, UList< T > &faceValues, const CombineOp &cop, const TransformOp &top, const bool parRun=UPstream::parRun()) |
| Synchronize values on boundary faces only. | |
| template<class T, class CombineOp> | |
| static void | syncPointList (const polyMesh &mesh, List< T > &pointValues, const CombineOp &cop, const T &nullValue) |
| Synchronize values on all mesh points. | |
| template<class CombineOp> | |
| static void | syncPointPositions (const polyMesh &mesh, List< point > &positions, const CombineOp &cop, const point &nullValue) |
| Synchronize locations on all mesh points. | |
| template<class T, class CombineOp> | |
| static void | syncPointList (const polyMesh &mesh, const labelUList &meshPoints, List< T > &pointValues, const CombineOp &cop, const T &nullValue) |
| Synchronize values on selected mesh points. | |
| template<class CombineOp> | |
| static void | syncPointPositions (const polyMesh &mesh, const labelUList &meshPoints, List< point > &positions, const CombineOp &cop, const point &nullValue) |
| Synchronize locations on selected mesh points. | |
| template<class T, class CombineOp> | |
| static void | syncEdgeList (const polyMesh &mesh, List< T > &edgeValues, const CombineOp &cop, const T &nullValue) |
| Synchronize values on all mesh edges. | |
| template<class CombineOp> | |
| static void | syncEdgePositions (const polyMesh &mesh, List< point > &positions, const CombineOp &cop, const point &nullValue) |
| Synchronize locations on all mesh edges. | |
| template<class T, class CombineOp> | |
| static void | syncEdgeList (const polyMesh &mesh, const labelUList &meshEdges, List< T > &edgeValues, const CombineOp &cop, const T &nullValue) |
| Synchronize values on selected mesh edges. | |
| template<class CombineOp> | |
| static void | syncEdgePositions (const polyMesh &mesh, const labelUList &meshEdges, List< point > &positions, const CombineOp &cop, const point &nullValue) |
| Synchronize locations on selected mesh edges. | |
| template<class T, class CombineOp> | |
| static void | syncBoundaryFaceList (const polyMesh &mesh, UList< T > &faceValues, const CombineOp &cop) |
| Synchronize values on boundary faces only. | |
| template<class CombineOp> | |
| static void | syncBoundaryFacePositions (const polyMesh &mesh, UList< point > &positions, const CombineOp &cop) |
| Synchronize locations on boundary faces only. | |
| template<class T, class CombineOp> | |
| static void | syncFaceList (const polyMesh &mesh, UList< T > &faceValues, const CombineOp &cop, const bool parRun=UPstream::parRun()) |
| Synchronize values on all mesh faces. | |
| template<class CombineOp> | |
| static void | syncFacePositions (const polyMesh &mesh, UList< point > &positions, const CombineOp &cop, const bool parRun=UPstream::parRun()) |
| Synchronize locations on all mesh faces. | |
| template<class T> | |
| static void | swapBoundaryFaceList (const polyMesh &mesh, UList< T > &faceValues, const bool parRun=UPstream::parRun()) |
| Swap coupled boundary face values. Uses eqOp. | |
| static void | swapBoundaryFacePositions (const polyMesh &mesh, UList< point > &positions, const bool parRun=UPstream::parRun()) |
| Swap coupled positions. Uses eqOp. | |
| template<class T> | |
| static void | swapFaceList (const polyMesh &mesh, UList< T > &faceValues, const bool parRun=UPstream::parRun()) |
| Swap coupled face values. Uses eqOp. | |
| template<class T> | |
| static void | swapBoundaryCellList (const polyMesh &mesh, const UList< T > &cellData, List< T > &neighbourCellData, const bool parRun=UPstream::parRun()) |
| Extract and swap to obtain neighbour cell values for all boundary faces. | |
| static void | swapBoundaryCellPositions (const polyMesh &mesh, const UList< point > &cellData, List< point > &neighbourCellData, const bool parRun=UPstream::parRun()) |
| Extract and swap to obtain neighbour cell positions for all boundary faces. | |
| template<class T> | |
| static List< T > | swapBoundaryCellList (const polyMesh &mesh, const UList< T > &cellData, const bool parRun=UPstream::parRun()) |
| Return neighbour cell values for all boundary faces by swapping via boundary faces. | |
| static List< point > | swapBoundaryCellPositions (const polyMesh &mesh, const UList< point > &cellData, const bool parRun=UPstream::parRun()) |
| Return neighbour cell positions for all boundary faces by swapping via boundary faces. | |
| template<class T, class CombineOp> | |
| static void | syncPointMap (const polyMesh &mesh, Map< T > &pointValues, const CombineOp &cop) |
| Synchronize values on selected points. | |
| template<class CombineOp> | |
| static void | syncPointPositions (const polyMesh &mesh, Map< point > &positions, const CombineOp &cop) |
| Synchronize locations on selected points. | |
| template<class T, class CombineOp> | |
| static void | syncEdgeMap (const polyMesh &mesh, EdgeMap< T > &edgeValues, const CombineOp &cop) |
| Synchronize values on selected edges. Edges are represented by the two vertices that make it up so global edges never get constructed. | |
| template<class CombineOp> | |
| static void | syncEdgePositions (const polyMesh &mesh, EdgeMap< point > &edgePositions, const CombineOp &cop) |
| Synchronize locations on selected edges. | |
| template<unsigned Width, class CombineOp> | |
| static void | syncFaceList (const polyMesh &mesh, const bool isBoundaryOnly, PackedList< Width > &faceValues, const CombineOp &cop, const bool parRun=UPstream::parRun()) |
| Synchronize face values from PackedList/bitSet. | |
| template<unsigned Width, class CombineOp> | |
| static void | syncFaceList (const polyMesh &mesh, PackedList< Width > &faceValues, const CombineOp &cop, const bool parRun=UPstream::parRun()) |
| Synchronize mesh face values from PackedList/bitSet. | |
| template<unsigned Width, class CombineOp> | |
| static void | syncBoundaryFaceList (const polyMesh &mesh, PackedList< Width > &faceValues, const CombineOp &cop, const bool parRun=UPstream::parRun()) |
| Synchronize boundary face values from PackedList/bitSet. | |
| template<unsigned Width> | |
| static void | swapFaceList (const polyMesh &mesh, PackedList< Width > &faceValues, const bool parRun=UPstream::parRun()) |
| Swap coupled face values. Uses eqOp. | |
| template<unsigned Width> | |
| static void | swapBoundaryFaceList (const polyMesh &mesh, PackedList< Width > &faceValues, const bool parRun=UPstream::parRun()) |
| Swap coupled boundary face values. Uses eqOp. | |
| template<unsigned Width, class CombineOp> | |
| static void | syncPointList (const polyMesh &mesh, PackedList< Width > &pointValues, const CombineOp &cop, const unsigned int nullValue) |
| template<unsigned Width, class CombineOp> | |
| static void | syncEdgeList (const polyMesh &mesh, PackedList< Width > &edgeValues, const CombineOp &cop, const unsigned int nullValue) |
| static bitSet | getMasterPoints (const polyMesh &mesh) |
| Get per point whether it is uncoupled or a master of a coupled set of points. | |
| static bitSet | getMasterEdges (const polyMesh &mesh) |
| Get per edge whether it is uncoupled or a master of a coupled set of edges. | |
| static bitSet | getMasterFaces (const polyMesh &mesh) |
| Get per face whether it is uncoupled or a master of a coupled set of faces. | |
| static bitSet | getInternalOrMasterFaces (const polyMesh &mesh) |
| Get per face whether it is internal or a master of a coupled set of faces. | |
| static bitSet | getInternalOrCoupledFaces (const polyMesh &mesh) |
| Get per face whether it is internal or coupled. | |
Various tools to aid synchronizing lists across coupled patches. WIP.
Require
Definition at line 62 of file syncTools.H.
|
static |
Synchronize values on selected points.
Communication if UPstream::parRun() == true.
Definition at line 78 of file syncToolsTemplates.C.
References UPstream::broadcast, HashTable< T, Key, Hash >::cfind(), cyclicPolyPatch::coupledPoints(), e, PstreamBuffers::finishedNeighbourSends(), forAll, forAllConstIters, UPstream::incrMsgType(), PstreamBuffers::initRegisterSend(), HashTable< T, Key, Hash >::insert(), Foam::isA(), UPstream::master(), UPstream::masterNo(), mesh, PrimitivePatch< FaceList, PointField >::meshPoints(), UPstream::msgType(), cyclicPolyPatch::neighbPatch(), globalMeshData::nGlobalPoints(), cyclicPolyPatch::owner(), UPstream::parRun(), patches, pp(), DynamicList< T, SizeMin >::push_uniq(), IPstream::recv(), PstreamBuffers::recvDataCount(), PstreamBuffers::registerSend(), HashTable< T, Key, Hash >::reserve(), UOPstream::send(), HashTable< T, Key, Hash >::set(), globalMeshData::sharedPointAddr(), globalMeshData::sharedPointLabels(), HashTable< T, Key, Hash >::size(), UList< T >::size(), and UPstream::subProcs().
Referenced by reconstructedDistanceFunction::markCellsNearSurf(), syncPointMap(), and syncPointPositions().


|
static |
Synchronize values on selected edges.
Communication if UPstream::parRun() == true.
Definition at line 375 of file syncToolsTemplates.C.
References UPstream::broadcast, HashTable< T, Key, Hash >::cfind(), cyclicPolyPatch::coupledEdges(), e, PrimitivePatch< FaceList, PointField >::edges(), f(), PstreamBuffers::finishedNeighbourSends(), forAll, forAllConstIters, UPstream::incrMsgType(), PstreamBuffers::initRegisterSend(), HashTable< T, Key, Hash >::insert(), Foam::isA(), UPstream::master(), UPstream::masterNo(), mesh, PrimitivePatch< FaceList, PointField >::meshPoints(), UPstream::msgType(), cyclicPolyPatch::neighbPatch(), cyclicPolyPatch::owner(), UPstream::parRun(), patches, pp(), DynamicList< T, SizeMin >::push_uniq(), IPstream::recv(), PstreamBuffers::recvDataCount(), PstreamBuffers::registerSend(), UOPstream::send(), globalMeshData::sharedPointAddr(), globalMeshData::sharedPointLabels(), HashTable< T, Key, Hash >::size(), UList< T >::size(), and UPstream::subProcs().
Referenced by holeToFace::calcClosure(), patchPatchDist::correct(), betaMax::markProcessorEdges(), syncEdgeMap(), and syncEdgePositions().


|
static |
Synchronize values on all mesh points.
Communication if UPstream::parRun() == true.
Definition at line 745 of file syncToolsTemplates.C.
References Foam::abort(), Foam::FatalError, FatalErrorInFunction, mesh, Foam::nl, UList< T >::size(), and Foam::T().
Referenced by singleProcessorFaceSets::add(), singleProcessorFaceSets::apply(), sensitivitySurfacePoints::assembleSensitivities(), pointSmoother::average(), motionSmootherAlgo::avg(), meshRefinement::blockLeakFaces(), snappySnapDriver::calcNearestSurface(), snappySnapDriver::calcSnapDistance(), edgeCollapser::checkMeshQuality(), pointZone::checkParallelSync(), hexRef8::checkRefinementLevels(), edgeCollapser::consistentCollapse(), hexRef8::consistentSlowRefinement(), sensitivitySurfacePoints::constructGlobalPointNormalsAndAreas(), motionSmootherAlgo::correctBoundaryConditions(), removePoints::countPointUsage(), laplacianMotionSolver::curPoints(), pLaplacianMotionSolver::curPoints(), snappyRefineDriver::doRefine(), snappyLayerDriver::dupFaceZonePoints(), meshRefinement::dupNonManifoldBoundaryPoints(), pointMeshTools::featurePointsEdges(), meshRefinement::getMasterPoints(), dynamicMultiMotionSolverFvMesh::init(), patchTransformedInterpolation::interpolate(), meshRefinement::intersectedPoints(), displacementPointSmoothingMotionSolver::markAffectedFaces(), displacementSmartPointSmoothingMotionSolver::markAffectedFaces(), multiSolidBodyMotionSolver::multiSolidBodyMotionSolver(), pointSmoother::pointsToMove(), displacementPointSmoothingMotionSolver::relax(), displacementSmartPointSmoothingMotionSolver::relax(), motionSmootherAlgo::scaleMesh(), dynamicRefineFvMesh::selectUnrefinePoints(), motionSmootherAlgo::setDisplacement(), motionSmootherAlgo::setDisplacementPatchFields(), addPatchCellLayer::setRefinement(), combineFaces::setRefinement(), removeFaces::setRefinement(), fieldSmoother::smoothNormals(), pointBitSet::sync(), pointSet::sync(), syncPointList(), syncPointList(), syncPointPositions(), syncPointPositions(), weightedPosition::syncPoints(), weightedPosition::syncPoints(), meshRefinement::testSyncPointList(), meshRefinement::testSyncPointList(), and meshRefinement::weightedSum().

|
static |
Synchronize values on selected mesh points.
Communication if UPstream::parRun() == true.
Definition at line 767 of file syncToolsTemplates.C.
References Foam::abort(), HashTable< T, Key, Hash >::cfind(), globalMeshData::coupledPatch(), Foam::FatalError, FatalErrorInFunction, forAll, globalMeshData::globalPointSlaves(), globalMeshData::globalPointSlavesMap(), globalMeshData::globalPointTransformedSlaves(), globalMeshData::globalTransforms(), mesh, PrimitivePatch< FaceList, PointField >::meshPointMap(), Foam::nl, PrimitivePatch< FaceList, PointField >::nPoints(), UList< T >::size(), globalMeshData::syncData(), and Foam::T().

|
static |
Synchronize values on all mesh edges.
Communication if UPstream::parRun() == true.
Definition at line 824 of file syncToolsTemplates.C.
References Foam::abort(), edge::compare(), globalMeshData::coupledPatch(), globalMeshData::coupledPatchMeshEdges(), PrimitivePatch< FaceList, PointField >::edges(), Foam::exit(), Foam::FatalError, FatalErrorInFunction, forAll, globalMeshData::globalEdgeOrientation(), globalMeshData::globalEdgeSlaves(), globalMeshData::globalEdgeSlavesMap(), globalMeshData::globalEdgeTransformedSlaves(), globalMeshData::globalTransforms(), edge::line(), PrimitivePatch< FaceList, PointField >::localPoints(), mesh, PrimitivePatch< FaceList, PointField >::meshPoints(), Foam::nl, UList< T >::size(), globalMeshData::syncData(), and Foam::T().
Referenced by edgeCollapser::consistentCollapse(), meshRefinement::getMasterEdges(), addPatchCellLayer::globalEdgeFaces(), addPatchCellLayer::setRefinement(), hexRef8::setRefinement(), meshCutter::setRefinement(), removeFaces::setRefinement(), syncEdgeList(), syncEdgeList(), syncEdgePositions(), and syncEdgePositions().


|
static |
Synchronize values on selected mesh edges.
Communication if UPstream::parRun() == true.
Definition at line 921 of file syncToolsTemplates.C.
References Foam::abort(), HashTable< T, Key, Hash >::cfind(), edge::compare(), globalMeshData::coupledPatch(), globalMeshData::coupledPatchMeshEdgeMap(), PrimitivePatch< FaceList, PointField >::edges(), Foam::exit(), Foam::FatalError, FatalErrorInFunction, forAll, globalMeshData::globalEdgeOrientation(), globalMeshData::globalEdgeSlaves(), globalMeshData::globalEdgeSlavesMap(), globalMeshData::globalEdgeTransformedSlaves(), globalMeshData::globalTransforms(), edge::line(), PrimitivePatch< FaceList, PointField >::localPoints(), mesh, PrimitivePatch< FaceList, PointField >::meshPoints(), PrimitivePatch< FaceList, PointField >::nEdges(), Foam::nl, UList< T >::size(), globalMeshData::syncData(), and Foam::T().

|
static |
Synchronize values on boundary faces only.
| parRun | Allow parallel communication |
Definition at line 1022 of file syncToolsTemplates.C.
References Foam::abort(), UPstream::defaultCommsType, Foam::FatalError, FatalErrorInFunction, PstreamBuffers::finishedNeighbourSends(), fld(), forAll, UPstream::incrMsgType(), Foam::is_contiguous_v, Foam::isA(), mesh, UPstream::msgType(), cyclicPolyPatch::neighbPatch(), Foam::nl, UPstream::nonBlocking, UPstream::nRequests(), cyclicPolyPatch::owner(), UPstream::parRun(), patches, pp(), DynamicList< T, SizeMin >::push_uniq(), UIPstream::read(), UList< T >::size(), polyPatch::start(), UPstream::waitRequests(), and UOPstream::write().
Referenced by cellToFaceStencil::calcFaceStencil(), addPatchCellLayer::findDuplicatedPoints(), polyMeshTetDecomposition::findFaceBasePts(), removeCells::getExposedFaces(), decompositionConstraint::getMinBoundaryValue(), removePoints::getUnrefimentSet(), swapBoundaryFaceList(), swapBoundaryFaceList(), swapBoundaryFacePositions(), swapFaceList(), syncBoundaryFaceList(), syncBoundaryFacePositions(), syncFaceList(), and syncFacePositions().


|
inlinestatic |
Synchronize values on all mesh points.
Communication if UPstream::parRun() == true.
Definition at line 215 of file syncTools.H.
References mesh, syncPointList(), and Foam::T().

|
inlinestatic |
Synchronize locations on all mesh points.
Communication if UPstream::parRun() == true.
Definition at line 239 of file syncTools.H.
References mesh, and syncPointList().

|
inlinestatic |
Synchronize values on selected mesh points.
Communication if UPstream::parRun() == true.
Definition at line 263 of file syncTools.H.
References mesh, syncPointList(), and Foam::T().

|
inlinestatic |
Synchronize locations on selected mesh points.
Communication if UPstream::parRun() == true.
Definition at line 289 of file syncTools.H.
References mesh, and syncPointList().

|
inlinestatic |
Synchronize values on all mesh edges.
Communication if UPstream::parRun() == true.
Definition at line 318 of file syncTools.H.
References mesh, syncEdgeList(), and Foam::T().

|
inlinestatic |
Synchronize locations on all mesh edges.
Communication if UPstream::parRun() == true.
Definition at line 343 of file syncTools.H.
References mesh, and syncEdgeList().
Referenced by hexRef8::setRefinement().


|
inlinestatic |
Synchronize values on selected mesh edges.
Communication if UPstream::parRun() == true.
Definition at line 368 of file syncTools.H.
References mesh, syncEdgeList(), and Foam::T().

|
inlinestatic |
Synchronize locations on selected mesh edges.
Communication if UPstream::parRun() == true.
Definition at line 395 of file syncTools.H.
References mesh, and syncEdgeList().

|
inlinestatic |
Synchronize values on boundary faces only.
Definition at line 424 of file syncTools.H.
References mesh, and syncBoundaryFaceList().

|
inlinestatic |
Synchronize locations on boundary faces only.
Definition at line 444 of file syncTools.H.
References mesh, and syncBoundaryFaceList().
Referenced by meshRefinement::checkData(), and hexRef8::setRefinement().


|
inlinestatic |
Synchronize values on all mesh faces.
| parRun | Allow parallel communication |
Definition at line 464 of file syncTools.H.
References mesh, UPstream::parRun(), and syncBoundaryFaceList().
Referenced by geometric::add(), preserveBaffles::add(), preserveFaceZones::add(), preservePatches::add(), singleProcessorFaceSets::add(), refinementHistory::add(), polyMeshTetDecomposition::adjustTetBasePtIs(), meshRefinement::balance(), holeToFace::calcClosure(), dynamicRefineFvMesh::calculateProtectedCells(), meshRefinement::collectFaces(), meshRefinement::createBaffles(), dynamicRefineFvMesh::extendMarkedCells(), distanceSurface::filterPrepareRegionSplit(), meshRefinement::growFaceCellFace(), meshRefinement::growFaceCellFace(), dynamicRefineFvMesh::init(), Foam::MULES::limiter(), Foam::MULES::limiterCorr(), oversetFvMeshBase::normalisation(), hexRef8::setRefinement(), meshRefinement::splitMesh(), swapFaceList(), faceBitSet::sync(), faceBoolSet::sync(), faceSet::sync(), syncBoundaryFaceList(), syncFaceList(), meshRefinement::updateIntersections(), and cellCellStencil::walkFront().


|
inlinestatic |
Synchronize locations on all mesh faces.
| parRun | Allow parallel communication |
Definition at line 494 of file syncTools.H.
References mesh, UPstream::parRun(), and syncBoundaryFaceList().

|
inlinestatic |
Swap coupled boundary face values. Uses eqOp.
| parRun | Allow parallel communication |
Definition at line 523 of file syncTools.H.
References mesh, UPstream::parRun(), and syncBoundaryFaceList().
Referenced by Foam::calcCellCellsImpl(), dynamicRefineFvMesh::calculateProtectedCells(), meshRefinement::checkCoupledFaceZones(), meshRefinement::checkData(), hexRef8::checkMesh(), faceZone::checkParallelSync(), hexRef8::checkRefinementLevels(), polyMeshGeometry::checkVolRatio(), hexRef8::consistentSlowRefinement(), hexRef8::consistentSlowRefinement2(), hexRef8::consistentUnrefinement(), fluxSummary::initialiseCellZoneAndDirection(), SloanRenumber::renumber(), rotorDiskSource::setFaceArea(), addPatchCellLayer::setRefinement(), hexRef8::setRefinement(), tetDecomposer::setRefinement(), swapBoundaryCellList(), and faceZoneSet::sync().


|
inlinestatic |
Swap coupled positions. Uses eqOp.
| parRun | Allow parallel communication |
Definition at line 544 of file syncTools.H.
References mesh, UPstream::parRun(), and syncBoundaryFaceList().
Referenced by polyMeshGeometry::checkFaceDotProduct(), polyMeshGeometry::checkFaceTets(), polyMeshTetDecomposition::checkFaceTets(), polyMeshGeometry::checkFaceTwist(), polyMeshGeometry::checkFaceWeights(), polyMeshTetDecomposition::findFaceBasePts(), and swapBoundaryCellPositions().


|
inlinestatic |
Swap coupled face values. Uses eqOp.
| parRun | Allow parallel communication |
Definition at line 566 of file syncTools.H.
References mesh, UPstream::parRun(), and syncBoundaryFaceList().
Referenced by dynamicRefineFvMesh::init(), removeFaces::setRefinement(), and tetDecomposer::setRefinement().


|
static |
Extract and swap to obtain neighbour cell values for all boundary faces.
| parRun | Allow parallel communication |
Definition at line 1424 of file syncToolsTemplates.C.
References Foam::abort(), Foam::FatalError, FatalErrorInFunction, mesh, Foam::nl, patches, pp(), List< T >::resize(), UList< T >::size(), and swapBoundaryFaceList().
Referenced by oversetFvPatchField< Type >::adjustPsi(), highAspectRatioFvGeometryScheme::calcAspectRatioWeights(), hexRef8::consistentSlowRefinement(), decompositionMethod::decompose(), cellVolumeWeight::findHoles(), inverseDistance::findHoles(), cellCellStencil::globalCellCells(), inverseDistance::holeExtrapolationStencil(), meshRefinement::markOutsideFaces(), oversetFvMeshBase::normalisation(), Foam::oversetAdjustPhi(), cellCellStencil::setUpFront(), oversetFvPatchField< Type >::storeFringeCoefficients(), swapBoundaryCellList(), polyMeshTools::volRatio(), and meshRefinement::zonify().


|
static |
Extract and swap to obtain neighbour cell positions for all boundary faces.
| parRun | Allow parallel communication |
Definition at line 26 of file syncTools.C.
References Foam::abort(), Foam::FatalError, FatalErrorInFunction, mesh, Foam::nl, pp(), List< T >::resize(), UList< T >::size(), and swapBoundaryFacePositions().
Referenced by searchableSurfaceToFaceZone::applyToSet(), averageNeighbourFvGeometryScheme::averageCentres(), averageNeighbourFvGeometryScheme::averageNeighbourCentres(), polyMeshGeometry::checkFaceSkewness(), polyMeshTools::faceOrthogonality(), polyMeshTools::faceSkewness(), polyMeshTools::faceWeights(), and swapBoundaryCellPositions().


|
inlinestaticnodiscard |
Return neighbour cell values for all boundary faces by swapping via boundary faces.
| parRun | Allow parallel communication |
Definition at line 623 of file syncTools.H.
References mesh, UPstream::parRun(), and swapBoundaryCellList().

|
inlinestaticnodiscard |
Return neighbour cell positions for all boundary faces by swapping via boundary faces.
| parRun | Allow parallel communication |
Definition at line 640 of file syncTools.H.
References mesh, UPstream::parRun(), and swapBoundaryCellPositions().

|
inlinestatic |
Synchronize values on selected points.
Communication if UPstream::parRun() == true.
Definition at line 662 of file syncTools.H.
References mesh, and syncPointMap().

|
inlinestatic |
Synchronize locations on selected points.
Communication if UPstream::parRun() == true.
Definition at line 684 of file syncTools.H.
References mesh, and syncPointMap().

|
inlinestatic |
Synchronize values on selected edges. Edges are represented by the two vertices that make it up so global edges never get constructed.
Communication if UPstream::parRun() == true.
Definition at line 708 of file syncTools.H.
References mesh, and syncEdgeMap().

|
inlinestatic |
Synchronize locations on selected edges.
Communication if UPstream::parRun() == true.
Definition at line 730 of file syncTools.H.
References mesh, and syncEdgeMap().

|
static |
Synchronize face values from PackedList/bitSet.
| mesh | The mesh |
| isBoundaryOnly | True if faceValues are for the boundary only and not the entire mesh. This determines the face offset when accessing values. |
| faceValues | The face values to synchronize |
| cop | The combine operation |
| parRun | Allow parallel communication |
Definition at line 1269 of file syncToolsTemplates.C.
References Foam::abort(), PtrList< T >::emplace_set(), Foam::FatalError, FatalErrorInFunction, UPstream::incrMsgType(), Foam::isA(), mesh, UPstream::msgType(), cyclicPolyPatch::neighbPatch(), Foam::nl, UPstream::nonBlocking, UPstream::nRequests(), cyclicPolyPatch::owner(), UPstream::parRun(), patches, pp(), range, UIPstream::read(), PackedList< Width >::set(), PackedList< Width >::size(), UList< T >::size(), polyPatch::start(), UPstream::waitRequests(), and UOPstream::write().

|
static |
Synchronize mesh face values from PackedList/bitSet.
| parRun | Allow parallel communication |
Definition at line 1462 of file syncToolsTemplates.C.
References mesh, and syncFaceList().

|
static |
Synchronize boundary face values from PackedList/bitSet.
| parRun | Allow parallel communication |
Definition at line 1475 of file syncToolsTemplates.C.
References mesh, and syncFaceList().

|
static |
Swap coupled face values. Uses eqOp.
| parRun | Allow parallel communication |
Definition at line 1488 of file syncToolsTemplates.C.
References mesh, and syncFaceList().

|
static |
Swap coupled boundary face values. Uses eqOp.
| parRun | Allow parallel communication |
Definition at line 1506 of file syncToolsTemplates.C.
References mesh, and syncBoundaryFaceList().

|
static |
Definition at line 1524 of file syncToolsTemplates.C.
References Foam::abort(), mapDistributeBase::constructSize(), globalMeshData::coupledPatch(), Foam::FatalError, FatalErrorInFunction, forAll, globalMeshData::globalPointSlaves(), globalMeshData::globalPointSlavesMap(), globalMeshData::globalPointTransformedSlaves(), mesh, PrimitivePatch< FaceList, PointField >::meshPoints(), Foam::nl, PackedList< Width >::size(), and globalMeshData::syncData().

|
static |
Definition at line 1567 of file syncToolsTemplates.C.
References Foam::abort(), mapDistributeBase::constructSize(), globalMeshData::coupledPatchMeshEdges(), Foam::FatalError, FatalErrorInFunction, forAll, globalMeshData::globalEdgeSlaves(), globalMeshData::globalEdgeSlavesMap(), globalMeshData::globalEdgeTransformedSlaves(), mesh, Foam::nl, PackedList< Width >::size(), and globalMeshData::syncData().

|
static |
Get per point whether it is uncoupled or a master of a coupled set of points.
Definition at line 61 of file syncTools.C.
References globalMeshData::coupledPatch(), forAll, globalMeshData::globalPointSlaves(), globalMeshData::globalPointTransformedSlaves(), mesh, PrimitivePatch< FaceList, PointField >::meshPoints(), bitSet::set(), and bitSet::unset().
Referenced by meshRefinement::printMeshInfo().


|
static |
Get per edge whether it is uncoupled or a master of a coupled set of edges.
Definition at line 90 of file syncTools.C.
References globalMeshData::coupledPatchMeshEdges(), forAll, globalMeshData::globalEdgeSlaves(), globalMeshData::globalEdgeTransformedSlaves(), mesh, bitSet::set(), and bitSet::unset().
Referenced by motionSmootherAlgo::updateMesh().


|
static |
Get per face whether it is uncoupled or a master of a coupled set of faces.
Definition at line 119 of file syncTools.C.
References mesh, pp(), Foam::refCast(), and bitSet::unset().
Referenced by meshRefinement::countHits(), meshRefinement::printMeshInfo(), faceZoneSet::sync(), meshRefinement::updateIntersections(), and meshRefinement::zonify().


|
static |
Get per face whether it is internal or a master of a coupled set of faces.
Definition at line 138 of file syncTools.C.
References mesh, pp(), Foam::refCast(), and bitSet::unset().

|
static |
Get per face whether it is internal or coupled.
Definition at line 164 of file syncTools.C.
References mesh, pp(), and bitSet::unset().
Referenced by snappyLayerDriver::doLayers(), and meshRefinement::getZoneFaces().

