Go to the documentation of this file.
35 #ifndef solutionControl_H
36 #define solutionControl_H
76 const entry& dataDictEntry
126 virtual bool read(
const bool absTolOnly);
134 const word& fieldName,
135 const bool useRegEx =
true
158 const entry& solverPerfDictEntry,
171 const bool check =
true,
172 const bool force =
false
215 inline label
corr()
const;
247 virtual bool loop() = 0;
virtual const dictionary dict() const
A keyword and a list of tokens is an 'entry'.
A class for handling words, derived from Foam::string.
virtual bool writeData(Ostream &) const
Base class for solution control classes.
static bool maxTypeResidual(const fvMesh &fvmesh, const entry &solverPerfDictEntry, Pair< scalar > &residuals)
List< fieldData > residualControl_
A wordRe is a Foam::word, but can contain a regular expression for matching words or strings.
virtual void storePrevIterFields() const
virtual void setFirstIterFlag(const bool check=true, const bool force=false)
virtual label applyToField(const word &fieldName, const bool useRegEx=true) const
static void check(const int retVal, const char *what)
const word algorithmName_
bool correctNonOrthogonal()
bool finalNonOrthogonalIter() const
static Pair< scalar > maxResidual(const fvMesh &fvmesh, const entry &dataDictEntry)
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
label nNonOrthCorr() const
Mesh data needed to do the Finite Volume discretisation.
TypeName("solutionControl")
regIOobject is an abstract class derived from IOobject to handle automatic object registration with t...
bool momentumPredictor() const
label corrNonOrtho() const
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
virtual bool criteriaSatisfied()=0
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
virtual ~solutionControl()=default
void storePrevIter() const