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.
setSize(dictEntries.size());
72 dictEntries[zoneI].keyword(),
79 if (
dict.readIfPresent(
"geometricType", geoType))
81 zones[zoneI].geometricType() = geoType;
84 if (startFacei != facei)
87 <<
"surfZones are not ordered. Start of zone " << zoneI
88 <<
" does not correspond to sum of preceding zones." <<
nl
128 return (os << *
this).good();
Defines the attributes of an object for which implicit objectRegistry management is supported,...
A class for handling words, derived from Foam::string.
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.
bool writeData(Ostream &os) const
The writeData function for regIOobject.
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.
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)....
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.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
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.
void setSize(const label newSize)
Alias for resize(const label)
Begin list [isseparator].
defineTypeNameAndDebug(combustionModel, 0)
Ostream & operator<<(Ostream &, const boundaryPatch &)