Go to the documentation of this file.
40 #ifndef subModelBase_H
41 #define subModelBase_H
106 const word& dictExt =
"Coeffs"
153 virtual bool active()
const;
173 const word& entryName,
174 const Type& defaultValue = Type(
Zero)
191 const word& entryName,
203 const word& entryName,
204 const Type& defaultValue = Type(
Zero)
Base class for generic sub-models requiring to be read from dictionary. Provides a mechanism to read ...
virtual bool active() const
A class for handling words, derived from Foam::string.
A class for handling file names.
void getModelProperty(const word &entryName, Type &value) const
static constexpr const zero Zero
const dictionary & properties() const
Type getBaseProperty(const word &entryName, const Type &defaultValue=Type(Zero)) const
const dictionary coeffDict_
const word & modelName() const
void setModelProperty(const word &entryName, const Type &value)
virtual void write(Ostream &os) const
const dictionary & dict() const
virtual bool defaultCoeffs(const bool printMsg) const
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
OBJstream os(runTime.globalPath()/outputName)
const dictionary & coeffDict() const
bool getModelDict(const word &entryName, dictionary &dict) const
const word & modelType() const
virtual void cacheFields(const bool store)
virtual bool writeTime() const
void setBaseProperty(const word &entryName, const Type &value)
const word & baseName() const
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
subModelBase(dictionary &properties)
virtual fileName localPath() const