Commit de26991b authored by allens's avatar allens

added accurate cycles and times

git-svn-id: http://visit.ilight.com/svn/visit/trunk/src@23389 18c085ea-50e0-402c-830e-de6fd14e8384
parent 399f651f
......@@ -805,7 +805,21 @@ avtUintahFileFormat::ReadMetaData(avtDatabaseMetaData *md, int timeState)
md->AddGroupInformation(numLevels, totalPatches, groupIds);
md->AddDefaultSILRestrictionDescription(std::string("!TurnOnAll"));
// Set the cycles and times.
md->SetCyclesAreAccurate(true);
std::vector<int> cycles;
cycles.resize( cycleTimes.size() );
for(int i=0; i<cycleTimes.size(); ++i )
cycles[i] = i;
md->SetCycles( cycles );
md->SetTimesAreAccurate(true);
md->SetTimes( cycleTimes );
AddExpressionsToMetadata(md);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment