Go to the documentation of this file.
51 readOpt() == IOobject::MUST_READ
52 || readOpt() == IOobject::MUST_READ_IF_MODIFIED
57 Istream& is = readStream(typeName);
60 zones.
resize(dictEntries.size());
67 dictEntries[zonei].keyword(),
68 dictEntries[zonei].
dict(),
72 if (zones[zonei].start() != facei)
75 <<
"surfZones are not ordered. Start of zone " << zonei
76 <<
" does not correspond to sum of preceding zones." <<
nl
81 facei += zones[zonei].size();
117 const label sz = zones.size();
Defines the attributes of an object for which implicit objectRegistry management is supported,...
void resize(const label len)
Adjust allocated size of list.
Ostream & endl(Ostream &os)
Add newline and flush stream.
Ostream & incrIndent(Ostream &os)
Increment the indent level.
#define forAll(list, i)
Loop across all elements in list.
Ostream & operator<<(Ostream &, const boundaryPatch &p)
Write boundaryPatch as dictionary entries (without surrounding braces)
bool writeData(Ostream &os) const
The writeData function - required by regIOobject.
IOobject for a surfZoneList.
void operator=(const surfZoneIOList &rhs)
Copy assignment of entries.
An Istream is an abstract base class for all input systems (streams, files, token lists etc)....
defineTypeName(ensightPart)
void operator=(const UList< surfZone > &a)
Assignment to UList operator. Takes linear time.
surfZoneIOList(const IOobject &io)
Construct from IOobject.
virtual bool check(const char *operation) const
Check IOstream status for given operation.
OBJstream os(runTime.globalPath()/outputName)
Ostream & decrIndent(Ostream &os)
Decrement the indent level.
errorManipArg< error, int > exit(error &err, const int errNo=1)
regIOobject is an abstract class derived from IOobject to handle automatic object registration with t...
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
A surface zone on a MeshedSurface.
A 1D vector of objects of type <T>, where the size of the vector is known and can be used for subscri...
List< surfZone > surfZoneList
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
fileName objectPath() const
The complete path + object name.
Begin list [isseparator].