9 lines
190 B
C++
9 lines
190 B
C++
// Check convergence
|
|
if (maxResidual < convergenceCriterion)
|
|
{
|
|
Info<< "reached convergence criterion: " << convergenceCriterion << endl;
|
|
|
|
// Move to the next time-step
|
|
break;
|
|
}
|
|
|