FreeFOAM The Cross-Platform CFD Toolkit
readControls.H
Go to the documentation of this file.
3 
4  bool correctPhi = true;
5  if (piso.found("correctPhi"))
6  {
7  correctPhi = Switch(piso.lookup("correctPhi"));
8  }
9 
10  bool checkMeshCourantNo = false;
11  if (piso.found("checkMeshCourantNo"))
12  {
13  checkMeshCourantNo = Switch(piso.lookup("checkMeshCourantNo"));
14  }
15 
16 // ************************ vim: set sw=4 sts=4 et: ************************ //