Fixed URL for libccmio-2.6.1 (bug report #5 by Thomas Oliveira)
[foam-extend-3.2.git] / applications / solvers / solidMechanics / elasticThermalSolidFoam / readSigmaExpMethod.H
blob309785d36d99a5206e67001beaba21b80405e247
1 //- how explicit component of sigma is to be calculated
2 word sigmaExpMethod(mesh.solutionDict().subDict("solidMechanics").lookup("sigmaExp"));
3 Info << sigmaExpMethod << " method chosen for calculation of sigmaExp" << endl;
4 if(sigmaExpMethod != "standard" && sigmaExpMethod != "surface" && sigmaExpMethod != "decompose")
5   {
6     FatalError << "sigmaExp method " << sigmaExpMethod << " not found!" << nl
7         << "valid methods are:\nstandard\nsurface\ndecompose"
8         << exit(FatalError);
9   }