summaryrefslogtreecommitdiffstats
path: root/Smoke/fluids.h
diff options
context:
space:
mode:
authorOliver Schinagl <oliver@schinagl.nl>2008-01-10 20:52:19 (GMT)
committerOliver Schinagl <oliver@schinagl.nl>2008-01-10 20:52:19 (GMT)
commita003a02f8ae4f5bc14cbed9249b0fbfefdd2fd07 (patch)
tree8f3f61a0b2371a122c90835466895a45d4f7659a /Smoke/fluids.h
parentf9e23896d3525e3dfe710585f6a88858cb88f8c6 (diff)
download2iv35-a003a02f8ae4f5bc14cbed9249b0fbfefdd2fd07.zip
2iv35-a003a02f8ae4f5bc14cbed9249b0fbfefdd2fd07.tar.gz
2iv35-a003a02f8ae4f5bc14cbed9249b0fbfefdd2fd07.tar.bz2
fx or vy get/setters added. mem probs fixed
Diffstat (limited to 'Smoke/fluids.h')
-rw-r--r--Smoke/fluids.h9
1 files changed, 2 insertions, 7 deletions
diff --git a/Smoke/fluids.h b/Smoke/fluids.h
index 32082db..d28f176 100644
--- a/Smoke/fluids.h
+++ b/Smoke/fluids.h
@@ -49,11 +49,6 @@ struct point2f {
};
struct fftw_real_xy {
- fftw_real x;
- fftw_real y;
-};
-
-struct fftw_real_xy_p {
fftw_real *x;
fftw_real *y;
};
@@ -62,13 +57,13 @@ struct vis_data_arrays {
fftw_real *rho;
fftw_real *vel;
fftw_real *force;
- struct fftw_real_xy *scalars;
+ struct fftw_real_xy scalars;
fftw_real *div_vel;
fftw_real *div_force;
fftw_real *height;
struct point *normals;
fftw_real *history_frame[HISTORY_SIZE];
- struct fftw_real_xy *history_scalars[HISTORY_SIZE];
+ struct fftw_real_xy history_scalars[HISTORY_SIZE];
};