diff options
author | Wilrik de Loose <wilrik@wilrik.nl> | 2008-01-03 09:47:06 (GMT) |
---|---|---|
committer | Wilrik de Loose <wilrik@wilrik.nl> | 2008-01-03 09:47:06 (GMT) |
commit | 3c67484ef5ae8052ccde3b036471a632f14f23c9 (patch) | |
tree | 212d904b634c23a81cb893ea9517f93c4651a4a4 /Smoke/fluids.h | |
parent | 948ca528baf6dda4345cf7b2bee003869338fc10 (diff) | |
download | 2iv35-3c67484ef5ae8052ccde3b036471a632f14f23c9.zip 2iv35-3c67484ef5ae8052ccde3b036471a632f14f23c9.tar.gz 2iv35-3c67484ef5ae8052ccde3b036471a632f14f23c9.tar.bz2 |
Diffstat (limited to 'Smoke/fluids.h')
-rw-r--r-- | Smoke/fluids.h | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/Smoke/fluids.h b/Smoke/fluids.h index db487d4..9814e16 100644 --- a/Smoke/fluids.h +++ b/Smoke/fluids.h @@ -3,15 +3,16 @@ //--- SIMULATION PARAMETERS ------------------------------------------------------------------------ -extern const int DIM; //size of simulation grid -extern double dt; //simulation time step -extern float visc; //fluid viscosity -extern fftw_real *vx, *vy; //(vx,vy) = velocity field at the current moment -extern fftw_real *vx0, *vy0; //(vx0,vy0) = velocity field at the previous moment +extern const int DIM; //size of simulation grid +extern double dt; //simulation time step +extern float visc; //fluid viscosity +extern fftw_real *vx, *vy; //(vx,vy) = velocity field at the current moment +extern fftw_real *vx0, *vy0; //(vx0,vy0) = velocity field at the previous moment extern fftw_real *fx, *fy; //(fx,fy) = user-controlled simulation forces, steered with the mouse -extern fftw_real *rho, *rho0; //smoke density at the current (rho) and previous (rho0) moment -extern rfftwnd_plan plan_rc, plan_cr; //simulation domain discretization +extern fftw_real *rho, *rho0; //smoke density at the current (rho) and previous (rho0) moment +extern rfftwnd_plan plan_rc, plan_cr; //simulation domain discretization extern fftw_real *height_array; //used for hight plot +struct point *normal_array; //used for normal vectors extern int *frame_hist; extern int frame_index; |