Go to the documentation of this file.
39 IOobject::writeBanner(os)
40 <<
"// OpenFOAM Surface Format - written "
41 << clock::dateTime().c_str() <<
nl
42 <<
"// ~~~~~~~~~~~~~~~~~~~~~~~" <<
nl <<
nl
43 <<
"// surfZones:" <<
nl;
47 if (zoneLst.
size() <= 1)
49 os <<
"0" << token::BEGIN_LIST << token::END_LIST <<
nl <<
nl;
57 zoneLst[zoneI].writeDict(os);
64 IOobject::writeDivider(os)
65 <<
"\n// points:" <<
nl << pointLst <<
nl;
67 IOobject::writeDivider(os);
#define forAll(list, i)
Loop across all elements in list.
Ostream & incrIndent(Ostream &os)
Increment the indent level.
Pre-declare SubField and related Field type.
Ostream & decrIndent(Ostream &os)
Decrement the indent level.
A 1D vector of objects of type <T>, where the size of the vector is known and can be used for subscri...
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
label size() const
Return the number of elements in the UList.