Finishing the loading of variables into the visit writer

This commit is contained in:
Mark Berrill
2014-11-06 14:23:57 -05:00
parent 7f925e0389
commit 0388699221
13 changed files with 647 additions and 266 deletions

View File

@@ -160,7 +160,7 @@ std::shared_ptr<IO::Variable> IO::getVariable( const std::string& path, const st
ASSERT(count==bytes);
std::shared_ptr<IO::Variable> var( new IO::Variable() );
var->dim = dim;
var->type = static_cast<IO::Variable::VariableType>(type);
var->type = static_cast<IO::VariableType>(type);
var->name = variable;
var->data.resize(N);
double *var_data = var->data.data();