1 instantList sourceTimes = runTimeSource.times();
2 label sourceTimeIndex = runTimeSource.timeIndex();
3 if (args.optionFound("sourceTime"))
5 if (args.option("sourceTime") == "latestTime")
7 sourceTimeIndex = sourceTimes.size() - 1;
11 sourceTimeIndex = Time::findClosestTimeIndex
14 args.optionRead<scalar>("sourceTime")
20 sourceTimeIndex = Time::findClosestTimeIndex
23 runTimeTarget.time().value()
27 runTimeSource.setTime(sourceTimes[sourceTimeIndex], sourceTimeIndex);
29 Info<< "\nSource time: " << runTimeSource.value()
30 << "\nTarget time: " << runTimeTarget.value()