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