47 "surfacePatchIOList::surfacePatchIOList" 48 "(const IOobject& io)";
60 <<
"Specified IOobject::MUST_READ_IF_MODIFIED but class" 61 <<
" does not support automatic rereading." 69 Istream& is = readStream(typeName);
87 patchEntries[
patchi].keyword(),
94 if (startFacei != facei)
97 <<
"Patches are not ordered. Start of patch " <<
patchi 98 <<
" does not correspond to sum of preceding patches." 100 <<
"while reading " << objectPath()
108 is.
check(functionName.c_str());
151 patches[
patchi].writeDict(os);
#define forAll(list, i)
Loop across all elements in list.
errorManipArg< error, int > exit(error &err, const int errNo=1)
A list of keyword definitions, which are a keyword followed by any number of values (e...
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
virtual bool check(const char *operation) const
Check IOstream status for given operation.
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
An Istream is an abstract base class for all input systems (streams, files, token lists etc)...
void size(const label)
Override size to be inconsistent with allocated storage.
Ostream & endl(Ostream &os)
Add newline and flush stream.
List< surfacePatch > surfacePatchList
bool good() const
Return true if next operation might succeed.
'Patch' on surface as subset of triSurface.
IOobject for a surfacePatchList.
A functionName is a word starting with '#'.
A class for handling words, derived from string.
bool writeData(Ostream &) const
writeData member function required by regIOobject
~surfacePatchIOList()
Destructor.
An Ostream is an abstract base class for all output systems (streams, files, token lists...
defineTypeNameAndDebug(combustionModel, 0)
label size() const
Return the number of elements in the UPtrList.
void setSize(const label)
Reset size of List.
#define WarningInFunction
Report a warning using Foam::Warning.
surfacePatchIOList(const IOobject &io)
Construct from IOobject.
Ostream & operator<<(Ostream &, const ensightPart &)
regIOobject is an abstract class derived from IOobject to handle automatic object registration with t...
IOobject defines the attributes of an object for which implicit objectRegistry management is supporte...
A class for handling character strings derived from std::string.
ITstream & lookup(const word &, bool recursive=false, bool patternMatch=true) const
Find and return an entry data stream.