149 const cellZone& originalZone,
155 cellZone(originalZone,
Foam::zero{}, index, zm)
181 writeEntry(this->labelsName,
os);
196 zn.clearAddressing();
label whichCell(const label globalCellID) const
Helper function to re-direct to zone::localID(...)
label localID(const label globalID) const
Lookup local address in zone for given global index.
virtual void resetAddressing(cellZone &&zn)
Move reset addressing from another zone.
void transfer(List< label > &list)
Transfer the contents of the argument List into this list and annul the argument list.
A list of keyword definitions, which are a keyword followed by a number of values (eg...
virtual bool check(const char *operation) const
Check IOstream status for given operation.
void operator=(const cellZone &zn)
Assign addressing, clearing demand-driven data.
virtual bool checkDefinition(const bool report=false) const
Check zone definition. Return true if in error.
Ostream & writeEntry(const keyType &key, const T &value)
Write a keyword/value entry.
Macros for easy insertion into run-time selection tables.
fileName::Type type(const fileName &name, const bool followLink=true)
Return the file type: DIRECTORY or FILE, normally following symbolic links.
word name(const expressions::valueTypeCode typeCode)
A word representation of a valueTypeCode. Empty for expressions::valueTypeCode::INVALID.
void operator=(const UList< label > &list)
Assignment to UList operator. Takes linear time.
Base class for mesh zones.
A class for handling words, derived from Foam::string.
virtual Ostream & endBlock()
Write end block group.
virtual bool checkDefinition(const bool report=false) const =0
Check zone definition. Return true if in error.
virtual bool write(const token &tok)=0
Write token to stream or otherwise handle it.
void write(Ostream &os) const
Write (physicalType, inGroups) dictionary entries (without surrounding braces)
An Ostream is an abstract base class for all output systems (streams, files, token lists...
defineRunTimeSelectionTable(reactionRateFlameArea, dictionary)
OBJstream os(runTime.globalPath()/outputName)
defineTypeNameAndDebug(combustionModel, 0)
cellZone(const cellZone &)=delete
No copy construct.
Ostream & operator<<(Ostream &, const boundaryPatch &p)
Write boundaryPatch as dictionary entries (without surrounding braces)
virtual Ostream & beginBlock(const keyType &kw)
Write begin block group with the given name.
A class representing the concept of 0 (zero) that can be used to avoid manipulating objects known to ...
static const char *const labelsName
The name associated with the zone-labels dictionary entry ("cellLabels")
virtual void writeDict(Ostream &os) const
Write dictionary.
List< label > labelList
A List of labels.
ZoneMesh< cellZone, polyMesh > cellZoneMesh
A ZoneMesh with the type cellZone.
addToRunTimeSelectionTable(functionObject, pointHistory, dictionary)