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