Removed unneeded lib dependency from mdInitialise
[foam-extend-3.2.git] / applications / solvers / solidMechanics / elasticPlasticNonLinTLSolidFoam / calculateRelativeResidual.H
blob1bf4ba66bd1a5a66db08bc32dc3b2f5465b264f3
2   scalar maxDU = gMax(mag(DU.internalField()));
4     relativeResidual =
5         gMax
6       (
7        mag(DU.internalField() - DU.prevIter().internalField())
8        /(maxDU + SMALL)
9        );
11     //resid = (DU - DU.prevIter())/(mag(DU)+dimensionedScalar("small",dimLength,SMALL));