24 if (Pstream::parRun())
26 for (
const faPatch& fap :
patches)
28 const auto* cpp = isA<processorFaPatch>(fap);
39 UPstream::listGatherValues<label>(
aMesh.nFaces())
43 UPstream::listGatherValues<label>(
aMesh.nPoints())
47 UPstream::listGatherValues<label>(
aMesh.nEdges())
51 UPstream::listGatherValues<label>(
aMesh.nInternalEdges())
57 UPstream::listGatherValues<label>
73 [&](
const char* tag,
const labelList& list)
75 Info<<
" Number of " << tag <<
": " << sum(list) << nl;
76 if (Pstream::parRun())
78 int padding =
static_cast<int>
85 do { Info<<
' '; }
while (--padding > 0);
92 Info<<
"----------------" <<
nl
93 <<
"Mesh Information" <<
nl
94 <<
"----------------" <<
nl
95 <<
" " <<
"boundingBox: " << boundBox(
aMesh.points()) <<
nl;
97 if (Pstream::master())
105 if (Pstream::parRun())
111 Info<<
"----------------" <<
nl
113 <<
"----------------" <<
nl;
119 Info<<
" " <<
"patch " <<
p.index()
121 <<
") name: " <<
p.name()
131 <<
" min = " <<
limit.min() <<
" max = " <<
limit.max() <<
nl;
138 if (Pstream::parRun())
148 Info<<
"Edge length (internal):" <<
nl
149 <<
" min = " <<
limit.min() <<
" max = " <<
limit.max() <<
nl;
158 if (Pstream::parRun())
163 Info<<
"Edge length:" <<
nl
164 <<
" min = " <<
limit.min() <<
" max = " <<
limit.max() <<
nl;
172 Info<<
"Face area normals:" <<
nl
173 <<
" min = " <<
limit.min() <<
" max = " <<
limit.max() <<
nl;
reduce(hasMovingMesh, orOp< bool >())
const polyBoundaryMesh & patches
const labelList nBndEdges(UPstream::listGatherValues< label >(aMesh.nBoundaryEdges() - nLocalProcEdges))
const labelList nFaces(UPstream::listGatherValues< label >(aMesh.nFaces()))
const label nNonProcessor
const labelList nIntEdges(UPstream::listGatherValues< label >(aMesh.nInternalEdges()))
const labelList nProcEdges(UPstream::listGatherValues< label >(nLocalProcEdges))
const labelList nEdges(UPstream::listGatherValues< label >(aMesh.nEdges()))
List< label > labelList
A List of labels.
messageStream Info
Information stream (stdout output on master, null elsewhere)
MinMax< scalar > scalarMinMax
A scalar min/max range.
MinMax< label > minMax(const labelHashSet &set)
Find the min/max values of labelHashSet.
FlatOutput::OutputAdaptor< Container, Delimiters > flatOutput(const Container &obj, Delimiters delim)
Global flatOutput() function with specified output delimiters.
MinMax< Type > gMinMax(const FieldField< Field, Type > &f)
T returnReduce(const T &value, const BinaryOp &bop, const int tag=UPstream::msgType(), const label comm=UPstream::worldComm)
Reduce (copy) and return value.
constexpr char nl
The newline '\n' character (0x0a)