40 <<
"// OpenFOAM Surface Format - written "
42 <<
"// ~~~~~~~~~~~~~~~~~~~~~~~" <<
nl <<
nl
43 <<
"// surfZones:" <<
nl;
47 if (zoneLst.
size() <= 1)
57 zoneLst[zoneI].writeDict(os);
65 <<
"\n// points:" <<
nl << pointLst <<
nl;
#define forAll(list, i)
Loop across all elements in list.
static Stream & writeBanner(Stream &os, bool noHint=false)
Write the standard OpenFOAM file/dictionary banner.
static Stream & writeDivider(Stream &os)
Write the standard file section divider.
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
A 1D vector of objects of type <T>, where the size of the vector is known and can be used for subscri...
label size() const
Return the number of elements in the UList.
static string dateTime()
Return the current wall-clock date/time as a string.
Ostream & decrIndent(Ostream &os)
Decrement the indent level.
Ostream & incrIndent(Ostream &os)
Increment the indent level.