19 Info<<
"----------------" <<
nl
20 <<
"Mesh Information" <<
nl
21 <<
"----------------" <<
nl
22 <<
" " <<
"boundingBox: " << boundBox(
mesh.points()) <<
nl
23 <<
" " <<
"nPoints: " <<
mesh.nPoints() <<
nl
24 <<
" " <<
"nCells: " <<
mesh.nCells() <<
nl
25 <<
" " <<
"nFaces: " <<
mesh.nFaces() <<
nl
26 <<
" " <<
"nInternalFaces: " <<
mesh.nInternalFaces() <<
nl;
31 Info<<
" " <<
"zone " << zn.index()
32 <<
" (size: " << zn.size()
33 <<
") name: " << zn.name() <<
nl;
36 if (
mesh.cellZones().size())
38 Info<<
"----------------" << nl
40 <<
"----------------" << nl;
42 for (
const cellZone& zn :
mesh.cellZones())
47 if (
mesh.faceZones().size())
49 Info<<
"----------------" <<
nl
51 <<
"----------------" <<
nl;
53 for (
const faceZone& zn :
mesh.faceZones())
58 if (
mesh.pointZones().size())
60 Info<<
"----------------" <<
nl
61 <<
"Point Zones" <<
nl
62 <<
"----------------" <<
nl;
64 for (
const pointZone& zn :
mesh.pointZones())
70 Info<<
"----------------" <<
nl
72 <<
"----------------" <<
nl;
74 for (
const polyPatch&
p :
mesh.boundaryMesh())
76 Info<<
" " <<
"patch " <<
p.index()
77 <<
" (start: " <<
p.start()
78 <<
" size: " <<
p.size()
79 <<
") name: " <<
p.name()
Base class for mesh zones.
messageStream Info
Information stream (stdout output on master, null elsewhere)
constexpr char nl
The newline '\n' character (0x0a)