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 fvPatchList & patches
const polyBoundaryMesh & boundaryMesh() const
Return boundary mesh.
#define forAll(list, i)
Loop across all elements in list.
layerAndWeight max(const layerAndWeight &a, const layerAndWeight &b)
const word & name() const
Return name.
errorManipArg< error, int > exit(error &err, const int errNo=1)
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
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...
const labelListList & subMap() const
From subsetted data back to original data.
virtual const transformer & transform() const =0
Return transformation between the coupled patches.
static void writeStencilStats(Ostream &os, const labelListList &stencil, const distributionMap &map)
Write some statistics about stencil.
extendedCellToFaceStencil(const polyMesh &)
Construct from mesh.
layerAndWeight min(const layerAndWeight &a, const layerAndWeight &b)
static const label labelMax
An Ostream is an abstract base class for all output systems (streams, files, token lists...
defineTypeNameAndDebug(combustionModel, 0)
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 const label labelMin