39 Foam::surfacePatchIOList::surfacePatchIOList
48 "surfacePatchIOList::surfacePatchIOList" 49 "(const IOobject& io)";
62 "surfacePatchIOList::surfacePatchIOList\n" 66 ) <<
"Specified IOobject::MUST_READ_IF_MODIFIED but class" 67 <<
" does not support automatic rereading." 75 Istream& is = readStream(typeName);
93 patchEntries[patchI].keyword(),
100 if (startFaceI != faceI)
103 <<
"Patches are not ordered. Start of patch " << patchI
104 <<
" does not correspond to sum of preceding patches." 114 is.
check(functionName.c_str());
121 Foam::surfacePatchIOList::surfacePatchIOList
157 patches[patchI].writeDict(os);
label size() const
Return the number of elements in the PtrList.
bool writeData(Ostream &) const
writeData member function required by regIOobject
An Istream is an abstract base class for all input systems (streams, files, token lists etc)...
A class for handling words, derived from string.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
A class for handling character strings derived from std::string.
void size(const label)
Override size to be inconsistent with allocated storage.
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...
Ostream & operator<<(Ostream &, const edgeMesh &)
label readLabel(Istream &is)
virtual bool check(const char *operation) const
Check IOstream status for given operation.
List< surfacePatch > surfacePatchList
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
void setSize(const label)
Reset size of List.
Ostream & endl(Ostream &os)
Add newline and flush stream.
IOobject defines the attributes of an object for which implicit objectRegistry management is supporte...
#define WarningIn(functionName)
Report a warning using Foam::Warning.
bool good() const
Return true if next operation might succeed.
fileName objectPath() const
Return complete path + object name.
#define FatalErrorIn(functionName)
Report an error message using Foam::FatalError.
regIOobject is an abstract class derived from IOobject to handle automatic object registration with t...
ITstream & lookup(const word &, bool recursive=false, bool patternMatch=true) const
Find and return an entry data stream.
IOobject for a surfacePatchList.
An Ostream is an abstract base class for all output systems (streams, files, token lists...
~surfacePatchIOList()
Destructor.
defineTypeNameAndDebug(combustionModel, 0)
'Patch' on surface as subset of triSurface.