readSolidMultiRegionResidualControls.H
Go to the documentation of this file.
1  const dictionary& residualControl =
2  mesh.solutionDict().subDict("SIMPLE").subOrEmptyDict("residualControl");
3 
4  scalar hTol = -1.;
5 
6  if (!residualControl.empty())
7  {
8  if (!residualControl.subOrEmptyDict("h").empty())
9  {
10  hTol = readScalar(residualControl.subDict("h").lookup("tolerance"));
11 
12  //- Used residual control for actual solid region
13  if (hTol != -1)
14  {
15  residualControlUsed = true;
16  resReachedSolid = false;
17  }
18  }
19  }
#define readScalar
Definition: doubleScalar.C:38
bool & residualControlUsed
const dictionary & residualControl
dynamicFvMesh & mesh
bool & resReachedSolid