FreeFOAM The Cross-Platform CFD Toolkit
readControls.H
Go to the documentation of this file.
3 
4  bool correctPhi = false;
5  if (pimple.found("correctPhi"))
6  {
7  correctPhi = Switch(pimple.lookup("correctPhi"));
8  }
9 
10  bool checkMeshCourantNo = false;
11  if (pimple.found("checkMeshCourantNo"))
12  {
13  checkMeshCourantNo = Switch(pimple.lookup("checkMeshCourantNo"));
14  }