1 // Read time index from */uniform/time, but treat 0 and constant specially
2 // or simply increment from the '-index' option if it was supplied
8 timeIndex = indexingNumber++;
12 runTime.timeName() != "constant"
13 && runTime.timeName() != "0"
22 IOobject::READ_IF_PRESENT,
29 io.readOpt() = IOobject::MUST_READ;
30 IOdictionary timeObject(io);
32 timeObject.lookup("index") >> timeIndex;
36 Info<< "skip ... missing entry " << io.objectPath() << endl;
41 timeIndices.insert(timeIndex, timeDirs[timeI].value());
42 Info<< "\nTime [" << timeIndex << "] = " << runTime.timeName() << nl;