Go to the documentation of this file.
78 #ifndef functionObjects_volRegion_H
79 #define functionObjects_volRegion_H
94 namespace functionObjects
105 const fvMesh& volMesh_;
123 void calculateCache();
191 inline label
nCells() const;
194 inline scalar
V() const;
219 #include "volRegionI.H"
List< label > labelList
A List of labels.
label regionID_
Region ID (zone ID, ...)
A class for handling words, derived from Foam::string.
bool update()
Update the cached values as required.
Volume (cell) region selection class.
word regionName_
Region name (cellSet, cellZone, ...)
regionTypes
Region type enumeration.
virtual void updateMesh(const mapPolyMesh &)
Update for changes of mesh.
Mesh consisting of general polyhedral cells.
regionTypes regionType_
Region type.
TypeName("volRegion")
Run-time type information.
virtual bool read(const dictionary &dict)
Read from dictionary.
label nCells() const
Return the total number of cells selected in the region.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
Mesh data needed to do the Finite Volume discretisation.
bool useAllCells() const noexcept
Use all cells, not the cellIDs.
static const Enum< regionTypes > regionTypeNames_
Region type names.
virtual void movePoints(const polyMesh &)
Update for mesh point-motion.
regionTypes regionType() const noexcept
The region type.
const labelList & cellIDs() const
Return the local list of cell IDs.
Class containing mesh-to-mesh mapping information after a change in polyMesh topology.
void writeFileHeader(const writeFile &wf, Ostream &file) const
Output file header information.
Base class for writing single files from the function objects.
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.