9 lines
229 B
C++
9 lines
229 B
C++
|
// Check convergence
|
||
|
if (maxResidual < convergenceCriterion)
|
||
|
{
|
||
|
Info<< "reached convergence criterion: " << convergenceCriterion << endl;
|
||
|
runTime.writeAndEnd();
|
||
|
Info<< "latestTime = " << runTime.timeName() << endl;
|
||
|
}
|
||
|
|