Fixed URL for libccmio-2.6.1 (bug report #5 by Thomas Oliveira)
[foam-extend-3.2.git] / applications / solvers / solidMechanics / elasticAcpSolidFoam / readDivSigmaExpMethod.H
blob66ccb5128263cbc1d27911fbf3979bd7470c7273
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")
6     FatalError << "divSigmaExp method " << divSigmaExpMethod << " not found!" << nl
7         << "valid methods are:\nstandard\nsurface\ndecompose\nlaplacian"
8         << exit(FatalError);