Go to the documentation of this file.
47 "surfZoneIOList::surfZoneIOList"
48 "(const IOobject& io)";
53 readOpt() == IOobject::MUST_READ
54 || readOpt() == IOobject::MUST_READ_IF_MODIFIED
59 Istream& is = readStream(typeName);
74 dictEntries[zoneI].keyword(),
81 if (
dict.readIfPresent(
"geometricType", geoType))
83 zones[zoneI].geometricType() = geoType;
86 if (startFaceI != faceI)
89 <<
"surfZones are not ordered. Start of zone " << zoneI
90 <<
" does not correspond to sum of preceding zones." <<
nl
99 is.
check(functionName.c_str());
IOobject defines the attributes of an object for which implicit objectRegistry management is supporte...
A class for handling words, derived from string.
#define forAll(list, i)
Loop across all elements in list.
Ostream & endl(Ostream &os)
Add newline and flush stream.
A class for handling character strings derived from std::string.
Ostream & incrIndent(Ostream &os)
Increment the indent level.
A simple container for copying or transferring objects of type <T>.
fileName objectPath() const
Return complete path + object name.
IOobject for a surfZoneList.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
An Istream is an abstract base class for all input systems (streams, files, token lists etc)....
bool writeData(Ostream &) const
writeData member function required by regIOobject
surfZoneIOList(const surfZoneIOList &)
Disallow default bitwise copy construct.
Ostream & operator<<(Ostream &, const edgeMesh &)
virtual bool check(const char *operation) const
Check IOstream status for given operation.
A list of keyword definitions, which are a keyword followed by any number of values (e....
Ostream & decrIndent(Ostream &os)
Decrement the indent level.
errorManipArg< error, int > exit(error &err, const int errNo=1)
void setSize(const label)
Reset size of List.
regIOobject is an abstract class derived from IOobject to handle automatic object registration with t...
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
~surfZoneIOList()
Destructor.
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
A surface zone on a MeshedSurface.
label size() const
Return the number of elements in the PtrList.
label readLabel(Istream &is)
List< surfZone > surfZoneList
void size(const label)
Override size to be inconsistent with allocated storage.
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
bool good() const
Return true if next operation might succeed.
defineTypeNameAndDebug(combustionModel, 0)