Fixing indentation in applications/solvers/solidMechanics
[foam-extend-3.2.git] / applications / solvers / solidMechanics / elasticPlasticNonLinTLSolidFoam / readDivDSigmaExpMethod.H
blob421acb29dc37c2ab02c37b66a19f8d3637f9689b
1 //- how explicit component of sigma is to be calculated
2 word divDSigmaExpMethod
4     mesh.solutionDict().subDict("solidMechanics").lookup("divSigmaExp")
5 );
7 Info << "divSigmaExp method " << divDSigmaExpMethod <<  endl;
8 if
10     divDSigmaExpMethod != "standard"
11  && divDSigmaExpMethod != "surface"
12  && divDSigmaExpMethod != "decompose"
13  && divDSigmaExpMethod != "laplacian"
16     FatalErrorIn(args.executable())
17         << "divSigmaExp method " << divDSigmaExpMethod << " not found!" << nl
18         << "valid methods are:\nstandard\nsurface\ndecompose\nlaplacian"
19         << exit(FatalError);