Commit 583de6e3 authored by brugger's avatar brugger

I modified the MRTest database reader to set the cycle and time so that

PopulateDatabaseMetadata is only called once.

git-svn-id: 18c085ea-50e0-402c-830e-de6fd14e8384
parent bef60cfa
......@@ -248,13 +248,27 @@ avtMRTestFileFormat::PopulateDatabaseMetaData(avtDatabaseMetaData *md)
md->Add(new avtScalarMetaData("Mandelbrot", "Mesh", AVT_ZONECENT));
md->Add(new avtScalarMetaData("Mandelbrot3d", "Mesh3d", AVT_ZONECENT));
// Indicate that we can decompose the data in parallel.
// Providing cycles and times and saying they are accurate causes this
// routine to only get called once. Ideally it would be nice to say that
// we don't have times or cycles.
md->SetCycle(timestep, 0);
md->SetCycleIsAccurate(true, timestep);
md->SetTime(timestep, 0.);
md->SetTimeIsAccurate(true, timestep);
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