61 averageIter_(
solver.getOrDefault<label>(
"averageIter", 0)),
62 averageStartIter_(-1),
66 solverDict().getOrDefault<
bool>(
"storeInitValues", false)
71 getOrDefault<
bool>(
"average", false)
fvSolution solutionDict(runTime)
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
dictionary subOrEmptyDict(const word &keyword, enum keyType::option matchOpt=keyType::REGEX, const bool mandatory=false) const
T getOrDefault(const word &keyword, const T &deflt, enum keyType::option matchOpt=keyType::REGEX) const
Base class for solver control classes.
label averageStartIter_
Averaging start index.
virtual const dictionary solutionDict() const
Return the solutionControls dictionary.
virtual bool read()
Read controls from optimisationDict.
bool printMaxMags_
Whether to print the max magnitude during each solver iteration.
Base class for solution control classes.
#define defineTypeNameAndDebug(Type, DebugSwitch)
Define the typeName and debug information.