Removed unneeded lib dependency from mdInitialise
[foam-extend-3.2.git] / applications / solvers / solidMechanics / elasticSolidFoam / readSolidMechanicsControls.H
blob86f90ccbb192d4ebb1f8fcfd040d2f4fcdc2255c
1 const dictionary& stressControl =
2   mesh.solutionDict().subDict("solidMechanics");
4 int nCorr(readInt(stressControl.lookup("nCorrectors")));
5 scalar convergenceTolerance(readScalar(stressControl.lookup("U")));
6 Switch predictor(stressControl.lookup("predictor"));
7 int infoFrequency(readInt(stressControl.lookup("infoFrequency")));
8 Switch aitkenRelax(stressControl.lookup("aitkenRelaxation"));
9 //Switch thirdOrderCorrection(stressControl.lookup("thirdOrderCorrection"));
10 //Switch relaxEqn(stressControl.lookup("relaxEquation"));
12 // if(relaxEqn && solidInterfaceCorr)
13 //   {
14 //     FatalError << "relaxEqn and solidInterface may not be used concurrently"
15 //                << exit(FatalError);
16 //   }