41#ifndef Foam_polyBoundaryMeshEntries_H
42#define Foam_polyBoundaryMeshEntries_H
133 const bool writeOnProc =
true
Defines the attributes of an object for which implicit objectRegistry management is supported,...
A simple container for options an IOstream can normally have.
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
constexpr PtrList() noexcept
A list of pointers to objects of type <T>, without allocation/deallocation management of the pointers...
labelList patchStarts() const
Return a list of patch start face indices, uses "startFace" entry.
TypeNameNoDebug("polyBoundaryMesh")
Runtime type information.
virtual bool writeObject(IOstreamOption streamOpt, const bool writeOnProc=true) const
Write using stream options, forces UNCOMPRESSED.
wordList types() const
Return a list of patch types, uses the "patch" entry.
virtual bool writeData(Ostream &os) const
The writeData member function required by regIOobject.
polyBoundaryMeshEntries(const IOobject &io)
Read construct from IOobject. Never register!
static PtrList< entry > readContents(const IOobject &io)
Read and return contents. The IOobject is never registered.
static bool writeEntries(Ostream &os, const UPtrList< entry > &entries)
Write list of entries.
void writeEntry(Ostream &os) const
Write as a plain list of entries.
labelList patchSizes() const
Return a list of patch sizes, uses "nFaces" entry.
void removeProcPatches()
Truncate at the first processor patch entry.
regIOobject(const IOobject &io, const bool isTimeObject=false)
Construct from IOobject. The optional flag adds special handling if the object is the top-level regIO...
A class for handling words, derived from Foam::string.
OBJstream os(runTime.globalPath()/outputName)
List< word > wordList
List of word.
List< label > labelList
A List of labels.
#define TypeNameNoDebug(TypeNameString)
Declare a ClassNameNoDebug() with extra virtual type info.