Go to the documentation of this file.
32 #ifndef solverTemplate_H
33 #define solverTemplate_H
106 const word& entryName
solverType solverType_
Solver type.
IOobject defines the attributes of an object for which implicit objectRegistry management is supporte...
Class to control time during OpenFOAM simulations that is also the top-level objectRegistry.
A class for handling words, derived from string.
A class for handling file names.
const wordList & fieldNames(const label regionI) const
Return the field names.
Class to store solver template specifications.
const PtrList< dimensionSet > & fieldDimensions(const label regionI) const
Return the field dimensions.
const word & regionName(const label regionI) const
Return the region name.
dictionary readFluidFieldTemplates(const word ®ionName, const fileName &baseDir, const dictionary &solverDict, const Time &runTime) const
Read fluid region templates.
List< wordList > fieldNames_
Field names.
dictionary readSolidFieldTemplates(const word ®ionName, const dictionary &solverDict) const
Read solid region templates.
static const NamedEnum< solverType, 4 > solverTypeNames_
Solver type names.
word readFromDict(IOobject &dictHeader, const word &entryName) const
Read a word from a dictionary (offers some protection...)
bool multiRegion_
Multi-region flag.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
solverTemplate(const fileName &baseDir, const Time &runTime, const word ®ionName)
Constructor.
wordList regionNames_
Region names.
A templated 1D list of pointers to objects of type <T>, where the size of the array is known and used...
A list of keyword definitions, which are a keyword followed by any number of values (e....
const wordList & fieldTypes(const label regionI) const
Return the field types.
label nRegion() const
Return the number of regions.
void setRegionProperties(const dictionary &dict, const word ®ionType, const word ®ionName, const label regionI)
Set the properties for region with index regionI.
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
word type() const
Solver type name.
List< PtrList< dimensionSet > > fieldDimensions_
Field dimensions.
bool multiRegion() const
Return the multi-region flag.
const word & regionType(const label regionI) const
Return the region type.
wordList regionTypes_
Region types.
List< wordList > fieldTypes_
Field types.