Merge branch 'master' of ssh://git.code.sf.net/p/foam-extend/foam-extend-3.2
[foam-extend-3.2.git] / applications / solvers / solidMechanics / elasticPlasticSolidFoam / readDivDSigmaExpMethod.H
blob42d42b1e9d447bcf92dba9732fc053591245598d
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")
6     FatalError << "divSigmaExp method " << divDSigmaExpMethod << " not found!" << nl
7         << "valid methods are:\nstandard\nsurface\ndecompose\nlaplacian"
8         << exit(FatalError);