summaryrefslogtreecommitdiffstats
path: root/Smoke/fluids.c
diff options
context:
space:
mode:
Diffstat (limited to 'Smoke/fluids.c')
-rw-r--r--Smoke/fluids.c27
1 files changed, 0 insertions, 27 deletions
diff --git a/Smoke/fluids.c b/Smoke/fluids.c
index 83463e7..89308b0 100644
--- a/Smoke/fluids.c
+++ b/Smoke/fluids.c
@@ -40,12 +40,6 @@ struct point *normal_array; //used for normal vectors
rfftwnd_plan plan_rc, plan_cr; //simulation domain discretization
int winWidth, winHeight; //size of the graphics window, in pixels
-int color_dir = 0; //use direction color-coding or not
-float vec_scale = 1000; //scaling of hedgehogs
-int vis_dataset = DATASET_RHO;
-int active_slider = 0;
-int glyph_scalar = SCALAR_RHO;
-int glyph_vector = VECTOR_VEL;
static int fluids_calculate = TRUE;
static int DIM; //size of simulation grid
@@ -319,23 +313,7 @@ void calculate_height_plots(void)
int i;
for (i = 0; i < DIM * DIM; i++)
{
- switch (vis_dataset)
- {
- case DATASET_FORCE:
- height_array[i] = vec_len2f(fx[i], fy[i]) * 100;
- break;
- case DATASET_VEL:
- height_array[i] = vec_len2f(vx[i], vy[i]) * 5000;
- break;
- case DATASET_RHO:
height_array[i] = rho[i] * 16;
- break;
- default:
- case DATASET_DIVV:
- case DATASET_DIVF:
- height_array[i] = 0.0f;
- break;
- }
}
}
@@ -569,11 +547,6 @@ void fluids_insert_smoke(int x, int y)
lx = x; ly = y;
}
-//------ INTERACTION CODE STARTS HERE -----------------------------------------------------------------
-void select_dataset(int arg) { vis_dataset = arg; }
-void set_glyph_scalar(int arg) { glyph_scalar = arg; }
-void set_glyph_vector(int arg) { glyph_vector = arg; }
-
// getters and setters
int fluids_get_var_dim(void)