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