Remove trailing whitespace systematically
[foam-extend-3.2.git] / applications / solvers / solidMechanics / elasticNonLinTLSolidFoam / calculateRelativeResidual.H
blobfbd71718a7ba54d6b79aca2075ae944d7d60371c
2     scalarField magU = mag(U.internalField() - U.oldTime().internalField());
4     forAll(magU, cellI)
5     {
6         if (magU[cellI] < SMALL)
7         {
8             magU[cellI] = SMALL;
9         }
10     }
12     relativeResidual =
13         gMax
14         (
15             mag
16             (
17                 U.internalField()
18               - U.prevIter().internalField()
19             )
20            /magU
21         );