Go to the documentation of this file.
57 if (sCells.
size() > 0)
59 sumSize += sCells.
size();
61 minSize =
min(minSize, sCells.
size());
62 maxSize =
max(maxSize, sCells.
size());
71 os <<
"Stencil size :" <<
nl
72 <<
" average : " << scalar(sumSize)/nSum <<
nl
73 <<
" min : " << minSize <<
nl
74 <<
" max : " << maxSize <<
nl
82 if (procI != Pstream::myProcNo())
112 refCast<const coupledPolyPatch>(
patches[patchI]);
117 <<
"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)
#define forAll(list, i)
Loop across all elements in list.
extendedCellToFaceStencil(const polyMesh &)
Construct from mesh.
static const label labelMax
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...
Mesh consisting of general polyhedral cells.
virtual bool parallel() const
Are the cyclic planes parallel.
virtual bool separated() const
Are the planes separated.
void reduce(const List< UPstream::commsStruct > &comms, T &Value, const BinaryOp &bop, const int tag, const label comm)
static const label labelMin
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
Class containing processor-to-processor mapping information.
errorManipArg< error, int > exit(error &err, const int errNo=1)
dimensioned< Type > max(const dimensioned< Type > &, const dimensioned< Type > &)
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
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)
Write some statistics about stencil.
void size(const label)
Override size to be inconsistent with allocated storage.
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
defineTypeNameAndDebug(combustionModel, 0)
dimensioned< Type > min(const dimensioned< Type > &, const dimensioned< Type > &)
const word & name() const
Return name.