47#ifndef Foam_schemesLookup_H
48#define Foam_schemesLookup_H
100 const word& defaultName,
101 const bool mandatory =
false
108 void writeEntryOptional(
Ostream&
os)
const;
115 lookupDetail ddtSchemes_;
118 lookupDetail d2dt2Schemes_;
121 lookupDetail interpSchemes_;
124 lookupDetail divSchemes_;
127 lookupDetail gradSchemes_;
130 lookupDetail lnGradSchemes_;
133 lookupDetail snGradSchemes_;
136 lookupDetail laplacianSchemes_;
140 bool fluxRequiredDefault_;
247 return ddtSchemes_.dict_;
253 return d2dt2Schemes_.dict_;
259 return interpSchemes_.dict_;
265 return divSchemes_.dict_;
271 return gradSchemes_.dict_;
277 return lnGradSchemes_.dict_;
283 return snGradSchemes_.dict_;
289 return laplacianSchemes_.dict_;
295 return fluxRequired_;
304 return ddtSchemes_.dict_;
310 return d2dt2Schemes_.dict_;
316 return interpSchemes_.dict_;
322 return divSchemes_.dict_;
328 return gradSchemes_.dict_;
334 return lnGradSchemes_.dict_;
340 return snGradSchemes_.dict_;
346 return laplacianSchemes_.dict_;
352 return fluxRequired_;
IOdictionary is derived from dictionary and IOobject to give the dictionary automatic IO functionalit...
readOption
Enumeration defining the read options.
An input stream of tokens.
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
const word & name() const
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
word dictName() const
The local dictionary name (final part of scoped name)
A class for handling file names.
Registry of regIOobjects.
Lookup type of boundary radiation properties.
Selector class for finite area/finite volume differencing schemes.
ITstream & ddtScheme(const word &name) const
Get ddt scheme for given name, or default.
ITstream & d2dt2Scheme(const word &name) const
Get d2dt2 scheme for given name, or default.
bool steady() const noexcept
True if default ddtScheme is steady-state.
const dictionary & interpolationSchemes() const noexcept
Access interpolation schemes dictionary.
void setFluxRequired(const word &name) const
Get flux-required for given name, or default.
const dictionary & gradSchemes() const noexcept
Access grad schemes dictionary.
ITstream & lnGradScheme(const word &name) const
Get (finiteArea) lnGrad scheme for given name, or default.
ITstream & divScheme(const word &name) const
Get div scheme for given name, or default.
ITstream & snGradScheme(const word &name) const
Get (finiteVolume) snGrad scheme for given name, or default.
const dictionary & ddtSchemes() const noexcept
Access ddt schemes dictionary.
bool transient() const noexcept
True if default ddtScheme is not steady-state.
const dictionary & d2dt2Schemes() const noexcept
Access d2dt2 schemes dictionary.
dictionary & ddtSchemes() noexcept
Access ddt schemes dictionary.
const dictionary & schemesDict() const
The current schemes dictionary, respects the "select" keyword.
dictionary & divSchemes() noexcept
Access div schemes dictionary.
const dictionary & divSchemes() const noexcept
Access div schemes dictionary.
const dictionary & laplacianSchemes() const noexcept
Access laplacian schemes dictionary.
dictionary & gradSchemes() noexcept
Access grad schemes dictionary.
dictionary & d2dt2Schemes() noexcept
Access d2dt2 schemes dictionary.
dictionary & fluxRequired() noexcept
Access to flux required dictionary.
const dictionary & lnGradSchemes() const noexcept
Access lnGrad schemes dictionary (finiteArea)
void writeDicts(Ostream &os) const
Write dictionary (possibly modified) settings.
static int debug
Debug switch.
dictionary & laplacianSchemes() noexcept
Access laplacian schemes dictionary.
ITstream & laplacianScheme(const word &name) const
Get laplacian scheme for given name, or default.
dictionary & interpolationSchemes() noexcept
Access interpolation schemes dictionary.
const dictionary & fluxRequired() const noexcept
Access to flux required dictionary.
ITstream & interpolationScheme(const word &name) const
Get interpolation scheme for given name, or default.
dictionary & snGradSchemes() noexcept
Access snGrad schemes dictionary (finiteVolume)
ITstream & gradScheme(const word &name) const
Get grad scheme for given name, or default.
bool read()
Read schemes from IOdictionary, respects the "select" keyword.
dictionary & lnGradSchemes() noexcept
Access lnGrad schemes dictionary (finiteArea)
const dictionary & snGradSchemes() const noexcept
Access snGrad schemes dictionary (finiteVolume)
A class for handling words, derived from Foam::string.
OBJstream os(runTime.globalPath()/outputName)