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 dictionary & solverDict(const word &name) const
Return the solver controls dictionary for the given field.
Selector class for relaxation factors, solver type and solution.
A class for handling words, derived from string.
A class for handling file names.
bool cache(const word &name) const
Return true if the given field should be cached.
dictionary cache_
Dictionary of temporary fields to cache.
static label upgradeSolverDict(dictionary &dict, const bool verbose=true)
Update from older solver controls syntax.
dictionary solvers_
Dictionary of solver parameters for all the fields.
solution(const solution &)
Disallow default bitwise copy construct and assignment.
static void cachePrintMessage(const char *message, const word &name, const FieldType &vf)
Helper for printing cache message.
dictionary fieldRelaxDict_
Dictionary of relaxation factors for all the fields.
void operator=(const solution &)
Registry of regIOobjects.
scalar eqnRelaxDefault_
Optional default relaxation factor for all the equations.
scalar fieldRelaxationFactor(const word &name) const
Return the relaxation factor for the given field.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
dictionary eqnRelaxDict_
Dictionary of relaxation factors for all the equations.
bool read()
Read the solution dictionary.
scalar fieldRelaxDefault_
Optional default relaxation factor for all the fields.
A list of keyword definitions, which are a keyword followed by any number of values (e....
bool relaxEquation(const word &name) const
Return true if the relaxation factor is given for the equation.
bool caching_
Switch for the caching mechanism.
static int debug
Debug switch.
scalar equationRelaxationFactor(const word &name) const
Return the relaxation factor for the given eqation.
const dictionary & solutionDict() const
Return the selected sub-dictionary of solvers if the "select".
const word & name() const
Name function is needed to disambiguate those inherited.
const dictionary & solver(const word &name) const
Return the solver controls dictionary for the given field.
bool relaxField(const word &name) const
Return true if the relaxation factor is given for the field.