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