Loading...
Searching...
No Matches
syncTools Class Reference

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

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]

template<class T, class CombineOp, class TransformOp>
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 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().

Here is the call graph for this function:

◆ syncPointList() [2/5]

template<class T, class CombineOp, class TransformOp>
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]

template<class T, class CombineOp>
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 215 of file syncTools.H.

References mesh, syncPointList(), and Foam::T().

Here is the call graph for this function:

◆ syncPointPositions() [1/3]

template<class CombineOp>
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 239 of file syncTools.H.

References mesh, and syncPointList().

Here is the call graph for this function:

◆ syncPointList() [4/5]

template<class T, class CombineOp>
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 263 of file syncTools.H.

References mesh, syncPointList(), and Foam::T().

Here is the call graph for this function:

◆ syncPointPositions() [2/3]

template<class CombineOp>
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 289 of file syncTools.H.

References mesh, and syncPointList().

Here is the call graph for this function:

◆ syncEdgeList() [3/5]

template<class T, class CombineOp>
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 318 of file syncTools.H.

References mesh, syncEdgeList(), and Foam::T().

Here is the call graph for this function:

◆ syncEdgePositions() [1/3]

template<class CombineOp>
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 343 of file syncTools.H.

References mesh, and syncEdgeList().

Referenced by hexRef8::setRefinement().

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

◆ syncEdgeList() [4/5]

template<class T, class CombineOp>
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 368 of file syncTools.H.

References mesh, syncEdgeList(), and Foam::T().

Here is the call graph for this function:

◆ syncEdgePositions() [2/3]

template<class CombineOp>
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 395 of file syncTools.H.

References mesh, and syncEdgeList().

Here is the call graph for this function:

◆ syncBoundaryFaceList() [2/3]

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

Synchronize values on boundary faces only.

Definition at line 424 of file syncTools.H.

References mesh, and syncBoundaryFaceList().

Here is the call graph for this function:

◆ syncBoundaryFacePositions()

template<class CombineOp>
void syncBoundaryFacePositions ( const polyMesh & mesh,
UList< point > & positions,
const CombineOp & cop )
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().

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

◆ syncFaceList() [1/3]

◆ syncFacePositions()

template<class CombineOp>
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 494 of file syncTools.H.

References mesh, UPstream::parRun(), and syncBoundaryFaceList().

Here is the call graph for this function:

◆ swapBoundaryFaceList() [1/2]

◆ swapBoundaryFacePositions()

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

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

◆ swapFaceList() [1/2]

template<class T>
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 566 of file syncTools.H.

References mesh, UPstream::parRun(), and 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]

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

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

◆ swapBoundaryCellList() [2/2]

template<class T>
List< T > swapBoundaryCellList ( const polyMesh & mesh,
const UList< T > & cellData,
const bool parRun = UPstream::parRun() )
inlinestaticnodiscard

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

Parameters
parRunAllow parallel communication

Definition at line 623 of file syncTools.H.

References mesh, UPstream::parRun(), and swapBoundaryCellList().

Here is the call graph for this function:

◆ swapBoundaryCellPositions() [2/2]

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

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

Parameters
parRunAllow parallel communication

Definition at line 640 of file syncTools.H.

References mesh, UPstream::parRun(), and swapBoundaryCellPositions().

Here is the call graph for this function:

◆ syncPointMap() [2/2]

template<class T, class CombineOp>
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 662 of file syncTools.H.

References mesh, and syncPointMap().

Here is the call graph for this function:

◆ syncPointPositions() [3/3]

template<class CombineOp>
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 684 of file syncTools.H.

References mesh, and syncPointMap().

Here is the call graph for this function:

◆ syncEdgeMap() [2/2]

template<class T, class CombineOp>
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 708 of file syncTools.H.

References mesh, and syncEdgeMap().

Here is the call graph for this function:

◆ syncEdgePositions() [3/3]

template<class CombineOp>
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 730 of file syncTools.H.

References mesh, and syncEdgeMap().

Here is the call graph for this function:

◆ syncFaceList() [2/3]

template<unsigned Width, class CombineOp>
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 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().

Here is the call graph for this function:

◆ syncFaceList() [3/3]

template<unsigned Width, class CombineOp>
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 1462 of file syncToolsTemplates.C.

References mesh, and syncFaceList().

Here is the call graph for this function:

◆ syncBoundaryFaceList() [3/3]

template<unsigned Width, class CombineOp>
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 1475 of file syncToolsTemplates.C.

References mesh, and syncFaceList().

Here is the call graph for this function:

◆ swapFaceList() [2/2]

template<unsigned Width>
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 1488 of file syncToolsTemplates.C.

References mesh, and syncFaceList().

Here is the call graph for this function:

◆ swapBoundaryFaceList() [2/2]

template<unsigned Width>
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 1506 of file syncToolsTemplates.C.

References mesh, and syncBoundaryFaceList().

Here is the call graph for this function:

◆ syncPointList() [5/5]

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

◆ syncEdgeList() [5/5]

template<unsigned Width, class CombineOp>
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 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().

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 globalMeshData::coupledPatchMeshEdges(), forAll, globalMeshData::globalEdgeSlaves(), globalMeshData::globalEdgeTransformedSlaves(), mesh, bitSet::set(), and bitSet::unset().

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 mesh, pp(), Foam::refCast(), 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 138 of file syncTools.C.

References mesh, pp(), Foam::refCast(), 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 164 of file syncTools.C.

References mesh, 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: