67 #ifndef functionObjects_volRegion_H 68 #define functionObjects_volRegion_H 81 namespace functionObjects
static const NamedEnum< regionTypes, 2 > regionTypeNames_
Region type names.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
const regionTypes & regionType() const
Return the region type.
word regionName_
Region name (patch, zone, etc.)
A list of keyword definitions, which are a keyword followed by any number of values (e...
label regionID_
Region ID (patch ID, zone ID, etc.)
bool read(const dictionary &)
Read from dictionary.
label nCells() const
Return the number of cells in the region.
A class for handling words, derived from string.
An Ostream is an abstract base class for all output systems (streams, files, token lists...
scalar V() const
Return total volume of the region.
volRegion(const fvMesh &mesh, const dictionary &dict)
Construct from fvMesh and dictionary.
TypeName("volRegion")
Run-time type information.
void writeFileHeader(const writeFile &wf, Ostream &file)
Output file header information.
const labelList & cellIDs() const
Return the local list of cell IDs.
Mesh data needed to do the Finite Volume discretisation.
virtual ~volRegion()
Destructor.
regionTypes regionType_
Region type.
functionObject base class for writing single files
regionTypes
Region type enumeration.