Go to the documentation of this file.
39 #ifndef schemesLookup_H
40 #define schemesLookup_H
92 const word& defaultName,
93 const bool mandatory =
false
100 void writeEntryOptional(
Ostream&
os)
const;
107 lookupDetail ddtSchemes_;
110 lookupDetail d2dt2Schemes_;
113 lookupDetail interpSchemes_;
116 lookupDetail divSchemes_;
119 lookupDetail gradSchemes_;
122 lookupDetail lnGradSchemes_;
125 lookupDetail snGradSchemes_;
128 lookupDetail laplacianSchemes_;
132 bool fluxRequiredDefault_;
181 bool steady() const noexcept
187 bool transient()
const noexcept
231 return ddtSchemes_.dict_;
237 return d2dt2Schemes_.dict_;
243 return interpSchemes_.dict_;
249 return divSchemes_.dict_;
255 return gradSchemes_.dict_;
261 return lnGradSchemes_.dict_;
267 return snGradSchemes_.dict_;
273 return laplacianSchemes_.dict_;
279 return fluxRequired_;
288 return ddtSchemes_.dict_;
294 return d2dt2Schemes_.dict_;
300 return interpSchemes_.dict_;
306 return divSchemes_.dict_;
312 return gradSchemes_.dict_;
318 return lnGradSchemes_.dict_;
324 return snGradSchemes_.dict_;
330 return laplacianSchemes_.dict_;
336 return fluxRequired_;
const dictionary & d2dt2Schemes() const noexcept
Access d2dt2 schemes dictionary.
IOdictionary is derived from dictionary and IOobject to give the dictionary automatic IO functionalit...
dictionary & d2dt2Schemes() noexcept
Access d2dt2 schemes dictionary.
const dictionary & divSchemes() const noexcept
Access div schemes dictionary.
A class for handling words, derived from Foam::string.
A class for handling file names.
const dictionary & snGradSchemes() const noexcept
Access snGrad schemes dictionary (finiteVolume)
ITstream & gradScheme(const word &name) const
Get grad scheme for given name, or default.
void setFluxRequired(const word &name) const
Get flux-required for given name, or default.
const dictionary & schemesDict() const
The current schemes dictionary, respects the "select" keyword.
const dictionary & lnGradSchemes() const noexcept
Access lnGrad schemes dictionary (finiteArea)
const dictionary & laplacianSchemes() const noexcept
Access laplacian schemes dictionary.
dictionary & snGradSchemes() noexcept
Access snGrad schemes dictionary (finiteVolume)
const word & name() const
dictionary & gradSchemes() noexcept
Access grad schemes dictionary.
Registry of regIOobjects.
dictionary & laplacianSchemes() noexcept
Access laplacian schemes dictionary.
ITstream & laplacianScheme(const word &name) const
Get laplacian scheme for given name, or default.
const dictionary & fluxRequired() const noexcept
Access to flux required dictionary.
void writeEntry(Ostream &os) const
Write sub-dictionary with its dictName as its header.
An input stream of tokens.
dictionary & ddtSchemes() noexcept
Access ddt schemes dictionary.
ITstream & interpolationScheme(const word &name) const
Get interpolation scheme for given name, or default.
bool steady() const noexcept
True if default ddtScheme is steady-state.
ITstream & lookup(const word &keyword, enum keyType::option matchOpt=keyType::REGEX) const
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
OBJstream os(runTime.globalPath()/outputName)
ITstream & snGradScheme(const word &name) const
Get (finiteVolume) snGrad scheme for given name, or default.
ITstream & divScheme(const word &name) const
Get div scheme for given name, or default.
const dictionary & ddtSchemes() const noexcept
Access ddt schemes dictionary.
dictionary & fluxRequired() noexcept
Access to flux required dictionary.
ITstream & ddtScheme(const word &name) const
Get ddt scheme for given name, or default.
dictionary & interpolationSchemes() noexcept
Access interpolation schemes dictionary.
const dictionary & gradSchemes() const noexcept
Access grad schemes dictionary.
static int debug
Debug switch.
dictionary & divSchemes() noexcept
Access div schemes dictionary.
bool read()
Read schemes from IOdictionary, respects the "select" keyword.
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
void writeDicts(Ostream &os) const
Write dictionary (possibly modified) settings.
ITstream & d2dt2Scheme(const word &name) const
Get d2dt2 scheme for given name, or default.
const dictionary & interpolationSchemes() const noexcept
Access interpolation schemes dictionary.
dictionary & lnGradSchemes() noexcept
Access lnGrad schemes dictionary (finiteArea)
Selector class for finite area/finite volume differencing schemes.
ITstream & lnGradScheme(const word &name) const
Get (finiteArea) lnGrad scheme for given name, or default.
word dictName() const
The local dictionary name (final part of scoped name)