Public Types | |
enum | selectionModeType { points, cellSet, cellZone, all } |
Enumeration for selection mode types. More... | |
Public Member Functions | |
fvCellSet (const dictionary &dict, const fvMesh &mesh) | |
Construct from components. More... | |
~fvCellSet () | |
Destructor. More... | |
const selectionModeType & | selectionMode () const |
Return const access to the cell selection mode. More... | |
const word & | cellSetName () const |
Return const access to the name of cell set for "cellSet". More... | |
scalar | V () const |
Return const access to the total cell volume. More... | |
const labelList & | cells () const |
Return const access to the cell set. More... | |
void | movePoints () |
Update for mesh motion. More... | |
void | topoChange (const polyTopoChangeMap &) |
Update topology using the given map. More... | |
void | mapMesh (const polyMeshMap &) |
Update from another mesh using the given map. More... | |
void | distribute (const polyDistributionMap &) |
Redistribute or update using the given distribution map. More... | |
bool | read (const dictionary &dict) |
Read coefficients dictionary. More... | |
Static Public Attributes | |
static const NamedEnum< selectionModeType, 4 > | selectionModeTypeNames_ |
Word list of selection mode type names. More... | |
Definition at line 79 of file fvCellSet.H.
|
strong |
Enumeration for selection mode types.
Enumerator | |
---|---|
points | |
cellSet | |
cellZone | |
all |
Definition at line 86 of file fvCellSet.H.
fvCellSet | ( | const dictionary & | dict, |
const fvMesh & | mesh | ||
) |
Construct from components.
Definition at line 148 of file fvCellSet.C.
References Foam::read().
Referenced by NamedEnum< compressibleField, 8 >::names().
~fvCellSet | ( | ) |
Destructor.
Definition at line 164 of file fvCellSet.C.
|
inline |
Return const access to the cell selection mode.
Definition at line 29 of file fvCellSetI.H.
|
inline |
Return const access to the name of cell set for "cellSet".
selectionMode
Definition at line 35 of file fvCellSetI.H.
|
inline |
Return const access to the total cell volume.
Definition at line 41 of file fvCellSetI.H.
|
inline |
Return const access to the cell set.
Definition at line 47 of file fvCellSetI.H.
void movePoints | ( | ) |
void topoChange | ( | const polyTopoChangeMap & | ) |
Update topology using the given map.
Definition at line 180 of file fvCellSet.C.
void mapMesh | ( | const polyMeshMap & | ) |
Update from another mesh using the given map.
Definition at line 187 of file fvCellSet.C.
void distribute | ( | const polyDistributionMap & | ) |
Redistribute or update using the given distribution map.
Definition at line 194 of file fvCellSet.C.
bool read | ( | const dictionary & | dict | ) |
Read coefficients dictionary.
Definition at line 201 of file fvCellSet.C.
References Foam::exit(), Foam::FatalError, FatalErrorInFunction, dictionary::lookup(), and points.
|
static |
Word list of selection mode type names.
Definition at line 96 of file fvCellSet.H.
Referenced by NamedEnum< compressibleField, 8 >::names().