41 control_.dict().lookupOrDefault<
label>(
"nOuterCorrectors", 1);
76 <<
" iterations" <<
endl;
const char * algorithmSpace() const
Return some whitespace the same length as the algorithm name.
bool loop(correctorConvergenceControl &convergence)
Pimple loop.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
const solutionControl & control_
Reference to the solution control.
virtual void updateCorrSolveIndex()=0
Update the solve index in the correction residual control data.
virtual bool hasCorrResidualControls() const =0
Return true if corrector residual controls are present.
Ostream & endl(Ostream &os)
Add newline and flush stream.
Corrector convergence control class. Provides methods to check the convergence of an inner iteration ...
label corrPimple_
Current pimple corrector.
virtual ~pimpleLoop()
Destructor.
virtual bool corrCriteriaSatisfied() const =0
Return true if all correction convergence checks are satisfied.
virtual bool read()
Read controls.
defineTypeNameAndDebug(combustionModel, 0)
virtual void resetCorrSolveIndex()=0
Reset the solve index in the correction residual control data.
bool firstPimpleIter() const
Flag to indicate the first pimple iteration.
pimpleLoop(const solutionControl &control)
Construct from a solution control.
label nCorrPimple_
Maximum number of pimple correctors.
const word & algorithmName() const
Return the name of the algorithm.
bool converged_
Flag to indicate convergence of the pimple loop.