Fixed URL for libccmio-2.6.1 (bug report #5 by Thomas Oliveira)
[foam-extend-3.2.git] / applications / solvers / solidMechanics / elasticPlasticSolidFoam / calculateRelativeResidual.H
blob12c0ffe58557997c8ee02a1e785410afa465fbff
2   scalar magDU = gMax(mag(DU.internalField()));
4   if (magDU < SMALL)
5     {
6       magDU = SMALL;
7     }
9   relativeResidual =
10     gMax
11     (
12      mag
13      (
14       DU.internalField()
15       - DU.prevIter().internalField()
16       )
17      /magDU
18      );