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: http://visit.ilight.com/svn/visit/trunk/src@22806 18c085ea-50e0-402c-830e-de6fd14e8384
parent bef60cfa
......@@ -248,13 +248,27 @@ avtMRTestFileFormat::PopulateDatabaseMetaData(avtDatabaseMetaData *md)
md->Add(mesh3d);
md->SetFormatCanDoMultires(true);
md->Add(new avtScalarMetaData("Mandelbrot", "Mesh", AVT_ZONECENT));
md->Add(new avtScalarMetaData("Mandelbrot3d", "Mesh3d", AVT_ZONECENT));
md->SetFormatCanDoMultires(true);
//
// Indicate that we can decompose the data in parallel.
//
md->SetFormatCanDoDomainDecomposition(true);
//
// 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