Removed unneeded lib dependency from mdInitialise
[foam-extend-3.2.git] / applications / solvers / solidMechanics / elasticOrthoAcpSolidFoam / readDivSigmaExpMethod.H
blob46f3c0682d9445549b92e6a4d0b193f9c2720817
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 if(divSigmaExpMethod != "standard" && divSigmaExpMethod != "surface" && divSigmaExpMethod != "laplacian")
6   {
7     FatalError << "divSigmaExp method " << divSigmaExpMethod << " not found!" << nl
8                << "valid methods are:\nstandard\nsurface\nlaplacian"
9                << exit(FatalError);
10   }