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