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 labelUList &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=UPstream::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 labelUList &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 labelUList &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 labelUList &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 labelUList &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, const bool parRun=UPstream::parRun())
 Synchronize values on all mesh faces. More...
 
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. More...
 
template<class T >
static void swapBoundaryFaceList (const polyMesh &mesh, UList< T > &faceValues, const bool parRun=UPstream::parRun())
 Swap coupled boundary face values. Uses eqOp. More...
 
static void swapBoundaryFacePositions (const polyMesh &mesh, UList< point > &positions, const bool parRun=UPstream::parRun())
 Swap coupled positions. Uses eqOp. More...
 
template<class T >
static void swapFaceList (const polyMesh &mesh, UList< T > &faceValues, const bool parRun=UPstream::parRun())
 Swap coupled face values. Uses eqOp. More...
 
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. More...
 
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. More...
 
template<class T >
static FOAM_NODISCARD List< TswapBoundaryCellList (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. More...
 
static FOAM_NODISCARD List< pointswapBoundaryCellPositions (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. 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 by the two vertices that make it up so global edges never get constructed. 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=UPstream::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=UPstream::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=UPstream::parRun())
 Synchronize boundary face values from PackedList/bitSet. More...
 
template<unsigned Width>
static void swapFaceList (const polyMesh &mesh, PackedList< Width > &faceValues, const bool parRun=UPstream::parRun())
 Swap coupled face values. Uses eqOp. More...
 
template<unsigned Width>
static void swapBoundaryFaceList (const polyMesh &mesh, PackedList< Width > &faceValues, const bool parRun=UPstream::parRun())
 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)
 Get per point whether it is uncoupled or a master of a coupled set of points. More...
 
static bitSet getMasterEdges (const polyMesh &mesh)
 Get per edge whether it is uncoupled or a master of a coupled set of edges. More...
 
static bitSet getMasterFaces (const polyMesh &mesh)
 Get per face whether it is uncoupled or a master of a coupled set of faces. More...
 
static bitSet getInternalOrMasterFaces (const polyMesh &mesh)
 Get per face whether it is internal or a master of a coupled set of faces. More...
 
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 be defined.
  • null value which gets overridden by any valid value.
  • transform function
Source files

Definition at line 62 of file syncTools.H.

Member Function Documentation

◆ syncPointMap() [1/2]

◆ syncEdgeMap() [1/2]

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

Communication if UPstream::parRun() == true.

Definition at line 735 of file syncToolsTemplates.C.

References Foam::abort(), Foam::FatalError, FatalErrorInFunction, polyMesh::globalData(), mesh, Foam::nl, primitiveMesh::nPoints(), UList< T >::size(), and globalMeshData::syncPointData().

Referenced by singleProcessorFaceSets::add(), singleProcessorFaceSets::apply(), sensitivitySurfacePoints::assembleSensitivities(), motionSmootherAlgo::avg(), meshRefinement::blockLeakFaces(), snappySnapDriver::calcNearestSurface(), snappySnapDriver::calcSnapDistance(), pointZone::checkParallelSync(), hexRef8::checkRefinementLevels(), edgeCollapser::consistentCollapse(), hexRef8::consistentSlowRefinement(), sensitivitySurfacePoints::constructGlobalPointNormalsAndAreas(), motionSmootherAlgo::correctBoundaryConditions(), removePoints::countPointUsage(), laplacianMotionSolver::curPoints(), pLaplacianMotionSolver::curPoints(), 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]

◆ syncEdgeList() [2/5]

◆ syncBoundaryFaceList() [1/3]

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

Communication if UPstream::parRun() == true.

Definition at line 216 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.

Communication if UPstream::parRun() == true.

Definition at line 240 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 labelUList meshPoints,
List< T > &  pointValues,
const CombineOp &  cop,
const T nullValue 
)
inlinestatic

Synchronize values on selected mesh points.

Communication if UPstream::parRun() == true.

Definition at line 264 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 labelUList meshPoints,
List< point > &  positions,
const CombineOp &  cop,
const point nullValue 
)
inlinestatic

Synchronize locations on selected mesh points.

Communication if UPstream::parRun() == true.

Definition at line 290 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.

Communication if UPstream::parRun() == true.

Definition at line 319 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.

Communication if UPstream::parRun() == true.

Definition at line 344 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 labelUList meshEdges,
List< T > &  edgeValues,
const CombineOp &  cop,
const T nullValue 
)
inlinestatic

Synchronize values on selected mesh edges.

Communication if UPstream::parRun() == true.

Definition at line 369 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 labelUList meshEdges,
List< point > &  positions,
const CombineOp &  cop,
const point nullValue 
)
inlinestatic

Synchronize locations on selected mesh edges.

Communication if UPstream::parRun() == true.

Definition at line 396 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 425 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 445 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,
const bool  parRun = UPstream::parRun() 
)
inlinestatic

◆ syncFacePositions()

static void syncFacePositions ( const polyMesh mesh,
UList< point > &  positions,
const CombineOp &  cop,
const bool  parRun = UPstream::parRun() 
)
inlinestatic

Synchronize locations on all mesh faces.

Parameters
parRunAllow parallel communication

Definition at line 495 of file syncTools.H.

References mesh, and syncTools::syncBoundaryFaceList().

Here is the call graph for this function:

◆ swapBoundaryFaceList() [1/2]

◆ swapBoundaryFacePositions()

static void swapBoundaryFacePositions ( const polyMesh mesh,
UList< point > &  positions,
const bool  parRun = UPstream::parRun() 
)
inlinestatic

Swap coupled positions. Uses eqOp.

Parameters
parRunAllow parallel communication

Definition at line 545 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,
const bool  parRun = UPstream::parRun() 
)
inlinestatic

Swap coupled face values. Uses eqOp.

Parameters
parRunAllow parallel communication

Definition at line 567 of file syncTools.H.

References mesh, and syncTools::syncBoundaryFaceList().

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

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

◆ swapBoundaryCellList() [1/2]

void swapBoundaryCellList ( const polyMesh mesh,
const UList< T > &  cellData,
List< T > &  neighbourCellData,
const bool  parRun = UPstream::parRun() 
)
static

Extract and swap to obtain neighbour cell values for all boundary faces.

Parameters
parRunAllow parallel communication

Definition at line 1404 of file syncToolsTemplates.C.

References Foam::abort(), polyMesh::boundaryMesh(), Foam::FatalError, FatalErrorInFunction, mesh, primitiveMesh::nBoundaryFaces(), primitiveMesh::nCells(), Foam::nl, patches, pp(), List< T >::resize(), UList< T >::size(), and syncTools::swapBoundaryFaceList().

Referenced by decompositionMethod::decompose(), cellCellStencil::globalCellCells(), cellCellStencil::setUpFront(), syncTools::swapBoundaryCellList(), and meshRefinement::zonify().

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

◆ swapBoundaryCellPositions() [1/2]

void swapBoundaryCellPositions ( const polyMesh mesh,
const UList< point > &  cellData,
List< point > &  neighbourCellData,
const bool  parRun = UPstream::parRun() 
)
static

Extract and swap to obtain neighbour cell positions for all boundary faces.

Parameters
parRunAllow parallel communication

Definition at line 27 of file syncTools.C.

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

Referenced by polyMeshGeometry::checkFaceSkewness(), and syncTools::swapBoundaryCellPositions().

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

◆ swapBoundaryCellList() [2/2]

static FOAM_NODISCARD List<T> swapBoundaryCellList ( const polyMesh mesh,
const UList< T > &  cellData,
const bool  parRun = UPstream::parRun() 
)
inlinestatic

Return neighbour cell values for all boundary faces by swapping via boundary faces.

Parameters
parRunAllow parallel communication

Definition at line 624 of file syncTools.H.

References mesh, and syncTools::swapBoundaryCellList().

Here is the call graph for this function:

◆ swapBoundaryCellPositions() [2/2]

static FOAM_NODISCARD List<point> swapBoundaryCellPositions ( const polyMesh mesh,
const UList< point > &  cellData,
const bool  parRun = UPstream::parRun() 
)
inlinestatic

Return neighbour cell positions for all boundary faces by swapping via boundary faces.

Parameters
parRunAllow parallel communication

Definition at line 641 of file syncTools.H.

References mesh, and syncTools::swapBoundaryCellPositions().

Here is the call 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.

Communication if UPstream::parRun() == true.

Definition at line 663 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.

Communication if UPstream::parRun() == true.

Definition at line 685 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.

Communication if UPstream::parRun() == true.

Definition at line 709 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.

Communication if UPstream::parRun() == true.

Definition at line 731 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 = UPstream::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
parRunAllow parallel communication

Definition at line 1255 of file syncToolsTemplates.C.

References Foam::abort(), polyMesh::boundaryMesh(), Foam::FatalError, FatalErrorInFunction, mesh, cyclicPolyPatch::neighbPatch(), primitiveMesh::nFaces(), primitiveMesh::nInternalFaces(), Foam::nl, UPstream::nonBlocking, UPstream::nRequests(), cyclicPolyPatch::owner(), UPstream::parRun(), patches, pp(), range, UIPstream::read(), PackedList< Width >::set(), UPtrList< T >::size(), PackedList< Width >::size(), 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 = UPstream::parRun() 
)
static

Synchronize mesh face values from PackedList/bitSet.

Parameters
parRunAllow parallel communication

Definition at line 1442 of file syncToolsTemplates.C.

References mesh.

◆ syncBoundaryFaceList() [3/3]

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

Synchronize boundary face values from PackedList/bitSet.

Parameters
parRunAllow parallel communication

Definition at line 1455 of file syncToolsTemplates.C.

References mesh.

◆ swapFaceList() [2/2]

void swapFaceList ( const polyMesh mesh,
PackedList< Width > &  faceValues,
const bool  parRun = UPstream::parRun() 
)
static

Swap coupled face values. Uses eqOp.

Parameters
parRunAllow parallel communication

Definition at line 1468 of file syncToolsTemplates.C.

References mesh.

◆ swapBoundaryFaceList() [2/2]

void swapBoundaryFaceList ( const polyMesh mesh,
PackedList< Width > &  faceValues,
const bool  parRun = UPstream::parRun() 
)
static

Swap coupled boundary face values. Uses eqOp.

Parameters
parRunAllow parallel communication

Definition at line 1486 of file syncToolsTemplates.C.

References mesh.

◆ syncPointList() [5/5]

◆ syncEdgeList() [5/5]

◆ 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 61 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 90 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 119 of file syncTools.C.

References polyMesh::boundaryMesh(), mesh, primitiveMesh::nFaces(), pp(), and bitSet::unset().

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 139 of file syncTools.C.

References polyMesh::boundaryMesh(), mesh, primitiveMesh::nFaces(), pp(), and bitSet::unset().

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 165 of file syncTools.C.

References polyMesh::boundaryMesh(), mesh, primitiveMesh::nFaces(), pp(), and bitSet::unset().

Referenced by snappyLayerDriver::doLayers(), and meshRefinement::getZoneFaces().

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: