Go to the documentation of this file.
58 if (sCells.size() > 0)
60 sumSize += sCells.size();
62 minSize =
min(minSize, sCells.size());
63 maxSize =
max(maxSize, sCells.size());
72 os <<
"Stencil size :" <<
nl
73 <<
" average : " << scalar(sumSize)/nSum <<
nl
74 <<
" min : " << minSize <<
nl
75 <<
" max : " << maxSize <<
nl
83 if (proci != Pstream::myProcNo())
85 nSent += map.
subMap()[proci].size();
89 nLocal += map.
subMap()[proci].size();
113 refCast<const coupledPolyPatch>(
patches[patchi]);
118 <<
"Coupled patches with transformations not supported."
const labelListList & subMap() const
From subsetted data back to original data.
T returnReduce(const T &Value, const BinaryOp &bop, const int tag=Pstream::msgType(), const label comm=UPstream::worldComm)
A polyBoundaryMesh is a polyPatch list with additional search methods and registered IO.
extendedCellToFaceStencil(const polyMesh &)
Construct from mesh.
Ostream & endl(Ostream &os)
Add newline and flush stream.
The coupledPolyPatch is an abstract base class for patches that couple regions of the computational d...
label min(const labelHashSet &set, label minValue=labelMax)
Find the min value in labelHashSet, optionally limited by second argument.
Mesh consisting of general polyhedral cells.
#define forAll(list, i)
Loop across all elements in list.
virtual bool parallel() const
Are the cyclic planes parallel.
virtual bool separated() const
Are the planes separated.
Class containing processor-to-processor mapping information.
label max(const labelHashSet &set, label maxValue=labelMin)
Find the max value in labelHashSet, optionally limited by second argument.
reduce(hasMovingMesh, orOp< bool >())
OBJstream os(runTime.globalPath()/outputName)
errorManipArg< error, int > exit(error &err, const int errNo=1)
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
static void writeStencilStats(Ostream &os, const labelListList &stencil, const mapDistribute &map)
Write some statistics about stencil.
const polyBoundaryMesh & patches
const word & name() const noexcept
The patch name.
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
bool coupled(solutionDict.getOrDefault("coupledEnergyField", false))
defineTypeNameAndDebug(combustionModel, 0)