summaryrefslogtreecommitdiffstats
path: root/Smoke/fluids.c
diff options
context:
space:
mode:
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();
}
}