initial commit for version 1.5.x patch release
[OpenFOAM-1.5.x.git] / src / OpenFOAM / include / checkTimeOption.H
blob70759dd81ba12b91617ed714a2ef9be8040b236a
1     if (args.options().found("time"))
2     {
3         scalar timeValue(readScalar(IStringStream(args.options()["time"])()));
5         startTime = Time::findClosestTimeIndex(Times, timeValue);
6         endTime = startTime + 1;
7     }