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 109 if (patches[
patchi].coupled())
112 refCast<const coupledPolyPatch>(patches[
patchi]);
117 <<
"Coupled patches with transformations not supported." const polyBoundaryMesh & boundaryMesh() const
Return boundary mesh.
#define forAll(list, i)
Loop across all elements in list.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
const word & name() const
Return name.
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.
const labelListList & subMap() const
From subsetted data back to original data.
void size(const label)
Override size to be inconsistent with allocated storage.
static int myProcNo(const label communicator=0)
Number of this process (starting from masterNo() = 0)
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...
virtual const transformer & transform() const =0
Return transformation between the coupled patches.
extendedCellToFaceStencil(const polyMesh &)
Construct from mesh.
static const label labelMax
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 > &)
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.
T returnReduce(const T &Value, const BinaryOp &bop, const int tag=Pstream::msgType(), const label comm=UPstream::worldComm)
Mesh consisting of general polyhedral cells.
static void writeStencilStats(Ostream &os, const labelListList &stencil, const mapDistribute &map)
Write some statistics about stencil.
static const label labelMin