syncTools Class Reference

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...
 

Detailed Description

Various tools to aid synchronizing lists across coupled patches. WIP.

Require

  • combineOperator (e.g. sumEqOp - not sumOp!) that is defined for the type and combineReduce(UList<T>, combineOperator) should be defined.
  • null value which gets overridden by any valid value.
  • transform function
Source files

Definition at line 66 of file syncTools.H.

Member Function Documentation

◆ syncPointMap() [1/2]

void syncPointMap ( const polyMesh mesh,
Map< T > &  pointValues,
const CombineOp &  cop,
const TransformOp &  top 
)
static

Synchronize values on selected points.

Definition at line 84 of file syncToolsTemplates.C.

References polyMesh::boundaryMesh(), Foam::ListListOps::combine(), cyclicPolyPatch::coupledPoints(), Foam::constant::electromagnetic::e, PstreamBuffers::finishedSends(), forAll, forAllConstIters(), polyMesh::globalData(), UPstream::master(), UPstream::masterNo(), mesh, PrimitivePatch< FaceList, PointField >::meshPoints(), cyclicPolyPatch::neighbPatch(), globalMeshData::nGlobalPoints(), UPstream::nonBlocking, cyclicPolyPatch::owner(), UPstream::parRun(), patches, UPstream::scheduled, globalMeshData::sharedPointAddr(), globalMeshData::sharedPointLabels(), and UPstream::subProcs().

Referenced by reconstructedDistanceFunction::markCellsNearSurf(), syncTools::syncPointMap(), and syncTools::syncPointPositions().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ syncEdgeMap() [1/2]

void syncEdgeMap ( const polyMesh mesh,
EdgeMap< T > &  edgeValues,
const CombineOp &  cop,
const TransformOp &  top 
)
static

◆ syncPointList() [1/5]

void syncPointList ( const polyMesh mesh,
List< T > &  pointValues,
const CombineOp &  cop,
const T nullValue,
const TransformOp &  top 
)
static

Synchronize values on all mesh points.

Definition at line 721 of file syncToolsTemplates.C.

References Foam::abort(), Foam::FatalError, FatalErrorInFunction, polyMesh::globalData(), mesh, primitiveMesh::nPoints(), and globalMeshData::syncPointData().

Referenced by singleProcessorFaceSets::add(), sensitivitySurface::addGeometricSens(), snappyLayerDriver::addLayers(), singleProcessorFaceSets::apply(), sensitivitySurfacePoints::assembleSensitivities(), motionSmootherAlgo::avg(), snappySnapDriver::calcNearestSurface(), snappySnapDriver::calcSnapDistance(), pointZone::checkParallelSync(), hexRef8::checkRefinementLevels(), edgeCollapser::consistentCollapse(), hexRef8::consistentSlowRefinement(), sensitivitySurfacePoints::constructGlobalPointNormalsAndAreas(), motionSmootherAlgo::correctBoundaryConditions(), removePoints::countPointUsage(), meshRefinement::dupNonManifoldBoundaryPoints(), meshRefinement::getMasterPoints(), dynamicMultiMotionSolverFvMesh::init(), patchTransformedInterpolation::interpolate(), motionSmootherAlgo::scaleMesh(), dynamicRefineFvMesh::selectUnrefinePoints(), motionSmootherAlgo::setDisplacement(), combineFaces::setRefinement(), removeFaces::setRefinement(), addPatchCellLayer::setRefinement(), fieldSmoother::smoothNormals(), pointBitSet::sync(), pointSet::sync(), syncTools::syncPointList(), syncTools::syncPointPositions(), weightedPosition::syncPoints(), meshRefinement::testSyncPointList(), and meshRefinement::weightedSum().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ syncPointList() [2/5]

void syncPointList ( const polyMesh mesh,
const labelUList meshPoints,
List< T > &  pointValues,
const CombineOp &  cop,
const T nullValue,
const TransformOp &  top 
)
static

◆ syncEdgeList() [1/5]

void syncEdgeList ( const polyMesh mesh,
List< T > &  edgeValues,
const CombineOp &  cop,
const T nullValue,
const TransformOp &  top,
const FlipOp &  fop 
)
static

◆ syncEdgeList() [2/5]

◆ syncBoundaryFaceList() [1/3]

void syncBoundaryFaceList ( const polyMesh mesh,
UList< T > &  faceValues,
const CombineOp &  cop,
const TransformOp &  top,
const bool  parRun = Pstream::parRun() 
)
static

◆ syncPointList() [3/5]

static void syncPointList ( const polyMesh mesh,
List< T > &  pointValues,
const CombineOp &  cop,
const T nullValue 
)
inlinestatic

Synchronize values on all mesh points.

Definition at line 181 of file syncTools.H.

References mesh, and syncTools::syncPointList().

Here is the call graph for this function:

◆ syncPointPositions() [1/3]

static void syncPointPositions ( const polyMesh mesh,
List< point > &  positions,
const CombineOp &  cop,
const point nullValue 
)
inlinestatic

Synchronize locations on all mesh points.

Definition at line 201 of file syncTools.H.

References mesh, and syncTools::syncPointList().

Here is the call graph for this function:

◆ syncPointList() [4/5]

static void syncPointList ( const polyMesh mesh,
const labelList meshPoints,
List< T > &  pointValues,
const CombineOp &  cop,
const T nullValue 
)
inlinestatic

Synchronize values on selected mesh points.

Definition at line 221 of file syncTools.H.

References mesh, and syncTools::syncPointList().

Here is the call graph for this function:

◆ syncPointPositions() [2/3]

static void syncPointPositions ( const polyMesh mesh,
const labelList meshPoints,
List< point > &  positions,
const CombineOp &  cop,
const point nullValue 
)
inlinestatic

Synchronize locations on selected mesh points.

Definition at line 243 of file syncTools.H.

References mesh, and syncTools::syncPointList().

Here is the call graph for this function:

◆ syncEdgeList() [3/5]

static void syncEdgeList ( const polyMesh mesh,
List< T > &  edgeValues,
const CombineOp &  cop,
const T nullValue 
)
inlinestatic

Synchronize values on all mesh edges.

Definition at line 268 of file syncTools.H.

References mesh, and syncTools::syncEdgeList().

Here is the call graph for this function:

◆ syncEdgePositions() [1/3]

static void syncEdgePositions ( const polyMesh mesh,
List< point > &  positions,
const CombineOp &  cop,
const point nullValue 
)
inlinestatic

Synchronize locations on all mesh edges.

Definition at line 289 of file syncTools.H.

References mesh, and syncTools::syncEdgeList().

Referenced by hexRef8::setRefinement().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ syncEdgeList() [4/5]

static void syncEdgeList ( const polyMesh mesh,
const labelList meshEdges,
List< T > &  edgeValues,
const CombineOp &  cop,
const T nullValue 
)
inlinestatic

Synchronize values on selected mesh edges.

Definition at line 310 of file syncTools.H.

References mesh, and syncTools::syncEdgeList().

Here is the call graph for this function:

◆ syncEdgePositions() [2/3]

static void syncEdgePositions ( const polyMesh mesh,
const labelList meshEdges,
List< point > &  positions,
const CombineOp &  cop,
const point nullValue 
)
inlinestatic

Synchronize locations on selected mesh edges.

Definition at line 333 of file syncTools.H.

References mesh, and syncTools::syncEdgeList().

Here is the call graph for this function:

◆ syncBoundaryFaceList() [2/3]

static void syncBoundaryFaceList ( const polyMesh mesh,
UList< T > &  faceValues,
const CombineOp &  cop 
)
inlinestatic

Synchronize values on boundary faces only.

Definition at line 360 of file syncTools.H.

References mesh, and syncTools::syncBoundaryFaceList().

Here is the call graph for this function:

◆ syncBoundaryFacePositions()

static void syncBoundaryFacePositions ( const polyMesh mesh,
UList< point > &  positions,
const CombineOp &  cop 
)
inlinestatic

Synchronize locations on boundary faces only.

Definition at line 378 of file syncTools.H.

References mesh, and syncTools::syncBoundaryFaceList().

Referenced by meshRefinement::checkData(), and hexRef8::setRefinement().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ syncFaceList() [1/3]

static void syncFaceList ( const polyMesh mesh,
UList< T > &  faceValues,
const CombineOp &  cop 
)
inlinestatic

Synchronize values on all mesh faces.

Definition at line 396 of file syncTools.H.

References mesh, and syncTools::syncBoundaryFaceList().

Referenced by preserveBaffles::add(), singleProcessorFaceSets::add(), refinementHistory::add(), meshRefinement::balance(), meshRefinement::createBaffles(), dynamicRefineFvMesh::extendMarkedCells(), dynamicRefineFvMesh::init(), dynamicOversetFvMesh::normalisation(), hexRef8::setRefinement(), meshRefinement::splitMesh(), faceBoolSet::sync(), faceBitSet::sync(), faceSet::sync(), and meshRefinement::updateIntersections().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ syncFacePositions()

static void syncFacePositions ( const polyMesh mesh,
UList< point > &  positions,
const CombineOp &  cop 
)
inlinestatic

Synchronize locations on all mesh faces.

Definition at line 421 of file syncTools.H.

References mesh, and syncTools::syncBoundaryFaceList().

Here is the call graph for this function:

◆ swapBoundaryFaceList() [1/2]

static void swapBoundaryFaceList ( const polyMesh mesh,
UList< T > &  faceValues 
)
inlinestatic

Swap coupled boundary face values. Uses eqOp.

Definition at line 445 of file syncTools.H.

References mesh, and syncTools::syncBoundaryFaceList().

Referenced by decompositionMethod::calcCellCells(), meshRefinement::checkCoupledFaceZones(), meshRefinement::checkData(), hexRef8::checkMesh(), faceZone::checkParallelSync(), hexRef8::checkRefinementLevels(), polyMeshGeometry::checkVolRatio(), hexRef8::consistentSlowRefinement(), hexRef8::consistentUnrefinement(), fluxSummary::initialiseCellZoneAndDirection(), SloanRenumber::renumber(), rotorDiskSource::setFaceArea(), tetDecomposer::setRefinement(), hexRef8::setRefinement(), syncTools::swapBoundaryCellList(), and faceZoneSet::sync().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ swapBoundaryFacePositions()

static void swapBoundaryFacePositions ( const polyMesh mesh,
UList< point > &  positions 
)
inlinestatic

Swap coupled positions. Uses eqOp.

Definition at line 461 of file syncTools.H.

References mesh, and syncTools::syncBoundaryFaceList().

Referenced by polyMeshGeometry::checkFaceDotProduct(), polyMeshGeometry::checkFaceTets(), polyMeshGeometry::checkFaceTwist(), and polyMeshGeometry::checkFaceWeights().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ swapFaceList() [1/2]

static void swapFaceList ( const polyMesh mesh,
UList< T > &  faceValues 
)
inlinestatic

Swap coupled face values. Uses eqOp.

Definition at line 478 of file syncTools.H.

References mesh, and syncTools::syncBoundaryFaceList().

Referenced by dynamicRefineFvMesh::init(), and removeFaces::setRefinement().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ swapBoundaryCellList()

void swapBoundaryCellList ( const polyMesh mesh,
const UList< T > &  cellData,
List< T > &  neighbourCellData 
)
static

Swap to obtain neighbour cell values for all boundary faces.

Definition at line 1392 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 decompositionMethod::decompose(), cellCellStencil::globalCellCells(), dynamicOversetFvMesh::normalisation(), and meshRefinement::zonify().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ swapBoundaryCellPositions()

void swapBoundaryCellPositions ( const polyMesh mesh,
const UList< point > &  cellData,
List< point > &  neighbourCellData 
)
static

Swap to obtain neighbour cell positions for all boundary faces.

Definition at line 34 of file syncTools.C.

References Foam::abort(), Foam::FatalError, FatalErrorInFunction, mesh, patches, List< T >::resize(), and UList< T >::size().

Referenced by polyMeshGeometry::checkFaceSkewness().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ syncPointMap() [2/2]

static void syncPointMap ( const polyMesh mesh,
Map< T > &  pointValues,
const CombineOp &  cop 
)
inlinestatic

Synchronize values on selected points.

Definition at line 521 of file syncTools.H.

References mesh, and syncTools::syncPointMap().

Here is the call graph for this function:

◆ syncPointPositions() [3/3]

static void syncPointPositions ( const polyMesh mesh,
Map< point > &  positions,
const CombineOp &  cop 
)
inlinestatic

Synchronize locations on selected points.

Definition at line 539 of file syncTools.H.

References mesh, and syncTools::syncPointMap().

Here is the call graph for this function:

◆ syncEdgeMap() [2/2]

static void syncEdgeMap ( const polyMesh mesh,
EdgeMap< T > &  edgeValues,
const CombineOp &  cop 
)
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 559 of file syncTools.H.

References mesh, and syncTools::syncEdgeMap().

Here is the call graph for this function:

◆ syncEdgePositions() [3/3]

static void syncEdgePositions ( const polyMesh mesh,
EdgeMap< point > &  edgePositions,
const CombineOp &  cop 
)
inlinestatic

Synchronize locations on selected edges.

Definition at line 577 of file syncTools.H.

References mesh, and syncTools::syncEdgeMap().

Here is the call graph for this function:

◆ syncFaceList() [2/3]

void syncFaceList ( const polyMesh mesh,
const bool  isBoundaryOnly,
PackedList< Width > &  faceValues,
const CombineOp &  cop,
const bool  parRun = Pstream::parRun() 
)
static

Synchronize face values from PackedList/bitSet.

Parameters
meshThe mesh
isBoundaryOnlyTrue if faceValues are for the boundary only and not the entire mesh. This determines the face offset when accessing values.
faceValuesThe face values to synchronize
copThe combine operation
parRunTrue if this is a parallel simulation

Definition at line 1233 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, UIPstream::read(), PackedList< Width >::set(), PackedList< Width >::size(), PackedList< Width >::size_bytes(), polyPatch::start(), UPstream::waitRequests(), and UOPstream::write().

Here is the call graph for this function:

◆ syncFaceList() [3/3]

void syncFaceList ( const polyMesh mesh,
PackedList< Width > &  faceValues,
const CombineOp &  cop,
const bool  parRun = Pstream::parRun() 
)
static

Synchronize mesh face values from PackedList/bitSet.

Definition at line 1426 of file syncToolsTemplates.C.

References mesh.

◆ syncBoundaryFaceList() [3/3]

void syncBoundaryFaceList ( const polyMesh mesh,
PackedList< Width > &  faceValues,
const CombineOp &  cop,
const bool  parRun = Pstream::parRun() 
)
static

Synchronize boundary face values from PackedList/bitSet.

Definition at line 1439 of file syncToolsTemplates.C.

References mesh.

◆ swapFaceList() [2/2]

void swapFaceList ( const polyMesh mesh,
PackedList< Width > &  faceValues 
)
static

Swap coupled face values. Uses eqOp.

Definition at line 1452 of file syncToolsTemplates.C.

References mesh.

◆ swapBoundaryFaceList() [2/2]

void swapBoundaryFaceList ( const polyMesh mesh,
PackedList< Width > &  faceValues 
)
static

Swap coupled boundary face values. Uses eqOp.

Definition at line 1463 of file syncToolsTemplates.C.

References mesh.

◆ syncPointList() [5/5]

void syncPointList ( const polyMesh mesh,
PackedList< Width > &  pointValues,
const CombineOp &  cop,
const unsigned int  nullValue 
)
static

◆ syncEdgeList() [5/5]

void syncEdgeList ( const polyMesh mesh,
PackedList< Width > &  edgeValues,
const CombineOp &  cop,
const unsigned int  nullValue 
)
static

◆ getMasterPoints()

Foam::bitSet getMasterPoints ( const polyMesh mesh)
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 forAll, mesh, and List< T >::set().

Referenced by meshRefinement::printMeshInfo().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ getMasterEdges()

Foam::bitSet getMasterEdges ( const polyMesh mesh)
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 forAll, polyMesh::globalData(), mesh, primitiveMesh::nEdges(), and List< T >::set().

Referenced by motionSmootherAlgo::updateMesh().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ getMasterFaces()

Foam::bitSet getMasterFaces ( const polyMesh mesh)
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(), and patches.

Referenced by meshRefinement::countHits(), meshRefinement::printMeshInfo(), faceZoneSet::sync(), meshRefinement::updateIntersections(), and meshRefinement::zonify().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ getInternalOrMasterFaces()

Foam::bitSet getInternalOrMasterFaces ( const polyMesh mesh)
static

Get per face whether it is internal or a master of a coupled set of faces

Definition at line 148 of file syncTools.C.

References polyMesh::boundaryMesh(), mesh, primitiveMesh::nFaces(), and patches.

Here is the call graph for this function:

◆ getInternalOrCoupledFaces()

Foam::bitSet getInternalOrCoupledFaces ( const polyMesh mesh)
static

Get per face whether it is internal or coupled.

Definition at line 176 of file syncTools.C.

References polyMesh::boundaryMesh(), mesh, primitiveMesh::nFaces(), and patches.

Referenced by snappyLayerDriver::doLayers().

Here is the call graph for this function:
Here is the caller graph for this function:

The documentation for this class was generated from the following files: