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