Removed unneeded lib dependency from mdInitialise
[foam-extend-3.2.git] / applications / solvers / solidMechanics / elasticNonLinULSolidFoam / readMoveMeshMethod.H
blobdbca59095badced5ea415e9ff1f03454600d77ad
1 //-  the method used to interpolate in cell centre displacements to the vertices to move the mesh
2 word moveMeshMethod(mesh.solutionDict().subDict("solidMechanics").lookup("moveMeshMethod"));
3 Info << "Move Mesh method: " << moveMeshMethod << endl;
4 if(moveMeshMethod != "inverseDistance"
5    && moveMeshMethod != "leastSquares")
6   {
7     FatalError << "moveMeshMethod " << moveMeshMethod << " not found!" << nl
8                << "valid methods are:\ninvreseDistance\nleastSquares"
9                << exit(FatalError);
10   }