- add const-ness for control variables - drop unused fluxGradp variable - use lookupOrDefault instead of found/lookup combination
10 lines
288 B
C
10 lines
288 B
C
// We do not have a top-level mesh. Construct the fvSolution for
|
|
// the runTime instead.
|
|
fvSolution solutionDict(runTime);
|
|
|
|
const dictionary& pimple = solutionDict.subDict("PIMPLE");
|
|
|
|
const int nOuterCorr =
|
|
pimple.lookupOrDefault<int>("nOuterCorrectors", 1);
|
|
|