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());
66 reduce(sumSize, sumOp<label>());
67 reduce(nSum, sumOp<label>());
69 reduce(minSize, minOp<label>());
70 reduce(maxSize, maxOp<label>());
72 os <<
"Stencil size :" <<
nl
73 <<
" average : " << scalar(sumSize)/nSum <<
nl
74 <<
" min : " << minSize <<
nl
75 <<
" max : " << maxSize <<
nl
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
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 &)
Ostream & endl(Ostream &os)
The coupledPolyPatch is an abstract base class for patches that couple regions of the computational d...
label min(const labelHashSet &set, label minValue=labelMax)
Mesh consisting of general polyhedral cells.
virtual bool parallel() const
virtual bool separated() const
void reduce(const List< UPstream::commsStruct > &comms, T &Value, const BinaryOp &bop, const int tag, const label comm)
Class containing processor-to-processor mapping information.
label max(const labelHashSet &set, label maxValue=labelMin)
reduce(hasMovingMesh, orOp< bool >())
OBJstream os(runTime.globalPath()/outputName)
Calculates/constains the extended cell-to-face stencil.
errorManipArg< error, int > exit(error &err, const int errNo=1)
#define FatalErrorInFunction
static int myProcNo(const label communicator=worldComm)
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
static void writeStencilStats(Ostream &os, const labelListList &stencil, const mapDistribute &map)
const polyBoundaryMesh & patches
const word & name() const noexcept
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
bool coupled(solutionDict.getOrDefault("coupledEnergyField", false))
defineTypeNameAndDebug(combustionModel, 0)