summaryrefslogtreecommitdiff
path: root/includes/air.h
diff options
context:
space:
mode:
authorPhilip <philip@philip-linuxlaptop.(none)>2010-10-04 04:27:40 (GMT)
committer Philip <philip@philip-linuxlaptop.(none)>2010-10-04 04:29:37 (GMT)
commite4f9f77de906d65264c7d09635761dd05940e1aa (patch)
tree6506a2c66d8c923136caba7274145c20106b73f0 /includes/air.h
parentebb784de700240d0f8c2f2c5ffe3d2ab783c6557 (diff)
downloadpowder-e4f9f77de906d65264c7d09635761dd05940e1aa.zip
powder-e4f9f77de906d65264c7d09635761dd05940e1aa.tar.gz
Updating
Diffstat (limited to 'includes/air.h')
-rw-r--r--includes/air.h21
1 files changed, 21 insertions, 0 deletions
diff --git a/includes/air.h b/includes/air.h
new file mode 100644
index 0000000..d9e04f6
--- /dev/null
+++ b/includes/air.h
@@ -0,0 +1,21 @@
+#ifndef AIR_H
+#define AIR_H
+#include "defines.h"
+
+extern float vx[YRES/CELL][XRES/CELL], ovx[YRES/CELL][XRES/CELL];
+extern float vy[YRES/CELL][XRES/CELL], ovy[YRES/CELL][XRES/CELL];
+extern float pv[YRES/CELL][XRES/CELL], opv[YRES/CELL][XRES/CELL];
+
+extern float cb_vx[YRES/CELL][XRES/CELL], cb_ovx[YRES/CELL][XRES/CELL];
+extern float cb_vy[YRES/CELL][XRES/CELL], cb_ovy[YRES/CELL][XRES/CELL];
+extern float cb_pv[YRES/CELL][XRES/CELL], cb_opv[YRES/CELL][XRES/CELL];
+
+extern float fvx[YRES/CELL][XRES/CELL], fvy[YRES/CELL][XRES/CELL];
+
+extern float kernel[9];
+
+void make_kernel(void);
+
+void update_air(void);
+
+#endif \ No newline at end of file