36 #ifndef singleRegionCorrectorConvergenceControl_H
37 #define singleRegionCorrectorConvergenceControl_H
82 TypeName(
"singleRegionCorrectorConvergenceControl");
Corrector convergence control class. Provides methods to check the convergence of an inner iteration ...
Mesh data needed to do the Finite Volume discretisation.
Single-region-specific derivation of the corrector convergence control class.
const fvMesh & mesh_
Reference to the mesh.
TypeName("singleRegionCorrectorConvergenceControl")
Run-time type information.
void printCorrResidualControls(const label n) const
Print the residual controls.
virtual ~singleRegionCorrectorConvergenceControl()
Destructor.
virtual bool hasCorrResidualControls() const
Return true if corrector residual controls are present.
virtual void resetCorrSolveIndex()
Reset the solve index in the correction residual control data.
virtual void updateCorrSolveIndex()
Update the solve index in the correction residual control data.
List< corrResidualData > corrResidualControl_
List of residual data per field.
virtual bool corrCriteriaSatisfied() const
Return true if all correction convergence checks are satisfied.
singleRegionCorrectorConvergenceControl(const singleRegionSolutionControl &control, const word &loopName)
Construct from a solution control and the loop name.
virtual bool read()
Read controls.
HashTable< label > solveIndex_
The index of the solution at the start of the corrector loop, for.
Single-region-specific derivation of the solution control class.
A class for handling words, derived from string.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.