FreeFOAM The Cross-Platform CFD Toolkit
checkConstantOption.H
Go to the documentation of this file.
1 //
2 // checkConstantOption.H
3 // ~~~~~~~~~~~~~~~~~~~~~
4 // unless -constant is present, skip startTime if it is "constant"
5 
6  if
7  (
8  !args.optionFound("constant")
9  && (startTime < Times.size()-1)
10  && (Times[startTime].name() == "constant")
11  )
12  {
13  startTime++;
14  }
15 
16 // ************************ vim: set sw=4 sts=4 et: ************************ //