Introduction
Introduction Statistics Contact Development Disclaimer Help
twrite slider information to vtk file - slidergrid - grid of elastic sliders on…
git clone git://src.adamsgaard.dk/slidergrid
Log
Files
Refs
README
LICENSE
---
commit 1e93ae46150e61b7df00a55d2eee080bc43fae4e
parent a5be42f1e7f01ede7d541668d2dba523bb752881
Author: Anders Damsgaard <[email protected]>
Date: Thu, 17 Mar 2016 15:46:26 -0700
write slider information to vtk file
Diffstat:
M slidergrid/main.c | 9 +++++++++
1 file changed, 9 insertions(+), 0 deletions(-)
---
diff --git a/slidergrid/main.c b/slidergrid/main.c
t@@ -155,6 +155,15 @@ int main(int argc, char** argv)
return EXIT_FAILURE;
}
+ // sliders to VTK file
+ sprintf(filename, "%s/%s.sliders.%06d.vtu",
+ output_folder, sim.id, sim.file_number);
+ if (save_sliders_to_vtk_file(sim.sliders, sim.N, filename)) {
+ fprintf(stderr, "\nFatal error: Could not save to output file "
+ "'%s'.\n", filename);
+ return EXIT_FAILURE;
+ }
+
time_since_file = 0.0;
sim.file_number++;
}
You are viewing proxied material from mx1.adamsgaard.dk. The copyright of proxied material belongs to its original authors. Any comments or complaints in relation to proxied material should be directed to the original authors of the content concerned. Please see the disclaimer for more details.