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
117 <<
"Coupled patches with transformations not supported."
#define forAll(list, i)
Loop across all elements in list.
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,...
static int myProcNo(const label communicator=0)
Number of this process (starting from masterNo() = 0)
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.
const labelListList & subMap() const
From subsetted data back to original data.
Class containing processor-to-processor mapping information.
Calculates/contains the extended cell-to-face stencil.
extendedCellToFaceStencil(const polyMesh &)
Construct from mesh.
static void writeStencilStats(Ostream &os, const labelListList &stencil, const distributionMap &map)
Write some statistics about stencil.
const word & name() const
Return name.
Mesh consisting of general polyhedral cells.
const polyBoundaryMesh & boundaryMesh() const
Return boundary mesh.
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
const fvPatchList & patches
errorManipArg< error, int > exit(error &err, const int errNo=1)
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
Ostream & endl(Ostream &os)
Add newline and flush stream.
layerAndWeight min(const layerAndWeight &a, const layerAndWeight &b)
void reduce(const List< UPstream::commsStruct > &comms, T &Value, const BinaryOp &bop, const int tag, const label comm)
T returnReduce(const T &Value, const BinaryOp &bop, const int tag=Pstream::msgType(), const label comm=UPstream::worldComm)
defineTypeNameAndDebug(combustionModel, 0)
layerAndWeight max(const layerAndWeight &a, const layerAndWeight &b)
static const label labelMax
static const label labelMin