mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
ENH: storePrevIter now handled by solutionControl class
This commit is contained in:
@ -59,10 +59,16 @@ class solution
|
||||
bool caching_;
|
||||
|
||||
//- Dictionary of relaxation factors for all the fields
|
||||
dictionary relaxationFactors_;
|
||||
dictionary fieldRelaxDict_;
|
||||
|
||||
//- Dictionary of relaxation factors for all the equations
|
||||
dictionary eqnRelaxDict_;
|
||||
|
||||
//- Optional default relaxation factor for all the fields
|
||||
scalar defaultRelaxationFactor_;
|
||||
scalar fieldRelaxDefault_;
|
||||
|
||||
//- Optional default relaxation factor for all the equations
|
||||
scalar eqnRelaxDefault_;
|
||||
|
||||
//- Dictionary of solver parameters for all the fields
|
||||
dictionary solvers_;
|
||||
@ -107,10 +113,16 @@ public:
|
||||
bool cache(const word& name) const;
|
||||
|
||||
//- Return true if the relaxation factor is given for the field
|
||||
bool relax(const word& name) const;
|
||||
bool relaxField(const word& name) const;
|
||||
|
||||
//- Return true if the relaxation factor is given for the equation
|
||||
bool relaxEquation(const word& name) const;
|
||||
|
||||
//- Return the relaxation factor for the given field
|
||||
scalar relaxationFactor(const word& name) const;
|
||||
scalar fieldRelaxationFactor(const word& name) const;
|
||||
|
||||
//- Return the relaxation factor for the given eqation
|
||||
scalar equationRelaxationFactor(const word& name) const;
|
||||
|
||||
//- Return the selected sub-dictionary of solvers if the "select"
|
||||
// keyword is given, otherwise return the complete dictionary
|
||||
@ -122,6 +134,7 @@ public:
|
||||
//- Return the solver controls dictionary for the given field
|
||||
const dictionary& solver(const word& name) const;
|
||||
|
||||
|
||||
// Read
|
||||
|
||||
//- Read the solution dictionary
|
||||
|
||||
Reference in New Issue
Block a user