111 zone(originalZone, newIndex),
174 return zoneMesh_.mesh().nCells();
194 zn.clearAddressing();
Macros for easy insertion into run-time selection tables.
#define addToRunTimeSelectionTable(baseType, thisType, argNames)
Add to construction table with typeName as the key.
void transfer(List< label > &list)
void operator=(const UList< label > &list)
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
virtual bool write(const token &tok)=0
Write token to stream or otherwise handle it.
void writeEntry(Ostream &os) const
void operator=(const cellZone &zn)
Assign addressing, clearing demand-driven data.
static constexpr const char * labelsName()
The name associated with the zone-labels dictionary entry.
virtual void resetAddressing(cellZone &&zn)
Move reset addressing from another zone.
virtual void write(Ostream &os) const
Write (dictionary entries).
label max_index() const noexcept
The maximum index the zone may contain == mesh nCells().
cellZone(const cellZone &)=delete
No copy construct.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
A class for handling words, derived from Foam::string.
A class representing the concept of 0 (zero) that can be used to avoid manipulating objects known to ...
label index() const noexcept
The index of this zone in the zone list.
virtual void write(Ostream &os) const
Write (dictionary entries).
zone()
Default construct: empty zone with name="", index=0.
virtual void clearAddressing()
Clear addressing (remove lookup maps and other auxiliary information).
#define defineTypeNameAndDebug(Type, DebugSwitch)
Define the typeName and debug information.
OBJstream os(runTime.globalPath()/outputName)
List< label > labelList
A List of labels.
Ostream & operator<<(Ostream &, const boundaryPatch &p)
Write boundaryPatch as dictionary entries (without surrounding braces).
ZoneMesh< cellZone, polyMesh > cellZoneMesh
A ZoneMesh with cellZone content on a polyMesh.
word name(const expressions::valueTypeCode typeCode)
A word representation of a valueTypeCode. Empty for expressions::valueTypeCode::INVALID.
UList< label > labelUList
A UList of labels.
#define defineRunTimeSelectionTable(baseType, argNames)
Define run-time selection table.