summaryrefslogtreecommitdiffstats
path: root/Smoke/fluids.c
diff options
context:
space:
mode:
Diffstat (limited to 'Smoke/fluids.c')
-rw-r--r--Smoke/fluids.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/Smoke/fluids.c b/Smoke/fluids.c
index b339d1e..25c4d84 100644
--- a/Smoke/fluids.c
+++ b/Smoke/fluids.c
@@ -382,8 +382,6 @@ void setup_arrays(struct vis_data_arrays *vis_data)
fftw_real *frame_smoke, *frame_streamlines;
struct fftw_real_xy scalar_frames_glyphs, scalar_frames_streamlines;
int dataset;
- struct fftw_real_xy *test;
-
fftw_real wn = (fftw_real)winWidth / (fftw_real)(DIM + 1); // Grid cell width
fftw_real hn = (fftw_real)winHeight / (fftw_real)(DIM + 1); // Grid cell height
@@ -397,8 +395,6 @@ void setup_arrays(struct vis_data_arrays *vis_data)
dataset = streamlines_get_dataset();
scalar_frames_streamlines = get_scalar_frames(vis_data, dataset);
- test = streamlines_get_history_scalars(0);
-
for (j = 0; j < DIM; j++)
{
for (i = 0; i < DIM; i++)
@@ -416,14 +412,11 @@ void setup_arrays(struct vis_data_arrays *vis_data)
vis_data->history_scalars[fluids_hisdex]->x[idx] = scalar_frames_streamlines.x[idx];
vis_data->history_scalars[fluids_hisdex]->y[idx] = scalar_frames_streamlines.y[idx];
- // printf("val copy: %p; val orig: %f; test: %p\n", vis_data->history_scalars[fluids_hisdex]->x, scalar_frames_streamlines.x[idx], test->x);
-
vis_data->height[idx] = calculate_height_plot(heightplots_get_dataset(), idx);
vis_data->normals[idx] = calculate_normal_vector(vis_data->height, idx, i, j);
if (frame_smoke[idx] < scale_min && frame_smoke[idx] > FLT_MIN) scale_min = frame_smoke[idx];
if (frame_smoke[idx] > scale_max) scale_max = frame_smoke[idx];
-
}
}