repo.or.cz
/
OpenFOAM-1.5.x.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
initial commit for version 1.5.x patch release
[OpenFOAM-1.5.x.git]
/
src
/
OpenFOAM
/
include
/
checkTimeOption.H
blob
70759dd81ba12b91617ed714a2ef9be8040b236a
1
if (args.options().found("time"))
2
{
3
scalar timeValue(readScalar(IStringStream(args.options()["time"])()));
4
5
startTime = Time::findClosestTimeIndex(Times, timeValue);
6
endTime = startTime + 1;
7
}