68 scalar fieldRelaxDefault_;
71 scalar eqnRelaxDefault_;
115 template<
class FieldType>
scalar equationRelaxationFactor(const word &name) const
Return the relaxation factor for the given eqation.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
A class for handling file names.
A list of keyword definitions, which are a keyword followed by any number of values (e...
bool read()
Read the solution dictionary.
void operator=(const solution &)=delete
bool relaxField(const word &name) const
Return true if the relaxation factor is given for the field.
const dictionary & solverDict(const word &name) const
Return the solver controls dictionary for the given field.
bool relaxEquation(const word &name) const
Return true if the relaxation factor is given for the equation.
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)
A class for handling words, derived from string.
const dictionary & solutionDict() const
Return the selected sub-dictionary of solvers if the "select".
bool cache(const word &name) const
Return true if the given field should be cached.
const word & name() const
Name function is needed to disambiguate those inherited.
solution(const objectRegistry &obr, const fileName &dictName)
Construct for given objectRegistry and dictionary.
scalar fieldRelaxationFactor(const word &name) const
Return the relaxation factor for the given field.
Selector class for relaxation factors, solver type and solution.
Registry of regIOobjects.
static void cachePrintMessage(const char *message, const word &name, const FieldType &vf)
Helper for printing cache message.
static int debug
Debug switch.
static label upgradeSolverDict(dictionary &dict, const bool verbose=true)
Update from older solver controls syntax.