Finishing the loading of variables into the visit writer
This commit is contained in:
1 parent
7f925e0389
commit
0388699221
13 files changed
+647
-266
No files matched your search
@@ -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];
|
||||
|
||||
Reference in new issue
Block a user