ENH: autoLayerDriver: better layering information message
[OpenFOAM-2.0.x.git] / src / OpenFOAM / include / checkConstantOption.H
blob9f39ac65413c0f6bbb1b510993f3e122fea3955f
1 //
2 // checkConstantOption.H
3 // ~~~~~~~~~~~~~~~~~~~~~
4 // unless -constant is present, skip startTime if it is "constant"
6     if
7     (
8         !args.optionFound("constant")
9      && (startTime < Times.size()-1)
10      && (Times[startTime].name() == "constant")
11     )
12     {
13         startTime++;
14     }