109 zone(origZone, addr, index),
122 zone(origZone, std::move(addr), index),
137 return zone::checkDefinition(zoneMesh_.mesh().nCells(), report);
147 writeEntry(this->labelsName,
os);
Macros for easy insertion into run-time selection tables.
#define addToRunTimeSelectionTable(baseType, thisType, argNames)
Add to construction table with typeName as the key.
virtual bool check(const char *operation) const
Check IOstream status for given operation.
void operator=(const UList< label > &a)
Assignment to UList operator. Takes linear time.
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
virtual Ostream & endBlock()
Write end block group.
Ostream & writeEntry(const keyType &key, const T &value)
Write a keyword/value entry.
virtual Ostream & beginBlock(const keyType &kw)
Write begin block group with the given name.
virtual bool checkDefinition(const bool report=false) const
Check zone definition. Return true if in error.
void operator=(const cellZone &zn)
Assign addressing, clearing demand-driven data.
label whichCell(const label globalCellID) const
Helper function to re-direct to zone::localID(...)
static const char *const labelsName
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
virtual bool write()
Write the output fields.
Foam::dictionary writeDict() const
Write to dictionary.
transferModelList & transfer()
Transfer.
A class for handling words, derived from Foam::string.
Base class for mesh zones.
label localID(const label globalID) const
Lookup local address in zone for given global index.
virtual void write(Ostream &os) const
Write.
#define defineTypeNameAndDebug(Type, DebugSwitch)
Define the typeName and debug information.
OBJstream os(runTime.globalPath()/outputName)
fileName::Type type(const fileName &name, const bool followLink=true)
Return the file type: DIRECTORY or FILE, normally following symbolic links.
Ostream & operator<<(Ostream &, const boundaryPatch &p)
Write boundaryPatch as dictionary entries (without surrounding braces)
word name(const expressions::valueTypeCode typeCode)
A word representation of a valueTypeCode. Empty for INVALID.
#define defineRunTimeSelectionTable(baseType, argNames)
Define run-time selection table.