78 #ifndef Foam_functionObjects_volRegion_H 79 #define Foam_functionObjects_volRegion_H 94 namespace functionObjects
145 void calculateCache();
194 inline label
nCells() const;
197 inline scalar
V() const;
222 #include "volRegionI.H"
regionTypes regionType() const noexcept
The region type.
A list of keyword definitions, which are a keyword followed by a number of values (eg...
void writeFileHeader(const writeFile &wf, Ostream &file) const
Output file header information.
static const Enum< regionTypes > regionTypeNames_
Region type names.
virtual bool read(const dictionary &dict)
Read from dictionary.
virtual void movePoints(const polyMesh &)
Update for mesh point-motion.
virtual void updateMesh(const mapPolyMesh &)
Update for changes of mesh.
bool useAllCells() const noexcept
Use all cells, not the cellIDs.
Class containing mesh-to-mesh mapping information after a change in polyMesh topology.
label nCells() const
Return the total number of cells selected in the region.
regionTypes
Region type enumeration.
A wordRe is a Foam::word, but can contain a regular expression for matching words or strings...
An Ostream is an abstract base class for all output systems (streams, files, token lists...
scalar V() const
Return total volume of the selected region.
Volume (cell) region selection class.
wordRe regionName_
Region name (cellSet, cellZone, ...)
TypeName("volRegion")
Run-time type information.
const labelList & cellIDs() const
Return the local list of cell IDs.
Mesh data needed to do the Finite Volume discretisation.
bool update()
Update the cached values as required.
regionTypes regionType_
Region type.
Mesh consisting of general polyhedral cells.
Base class for writing single files from the function objects.