Various tools to aid synchronizing lists across coupled patches. WIP. More...
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. More... | |
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. More... | |
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. More... | |
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. More... | |
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. More... | |
template<class T , class CombineOp , class TransformOp , class FlipOp > | |
static void | syncEdgeList (const polyMesh &mesh, const labelList &meshEdges, List< T > &edgeValues, const CombineOp &cop, const T &nullValue, const TransformOp &top, const FlipOp &fop) |
Synchronize values on selected mesh edges. More... | |
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=Pstream::parRun()) |
Synchronize values on boundary faces only. More... | |
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. More... | |
template<class CombineOp > | |
static void | syncPointPositions (const polyMesh &mesh, List< point > &positions, const CombineOp &cop, const point &nullValue) |
Synchronize locations on all mesh points. More... | |
template<class T , class CombineOp > | |
static void | syncPointList (const polyMesh &mesh, const labelList &meshPoints, List< T > &pointValues, const CombineOp &cop, const T &nullValue) |
Synchronize values on selected mesh points. More... | |
template<class CombineOp > | |
static void | syncPointPositions (const polyMesh &mesh, const labelList &meshPoints, List< point > &positions, const CombineOp &cop, const point &nullValue) |
Synchronize locations on selected mesh points. More... | |
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. More... | |
template<class CombineOp > | |
static void | syncEdgePositions (const polyMesh &mesh, List< point > &positions, const CombineOp &cop, const point &nullValue) |
Synchronize locations on all mesh edges. More... | |
template<class T , class CombineOp > | |
static void | syncEdgeList (const polyMesh &mesh, const labelList &meshEdges, List< T > &edgeValues, const CombineOp &cop, const T &nullValue) |
Synchronize values on selected mesh edges. More... | |
template<class CombineOp > | |
static void | syncEdgePositions (const polyMesh &mesh, const labelList &meshEdges, List< point > &positions, const CombineOp &cop, const point &nullValue) |
Synchronize locations on selected mesh edges. More... | |
template<class T , class CombineOp > | |
static void | syncBoundaryFaceList (const polyMesh &mesh, UList< T > &faceValues, const CombineOp &cop) |
Synchronize values on boundary faces only. More... | |
template<class CombineOp > | |
static void | syncBoundaryFacePositions (const polyMesh &mesh, UList< point > &positions, const CombineOp &cop) |
Synchronize locations on boundary faces only. More... | |
template<class T , class CombineOp > | |
static void | syncFaceList (const polyMesh &mesh, UList< T > &faceValues, const CombineOp &cop) |
Synchronize values on all mesh faces. More... | |
template<class CombineOp > | |
static void | syncFacePositions (const polyMesh &mesh, UList< point > &positions, const CombineOp &cop) |
Synchronize locations on all mesh faces. More... | |
template<class T > | |
static void | swapBoundaryFaceList (const polyMesh &mesh, UList< T > &faceValues) |
Swap coupled boundary face values. Uses eqOp. More... | |
static void | swapBoundaryFacePositions (const polyMesh &mesh, UList< point > &positions) |
Swap coupled positions. Uses eqOp. More... | |
template<class T > | |
static void | swapFaceList (const polyMesh &mesh, UList< T > &faceValues) |
Swap coupled face values. Uses eqOp. More... | |
template<class T > | |
static void | swapBoundaryCellList (const polyMesh &mesh, const UList< T > &cellData, List< T > &neighbourCellData) |
Swap to obtain neighbour cell values for all boundary faces. More... | |
static void | swapBoundaryCellPositions (const polyMesh &mesh, const UList< point > &cellData, List< point > &neighbourCellData) |
Swap to obtain neighbour cell positions for all boundary faces. More... | |
template<class T , class CombineOp > | |
static void | syncPointMap (const polyMesh &mesh, Map< T > &pointValues, const CombineOp &cop) |
Synchronize values on selected points. More... | |
template<class CombineOp > | |
static void | syncPointPositions (const polyMesh &mesh, Map< point > &positions, const CombineOp &cop) |
Synchronize locations on selected points. More... | |
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. More... | |
template<class CombineOp > | |
static void | syncEdgePositions (const polyMesh &mesh, EdgeMap< point > &edgePositions, const CombineOp &cop) |
Synchronize locations on selected edges. More... | |
template<unsigned Width, class CombineOp > | |
static void | syncFaceList (const polyMesh &mesh, const bool isBoundaryOnly, PackedList< Width > &faceValues, const CombineOp &cop, const bool parRun=Pstream::parRun()) |
Synchronize face values from PackedList/bitSet. More... | |
template<unsigned Width, class CombineOp > | |
static void | syncFaceList (const polyMesh &mesh, PackedList< Width > &faceValues, const CombineOp &cop, const bool parRun=Pstream::parRun()) |
Synchronize mesh face values from PackedList/bitSet. More... | |
template<unsigned Width, class CombineOp > | |
static void | syncBoundaryFaceList (const polyMesh &mesh, PackedList< Width > &faceValues, const CombineOp &cop, const bool parRun=Pstream::parRun()) |
Synchronize boundary face values from PackedList/bitSet. More... | |
template<unsigned Width> | |
static void | swapFaceList (const polyMesh &mesh, PackedList< Width > &faceValues) |
Swap coupled face values. Uses eqOp. More... | |
template<unsigned Width> | |
static void | swapBoundaryFaceList (const polyMesh &mesh, PackedList< Width > &faceValues) |
Swap coupled boundary face values. Uses eqOp. More... | |
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) |
static bitSet | getMasterEdges (const polyMesh &mesh) |
static bitSet | getMasterFaces (const polyMesh &mesh) |
static bitSet | getInternalOrMasterFaces (const polyMesh &mesh) |
static bitSet | getInternalOrCoupledFaces (const polyMesh &mesh) |
Get per face whether it is internal or coupled. More... | |
Various tools to aid synchronizing lists across coupled patches. WIP.
Require
Definition at line 66 of file syncTools.H.
|
static |
Synchronize values on selected points.
Definition at line 83 of file syncToolsTemplates.C.
References DynamicList< T, SizeMin >::append(), polyMesh::boundaryMesh(), HashTable< T, Key, Hash >::cfind(), cyclicPolyPatch::coupledPoints(), e, PstreamBuffers::finishedNeighbourSends(), forAll, forAllConstIters, polyMesh::globalData(), HashTable< T, Key, Hash >::insert(), splitCell::master(), UPstream::masterNo(), mesh, PrimitivePatch< FaceList, PointField >::meshPoints(), cyclicPolyPatch::neighbPatch(), globalMeshData::nGlobalPoints(), UPstream::nonBlocking, cyclicPolyPatch::owner(), UPstream::parRun(), patches, HashTable< T, Key, Hash >::resize(), Pstream::scatter(), UPstream::scheduled, HashTable< T, Key, Hash >::set(), globalMeshData::sharedPointAddr(), globalMeshData::sharedPointLabels(), HashTable< T, Key, Hash >::size(), UList< T >::size(), and PstreamBuffers::subProcs().
Referenced by reconstructedDistanceFunction::markCellsNearSurf(), syncTools::syncPointMap(), and syncTools::syncPointPositions().
|
static |
Synchronize values on selected edges.
Definition at line 353 of file syncToolsTemplates.C.
References DynamicList< T, SizeMin >::append(), polyMesh::boundaryMesh(), HashTable< T, Key, Hash >::cfind(), cyclicPolyPatch::coupledEdges(), e, PrimitivePatch< FaceList, PointField >::edges(), f(), polyMesh::faces(), UList< T >::fcIndex(), PstreamBuffers::finishedNeighbourSends(), forAll, forAllConstIters, polyMesh::globalData(), HashTable< T, Key, Hash >::insert(), splitCell::master(), UPstream::masterNo(), mesh, PrimitivePatch< FaceList, PointField >::meshPoints(), cyclicPolyPatch::neighbPatch(), primitiveMesh::nFaces(), primitiveMesh::nInternalFaces(), UPstream::nonBlocking, cyclicPolyPatch::owner(), UPstream::parRun(), patches, Pstream::scatter(), UPstream::scheduled, globalMeshData::sharedPointAddr(), globalMeshData::sharedPointLabels(), HashTable< T, Key, Hash >::size(), UList< T >::size(), and PstreamBuffers::subProcs().
Referenced by holeToFace::calcClosure(), patchPatchDist::correct(), syncTools::syncEdgeMap(), and syncTools::syncEdgePositions().
|
static |
Synchronize values on all mesh points.
Definition at line 701 of file syncToolsTemplates.C.
References Foam::abort(), Foam::FatalError, FatalErrorInFunction, polyMesh::globalData(), mesh, primitiveMesh::nPoints(), UList< T >::size(), and globalMeshData::syncPointData().
Referenced by singleProcessorFaceSets::add(), sensitivitySurface::addGeometricSens(), singleProcessorFaceSets::apply(), sensitivitySurfacePoints::assembleSensitivities(), motionSmootherAlgo::avg(), meshRefinement::blockLeakFaces(), snappySnapDriver::calcNearestSurface(), snappySnapDriver::calcSnapDistance(), edgeCollapser::checkMeshQuality(), pointZone::checkParallelSync(), hexRef8::checkRefinementLevels(), edgeCollapser::consistentCollapse(), hexRef8::consistentSlowRefinement(), sensitivitySurfacePoints::constructGlobalPointNormalsAndAreas(), motionSmootherAlgo::correctBoundaryConditions(), removePoints::countPointUsage(), meshRefinement::dupNonManifoldBoundaryPoints(), meshRefinement::getMasterPoints(), dynamicMultiMotionSolverFvMesh::init(), patchTransformedInterpolation::interpolate(), multiSolidBodyMotionSolver::multiSolidBodyMotionSolver(), motionSmootherAlgo::scaleMesh(), dynamicRefineFvMesh::selectUnrefinePoints(), motionSmootherAlgo::setDisplacement(), addPatchCellLayer::setRefinement(), removeFaces::setRefinement(), combineFaces::setRefinement(), fieldSmoother::smoothNormals(), pointBitSet::sync(), pointSet::sync(), syncTools::syncPointList(), syncTools::syncPointPositions(), weightedPosition::syncPoints(), meshRefinement::testSyncPointList(), meshRefinement::weightedSum(), and zoneMotion::zoneMotion().
|
static |
Synchronize values on selected mesh points.
Definition at line 723 of file syncToolsTemplates.C.
References Foam::abort(), HashTable< T, Key, Hash >::cfind(), globalMeshData::coupledPatch(), Foam::FatalError, FatalErrorInFunction, forAll, polyMesh::globalData(), globalMeshData::globalPointSlaves(), globalMeshData::globalPointSlavesMap(), globalMeshData::globalPointTransformedSlaves(), globalMeshData::globalTransforms(), mesh, PrimitivePatch< FaceList, PointField >::meshPointMap(), PrimitivePatch< FaceList, PointField >::nPoints(), UList< T >::size(), and globalMeshData::syncData().
|
static |
Synchronize values on all mesh edges.
Definition at line 780 of file syncToolsTemplates.C.
References Foam::abort(), edge::compare(), globalMeshData::coupledPatch(), globalMeshData::coupledPatchMeshEdges(), primitiveMesh::edges(), PrimitivePatch< FaceList, PointField >::edges(), Foam::exit(), Foam::FatalError, FatalErrorInFunction, forAll, polyMesh::globalData(), globalMeshData::globalEdgeOrientation(), globalMeshData::globalEdgeSlaves(), globalMeshData::globalEdgeSlavesMap(), globalMeshData::globalEdgeTransformedSlaves(), globalMeshData::globalTransforms(), edge::line(), PrimitivePatch< FaceList, PointField >::localPoints(), mesh, PrimitivePatch< FaceList, PointField >::meshPoints(), primitiveMesh::nEdges(), polyMesh::points(), UList< T >::size(), and globalMeshData::syncData().
Referenced by edgeCollapser::consistentCollapse(), meshRefinement::getMasterEdges(), addPatchCellLayer::globalEdgeFaces(), meshCutter::setRefinement(), addPatchCellLayer::setRefinement(), hexRef8::setRefinement(), removeFaces::setRefinement(), syncTools::syncEdgeList(), and syncTools::syncEdgePositions().
|
static |
Synchronize values on selected mesh edges.
Definition at line 877 of file syncToolsTemplates.C.
References Foam::abort(), HashTable< T, Key, Hash >::cfind(), edge::compare(), globalMeshData::coupledPatch(), globalMeshData::coupledPatchMeshEdgeMap(), primitiveMesh::edges(), PrimitivePatch< FaceList, PointField >::edges(), HashTable< T, Key, Hash >::end(), Foam::exit(), Foam::FatalError, FatalErrorInFunction, HashTable< T, Key, Hash >::find(), forAll, polyMesh::globalData(), 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(), polyMesh::points(), UList< T >::size(), and globalMeshData::syncData().
|
static |
Synchronize values on boundary faces only.
Definition at line 978 of file syncToolsTemplates.C.
References Foam::abort(), DynamicList< T, SizeMin >::append(), polyMesh::boundaryMesh(), UPstream::defaultCommsType, Foam::FatalError, FatalErrorInFunction, PstreamBuffers::finishedNeighbourSends(), fld(), forAll, mesh, primitiveMesh::nBoundaryFaces(), cyclicPolyPatch::neighbPatch(), primitiveMesh::nInternalFaces(), Foam::nl, UPstream::nonBlocking, UPstream::nRequests(), cyclicPolyPatch::owner(), patches, kEpsilonLopesdaCosta< BasicTurbulenceModel >::read(), UList< T >::size(), polyPatch::start(), UPstream::waitRequests(), and ObukhovLength::write().
Referenced by cellToFaceStencil::calcFaceStencil(), polyMeshTetDecomposition::findFaceBasePts(), removeCells::getExposedFaces(), decompositionConstraint::getMinBoundaryValue(), removePoints::getUnrefimentSet(), addPatchCellLayer::setRefinement(), syncTools::swapBoundaryFaceList(), syncTools::swapBoundaryFacePositions(), syncTools::swapFaceList(), syncTools::syncBoundaryFaceList(), syncTools::syncBoundaryFacePositions(), syncTools::syncFaceList(), and syncTools::syncFacePositions().
|
inlinestatic |
Synchronize values on all mesh points.
Definition at line 180 of file syncTools.H.
References mesh, and syncTools::syncPointList().
|
inlinestatic |
Synchronize locations on all mesh points.
Definition at line 200 of file syncTools.H.
References mesh, and syncTools::syncPointList().
|
inlinestatic |
Synchronize values on selected mesh points.
Definition at line 220 of file syncTools.H.
References mesh, and syncTools::syncPointList().
|
inlinestatic |
Synchronize locations on selected mesh points.
Definition at line 242 of file syncTools.H.
References mesh, and syncTools::syncPointList().
|
inlinestatic |
Synchronize values on all mesh edges.
Definition at line 267 of file syncTools.H.
References mesh, and syncTools::syncEdgeList().
|
inlinestatic |
Synchronize locations on all mesh edges.
Definition at line 288 of file syncTools.H.
References mesh, and syncTools::syncEdgeList().
Referenced by hexRef8::setRefinement().
|
inlinestatic |
Synchronize values on selected mesh edges.
Definition at line 309 of file syncTools.H.
References mesh, and syncTools::syncEdgeList().
|
inlinestatic |
Synchronize locations on selected mesh edges.
Definition at line 332 of file syncTools.H.
References mesh, and syncTools::syncEdgeList().
|
inlinestatic |
Synchronize values on boundary faces only.
Definition at line 359 of file syncTools.H.
References mesh, and syncTools::syncBoundaryFaceList().
|
inlinestatic |
Synchronize locations on boundary faces only.
Definition at line 377 of file syncTools.H.
References mesh, and syncTools::syncBoundaryFaceList().
Referenced by meshRefinement::checkData(), and hexRef8::setRefinement().
|
inlinestatic |
Synchronize values on all mesh faces.
Definition at line 395 of file syncTools.H.
References mesh, primitiveMesh::nBoundaryFaces(), primitiveMesh::nInternalFaces(), and syncTools::syncBoundaryFaceList().
Referenced by refinementHistory::add(), geometric::add(), preserveBaffles::add(), preserveFaceZones::add(), preservePatches::add(), singleProcessorFaceSets::add(), polyMeshTetDecomposition::adjustTetBasePtIs(), meshRefinement::balance(), holeToFace::calcClosure(), dynamicRefineFvMesh::calculateProtectedCells(), meshRefinement::collectFaces(), meshRefinement::createBaffles(), dynamicRefineFvMesh::extendMarkedCells(), distanceSurface::filterPrepareRegionSplit(), meshRefinement::growFaceCellFace(), dynamicRefineFvMesh::init(), dynamicOversetFvMesh::normalisation(), hexRef8::setRefinement(), meshRefinement::splitMesh(), faceBitSet::sync(), faceBoolSet::sync(), faceSet::sync(), meshRefinement::updateIntersections(), inverseDistance::walkFront(), and cellVolumeWeight::walkFront().
|
inlinestatic |
Synchronize locations on all mesh faces.
Definition at line 420 of file syncTools.H.
References mesh, primitiveMesh::nBoundaryFaces(), primitiveMesh::nInternalFaces(), and syncTools::syncBoundaryFaceList().
Swap coupled boundary face values. Uses eqOp.
Definition at line 444 of file syncTools.H.
References mesh, and syncTools::syncBoundaryFaceList().
Referenced by decompositionMethod::calcCellCells(), dynamicRefineFvMesh::calculateProtectedCells(), meshRefinement::checkCoupledFaceZones(), meshRefinement::checkData(), hexRef8::checkMesh(), faceZone::checkParallelSync(), hexRef8::checkRefinementLevels(), polyMeshGeometry::checkVolRatio(), hexRef8::consistentSlowRefinement(), hexRef8::consistentUnrefinement(), fluxSummary::initialiseCellZoneAndDirection(), SloanRenumber::renumber(), rotorDiskSource::setFaceArea(), tetDecomposer::setRefinement(), addPatchCellLayer::setRefinement(), hexRef8::setRefinement(), syncTools::swapBoundaryCellList(), and faceZoneSet::sync().
|
inlinestatic |
Swap coupled positions. Uses eqOp.
Definition at line 460 of file syncTools.H.
References mesh, and syncTools::syncBoundaryFaceList().
Referenced by polyMeshGeometry::checkFaceDotProduct(), polyMeshGeometry::checkFaceTets(), polyMeshTetDecomposition::checkFaceTets(), polyMeshGeometry::checkFaceTwist(), polyMeshGeometry::checkFaceWeights(), polyMeshTetDecomposition::findFaceBasePts(), and syncTools::swapBoundaryCellPositions().
Swap coupled face values. Uses eqOp.
Definition at line 477 of file syncTools.H.
References mesh, primitiveMesh::nBoundaryFaces(), primitiveMesh::nInternalFaces(), and syncTools::syncBoundaryFaceList().
Referenced by dynamicRefineFvMesh::init(), and removeFaces::setRefinement().
|
static |
Swap to obtain neighbour cell values for all boundary faces.
Definition at line 1377 of file syncToolsTemplates.C.
References Foam::abort(), polyMesh::boundaryMesh(), Foam::FatalError, FatalErrorInFunction, mesh, primitiveMesh::nBoundaryFaces(), primitiveMesh::nCells(), patches, List< T >::resize(), UList< T >::size(), and syncTools::swapBoundaryFaceList().
Referenced by highAspectRatioFvGeometryScheme::calcAspectRatioWeights(), decompositionMethod::decompose(), cellVolumeWeight::findHoles(), inverseDistance::findHoles(), cellCellStencil::globalCellCells(), meshRefinement::markOutsideFaces(), dynamicOversetFvMesh::normalisation(), polyMeshTools::volRatio(), inverseDistance::walkFront(), cellVolumeWeight::walkFront(), and meshRefinement::zonify().
|
static |
Swap to obtain neighbour cell positions for all boundary faces.
Definition at line 33 of file syncTools.C.
References Foam::abort(), polyMesh::boundaryMesh(), Foam::FatalError, FatalErrorInFunction, mesh, primitiveMesh::nBoundaryFaces(), primitiveMesh::nCells(), primitiveMesh::nInternalFaces(), patches, List< T >::resize(), UList< T >::size(), and syncTools::swapBoundaryFacePositions().
Referenced by searchableSurfaceToFaceZone::applyToSet(), averageNeighbourFvGeometryScheme::averageCentres(), averageNeighbourFvGeometryScheme::averageNeighbourCentres(), polyMeshGeometry::checkFaceSkewness(), polyMeshTools::faceOrthogonality(), polyMeshTools::faceSkewness(), and polyMeshTools::faceWeights().
|
inlinestatic |
Synchronize values on selected points.
Definition at line 520 of file syncTools.H.
References mesh, and syncTools::syncPointMap().
|
inlinestatic |
Synchronize locations on selected points.
Definition at line 538 of file syncTools.H.
References mesh, and syncTools::syncPointMap().
|
inlinestatic |
Synchronize values on selected edges. Edges are represented.
by the two vertices that make it up so global edges never get constructed.
Definition at line 558 of file syncTools.H.
References mesh, and syncTools::syncEdgeMap().
|
inlinestatic |
Synchronize locations on selected edges.
Definition at line 576 of file syncTools.H.
References mesh, and syncTools::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 | True if this is a parallel simulation |
Definition at line 1218 of file syncToolsTemplates.C.
References Foam::abort(), polyMesh::boundaryMesh(), PackedList< Width >::cdata_bytes(), PackedList< Width >::data_bytes(), Foam::FatalError, FatalErrorInFunction, mesh, cyclicPolyPatch::neighbPatch(), primitiveMesh::nFaces(), primitiveMesh::nInternalFaces(), Foam::nl, UPstream::nonBlocking, UPstream::nRequests(), cyclicPolyPatch::owner(), patches, range, kEpsilonLopesdaCosta< BasicTurbulenceModel >::read(), PtrList< T >::set(), PackedList< Width >::set(), PackedList< Width >::size(), UPtrList< T >::size(), PackedList< Width >::size_bytes(), polyPatch::start(), UPstream::waitRequests(), and ObukhovLength::write().
|
static |
Synchronize mesh face values from PackedList/bitSet.
Definition at line 1411 of file syncToolsTemplates.C.
References mesh.
|
static |
Synchronize boundary face values from PackedList/bitSet.
Definition at line 1424 of file syncToolsTemplates.C.
References mesh.
|
static |
Swap coupled face values. Uses eqOp.
Definition at line 1437 of file syncToolsTemplates.C.
References mesh.
|
static |
Swap coupled boundary face values. Uses eqOp.
Definition at line 1448 of file syncToolsTemplates.C.
References mesh.
|
static |
Definition at line 1459 of file syncToolsTemplates.C.
References Foam::abort(), mapDistributeBase::constructSize(), globalMeshData::coupledPatch(), Foam::FatalError, FatalErrorInFunction, forAll, polyMesh::globalData(), globalMeshData::globalPointSlaves(), globalMeshData::globalPointSlavesMap(), globalMeshData::globalPointTransformedSlaves(), mesh, PrimitivePatch< FaceList, PointField >::meshPoints(), primitiveMesh::nPoints(), PackedList< Width >::size(), and globalMeshData::syncData().
|
static |
Definition at line 1502 of file syncToolsTemplates.C.
References Foam::abort(), mapDistributeBase::constructSize(), globalMeshData::coupledPatchMeshEdges(), Foam::FatalError, FatalErrorInFunction, forAll, polyMesh::globalData(), globalMeshData::globalEdgeSlaves(), globalMeshData::globalEdgeSlavesMap(), globalMeshData::globalEdgeTransformedSlaves(), mesh, primitiveMesh::nEdges(), 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 68 of file syncTools.C.
References globalMeshData::coupledPatch(), forAll, polyMesh::globalData(), globalMeshData::globalPointSlaves(), globalMeshData::globalPointTransformedSlaves(), mesh, PrimitivePatch< FaceList, PointField >::meshPoints(), primitiveMesh::nPoints(), 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 97 of file syncTools.C.
References globalMeshData::coupledPatchMeshEdges(), forAll, polyMesh::globalData(), globalMeshData::globalEdgeSlaves(), globalMeshData::globalEdgeTransformedSlaves(), mesh, primitiveMesh::nEdges(), 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 126 of file syncTools.C.
References polyMesh::boundaryMesh(), mesh, primitiveMesh::nFaces(), patches, 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 147 of file syncTools.C.
References polyMesh::boundaryMesh(), mesh, primitiveMesh::nFaces(), patches, and bitSet::unset().
|
static |
Get per face whether it is internal or coupled.
Definition at line 175 of file syncTools.C.
References polyMesh::boundaryMesh(), mesh, primitiveMesh::nFaces(), patches, and bitSet::unset().
Referenced by snappyLayerDriver::doLayers(), and meshRefinement::getZoneFaces().