solverTemplate Class Reference

Class to store solver template specifications. More...

Collaboration diagram for solverTemplate:
[legend]

Public Types

enum  solverType { stCompressible, stIncompressible, stBuoyant, stUnknown }
 Solver type. More...
 

Public Member Functions

 solverTemplate (const fileName &baseDir, const Time &runTime, const word &regionName)
 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...
 

Detailed Description

Class to store solver template specifications.

Definition at line 53 of file solverTemplate.H.

Member Enumeration Documentation

◆ solverType

enum solverType

Solver type.

Enumerator
stCompressible 
stIncompressible 
stBuoyant 
stUnknown 

Definition at line 60 of file solverTemplate.H.

Constructor & Destructor Documentation

◆ solverTemplate()

solverTemplate ( const fileName &  baseDir,
const Time &  runTime,
const word &  regionName 
)

Constructor.

Member Function Documentation

◆ type()

word type ( ) const

Solver type name.

◆ multiRegion()

bool multiRegion ( ) const

Return the multi-region flag.

◆ nRegion()

label nRegion ( ) const

Return the number of regions.

◆ regionType()

const word& regionType ( const label  regionI) const

Return the region type.

◆ regionName()

const word& regionName ( const label  regionI) const

Return the region name.

◆ fieldNames()

const wordList& fieldNames ( const label  regionI) const

Return the field names.

◆ fieldTypes()

const wordList& fieldTypes ( const label  regionI) const

Return the field types.

◆ fieldDimensions()

const PtrList<dimensionSet>& fieldDimensions ( const label  regionI) const

Return the field dimensions.

Member Data Documentation

◆ solverTypeNames_

const Enum<solverType> solverTypeNames_
static

Solver type names.

Definition at line 69 of file solverTemplate.H.


The documentation for this class was generated from the following file: