mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
- add const-ness for control variables - drop unused fluxGradp variable - use lookupOrDefault instead of found/lookup combination
7 lines
296 B
C
7 lines
296 B
C
const dictionary& stressControl = mesh.solutionDict().subDict("stressAnalysis");
|
|
|
|
const int nCorr = stressControl.lookupOrDefault<int>("nCorrectors", 1);
|
|
|
|
scalar convergenceTolerance(readScalar(stressControl.lookup("D")));
|
|
Switch compactNormalStress(stressControl.lookup("compactNormalStress"));
|