61 averageIter_(
solver.getOrDefault<label>(
"averageIter", 0)),
62 averageStartIter_(-1),
66 solverDict().getOrDefault<bool>(
"storeInitValues", false)
71 getOrDefault<bool>(
"average", false)
A list of keyword definitions, which are a keyword followed by a number of values (eg...
virtual bool read()
Read controls from optimisationDict.
fvSolution solutionDict(runTime)
Base class for solver control classes.
defineTypeNameAndDebug(combustionModel, 0)
dictionary subOrEmptyDict(const word &keyword, enum keyType::option matchOpt=keyType::REGEX, const bool mandatory=false) const
Find and return a sub-dictionary as a copy, otherwise return an empty dictionary. ...
label averageStartIter_
Averaging start index.
bool printMaxMags_
Whether to print the max magnitude during each solver iteration.
T getOrDefault(const word &keyword, const T &deflt, enum keyType::option matchOpt=keyType::REGEX) const
Find and return a T, or return the given default value. FatalIOError if it is found and the number of...
virtual const dictionary solutionDict() const
Return the solutionControls dictionary.