Removed unneeded lib dependency from mdInitialise
[foam-extend-3.2.git] / applications / solvers / solidMechanics / elasticNonLinULSolidFoam / readDivDSigmaExpMethod.H
blob50d85037ab2bebc6a5722dc76f15f29b0af20244
1 //-  the method used to calculate the explicit component of sigma
2 word divDSigmaExpMethod(mesh.solutionDict().subDict("solidMechanics").lookup("divSigmaExp"));
3 Info << "divSigmaExp method: " << divDSigmaExpMethod << endl;
4 if(divDSigmaExpMethod != "standard"
5    && divDSigmaExpMethod != "surface"
6    && divDSigmaExpMethod != "decompose"
7    && divDSigmaExpMethod != "laplacian")
8   {
9     FatalError << "divSigmaExp method " << divDSigmaExpMethod << " not found!" << nl
10                << "valid methods are:\nstandard\nsurface\ndecompose\nlaplacian"
11                << exit(FatalError);
12   }