summaryrefslogtreecommitdiffstats
path: root/Smoke/fluids.c
diff options
context:
space:
mode:
authorOliver Schinagl <oliver@schinagl.nl>2008-01-10 12:21:34 (GMT)
committerOliver Schinagl <oliver@schinagl.nl>2008-01-10 12:21:34 (GMT)
commit120b234068acc69155a0e7bc30aa6b78ad3b7f22 (patch)
tree160ee4dd0e408344b65dba2b045f3f1c80f4035d /Smoke/fluids.c
parent148047d7dc230cda271b12a4f7388917038b6364 (diff)
download2iv35-120b234068acc69155a0e7bc30aa6b78ad3b7f22.zip
2iv35-120b234068acc69155a0e7bc30aa6b78ad3b7f22.tar.gz
2iv35-120b234068acc69155a0e7bc30aa6b78ad3b7f22.tar.bz2
oops
Diffstat (limited to 'Smoke/fluids.c')
-rw-r--r--Smoke/fluids.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/Smoke/fluids.c b/Smoke/fluids.c
index cce2c38..83764ac 100644
--- a/Smoke/fluids.c
+++ b/Smoke/fluids.c
@@ -83,6 +83,7 @@ void fluids_init_simulation(int n, struct vis_data_arrays *vis_data)
{
vis_data->history[i] = (fftw_real *)malloc(dim1);
}
+ printf("frame 0: %p\n", vis_data->history[0]);
fluids_reset_simulation();
@@ -498,6 +499,7 @@ void fluids_calculate_one_simulation_step(struct vis_data_arrays *vis_data)
heightplots_set_frame(vis_data->height);
normals_set_frame(vis_data->normals);
+ streamlines_set_history(vis_data->history);
}
//------ VISUALIZATION CODE STARTS HERE -----------------------------------------------------------------