Commit 0bfba125 authored by fogal1's avatar fogal1
Browse files

star: add LODs in PopulateDBMetaData

git-svn-id: http://visit.ilight.com/svn/visit/trunk/src@12164 18c085ea-50e0-402c-830e-de6fd14e8384
parent 3671fd55
......@@ -44,7 +44,9 @@ using std::string;
// visit includes
#include <avtSTARFileFormat.h>
#include <avtDatabaseMetaData.h>
#include <avtMeshMetaData.h>
#include <DBOptionsAttributes.h>
#include <DebugStream.h>
#include <Expression.h>
#include <InvalidVariableException.h>
......@@ -272,6 +274,11 @@ PopulateDatabaseMetaData(avtDatabaseMetaData *md, int timeState)
numDims,
topologyDimension);
// assuming there is only one mesh...
avtMeshMetaData& mmd = md->GetMeshes(0);
mmd.LODs = mDataManager->numResolutions() - 1;
debug4 << "Telling VisIt we have " << mmd.LODs << " levels of detail.\n";
for(int i=0; i<mDataManager->numVariables(); i++) {
string varname = mDataManager->variableNameAt(i);
......
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