Finishing the loading of variables into the visit writer

This commit is contained in:
Mark Berrill committed 2014-11-06 14:23:57 -05:00
1 parent 7f925e0389
commit 0388699221
13 files changed
+647 -266

No files matched your search

+1
View File
@@ -2169,6 +2169,7 @@ int main(int argc, char **argv)
std::shared_ptr<IO::Variable> dist( new IO::Variable() );
dist->name = "distance";
dist->dim = 1;
dist->type = IO::VariableType::NodeVariable;
dist->data.resize(3*mesh->A.size());
for (size_t i=0; i<mesh->A.size(); i++) {
const Point& a = mesh->A[i];