summaryrefslogtreecommitdiffstats
path: root/Smoke/fluids.c
diff options
context:
space:
mode:
authorOliver Schinagl <oliver@schinagl.nl>2008-01-03 17:04:42 (GMT)
committerOliver Schinagl <oliver@schinagl.nl>2008-01-03 17:04:42 (GMT)
commit909340f9a5299194c582f9224f21f4f4daf56e51 (patch)
tree987fdc136590a23ad59ad984a2c47798bade24a0 /Smoke/fluids.c
parent8edd0c2ad477886571fe1d75219d5ca17255fdf0 (diff)
download2iv35-909340f9a5299194c582f9224f21f4f4daf56e51.zip
2iv35-909340f9a5299194c582f9224f21f4f4daf56e51.tar.gz
2iv35-909340f9a5299194c582f9224f21f4f4daf56e51.tar.bz2
cleanup and fixes
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 46c7a2b..6ea63d8 100644
--- a/Smoke/fluids.c
+++ b/Smoke/fluids.c
@@ -17,6 +17,7 @@
#include "funcs.h"
#include "fluids.h"
+#include "colormap.h"
//--- SIMULATION PARAMETERS ------------------------------------------------------------------------
const int DIM = 50; //size of simulation grid
@@ -321,6 +322,7 @@ void calculate_one_simulation_step(fftw_real *field)
calculate_height_plot();
calculate_normal_vectors();
copy_frame(field, rho);
+ colormap_autoscale();
}
}