Class to store solver template specifications. More...

Public Types | |
| enum | solverType { stCompressible, stIncompressible, stBuoyant, stUnknown } |
| Solver type. More... | |
Public Member Functions | |
| solverTemplate (const fileName &baseDir, const Time &runTime, const word ®ionName) | |
| Constructor. More... | |
| word | type () const |
| Solver type name. More... | |
| bool | multiRegion () const |
| Return the multi-region flag. More... | |
| label | nRegion () const |
| Return the number of regions. More... | |
| const word & | regionType (const label regionI) const |
| Return the region type. More... | |
| const word & | regionName (const label regionI) const |
| Return the region name. More... | |
| const wordList & | fieldNames (const label regionI) const |
| Return the field names. More... | |
| const wordList & | fieldTypes (const label regionI) const |
| Return the field types. More... | |
| const PtrList< dimensionSet > & | fieldDimensions (const label regionI) const |
| Return the field dimensions. More... | |
Static Public Attributes | |
| static const Enum< solverType > | solverTypeNames_ |
| Solver type names. More... | |
| enum solverType |
Solver type.
| Enumerator | |
|---|---|
| stCompressible | |
| stIncompressible | |
| stBuoyant | |
| stUnknown | |
Definition at line 56 of file solverTemplate.H.
| solverTemplate | ( | const fileName & | baseDir, |
| const Time & | runTime, | ||
| const word & | regionName | ||
| ) |
Constructor.
| word type | ( | ) | const |
Solver type name.
| bool multiRegion | ( | ) | const |
Return the multi-region flag.
| label nRegion | ( | ) | const |
Return the number of regions.
| const word& regionType | ( | const label | regionI | ) | const |
Return the region type.
| const word& regionName | ( | const label | regionI | ) | const |
Return the region name.
| const wordList& fieldNames | ( | const label | regionI | ) | const |
Return the field names.
| const wordList& fieldTypes | ( | const label | regionI | ) | const |
Return the field types.
| const PtrList<dimensionSet>& fieldDimensions | ( | const label | regionI | ) | const |
Return the field dimensions.
|
static |
Solver type names.
Definition at line 67 of file solverTemplate.H.