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")
7 FatalError << "moveMeshMethod " << moveMeshMethod << " not found!" << nl
8 << "valid methods are:\ninvreseDistance\nleastSquares"