summaryrefslogtreecommitdiffstats
path: root/Smoke/fluids.h
diff options
context:
space:
mode:
authorWilrik de Loose <wilrik@wilrik.nl>2007-11-21 14:51:00 (GMT)
committerWilrik de Loose <wilrik@wilrik.nl>2007-11-21 14:51:00 (GMT)
commitd8ea74241556855f9f6300ad8344354666aadae6 (patch)
tree2ab009a00b5428bf2a4532939d4cb6bbf1c15f9c /Smoke/fluids.h
parent193caaa1166a415b80bdb361a8babba1298c4f6e (diff)
download2iv35-d8ea74241556855f9f6300ad8344354666aadae6.zip
2iv35-d8ea74241556855f9f6300ad8344354666aadae6.tar.gz
2iv35-d8ea74241556855f9f6300ad8344354666aadae6.tar.bz2
Divergence (4a) min of meer geimplementeerd
Diffstat (limited to 'Smoke/fluids.h')
-rw-r--r--Smoke/fluids.h13
1 files changed, 8 insertions, 5 deletions
diff --git a/Smoke/fluids.h b/Smoke/fluids.h
index 31f382d..6614d22 100644
--- a/Smoke/fluids.h
+++ b/Smoke/fluids.h
@@ -10,9 +10,11 @@ extern fftw_real *rho, *rho0; //smoke density at the current (rho) and previou
extern rfftwnd_plan plan_rc, plan_cr; //simulation domain discretization
//--- VISUALIZATION PARAMETERS ---------------------------------------------------------------------
-#define DATASET_RHO 0
-#define DATASET_VEL 1
+#define DATASET_RHO 0
+#define DATASET_VEL 1
#define DATASET_FORCE 2
+#define DATASET_DIVV 3
+#define DATASET_DIVF 4
#define MOUSE_SMOKE 0
#define MOUSE_SCALE_MIN 1
@@ -30,9 +32,10 @@ extern rfftwnd_plan plan_rc, plan_cr; //simulation domain discretization
#define VECTOR_VEL 0
#define VECTOR_FORCE 1
-#define GLYPH_ARROWS 0
-#define GLYPH_LINES 1
-#define GLYPH_CONES 2
+#define GLYPH_ARROWS 0
+#define GLYPH_LINES 1
+#define GLYPH_CYLINDERS 2
+#define GLYPH_SPHERES 3
extern int winWidth, winHeight; //size of the graphics window, in pixels
extern int color_dir; //use direction color-coding or not