59 mutable bool caching_;
68 scalar fieldRelaxDefault_;
71 scalar eqnRelaxDefault_;
118 template<
class FieldType>
IOdictionary is derived from dictionary and IOobject to give the dictionary automatic IO functionalit...
const word dictName() const
Return the local dictionary name (final part of scoped name)
const fileName & name() const
Return the dictionary name.
A list of keyword definitions, which are a keyword followed by any number of values (e....
A class for handling file names.
Registry of regIOobjects.
Selector class for relaxation factors, solver type and solution.
void enableCache(const word &name) const
Enable caching of the given field.
solution(const objectRegistry &obr, const fileName &dictName)
Construct for given objectRegistry and dictionary.
bool cache(const word &name) const
Return true if the given field should be cached.
static void cachePrintMessage(const char *message, const word &name, const FieldType &vf)
Helper for printing cache message.
const dictionary & solversDict() const
Return the solver controls dictionary.
bool relaxField(const word &name) const
Return true if the relaxation factor is given for the field.
scalar fieldRelaxationFactor(const word &name) const
Return the relaxation factor for the given field.
const dictionary & solverDict(const word &name) const
Return the solver controls dictionary for the given field.
static label upgradeSolverDict(dictionary &dict, const bool verbose=true)
Update from older solver controls syntax.
scalar equationRelaxationFactor(const word &name) const
Return the relaxation factor for the given eqation.
const dictionary & dict() const
Return the selected sub-dictionary of solvers if the "select".
void operator=(const solution &)=delete
bool relaxEquation(const word &name) const
Return true if the relaxation factor is given for the equation.
ClassName("solution")
Type information.
bool read()
Read the solution dictionary.
A class for handling words, derived from string.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.