X-Git-Url: https://git.lukelau.me/?p=clouds.git;a=blobdiff_plain;f=simulation.hpp;fp=simulation.h;h=2a81c873c34c57262369093ff98bcb9b0b7043fb;hp=1985ee3662fb6af8eec728d2a21d48ba6fb9dcb7;hb=efac65ad1c51cdd7e8ecd37ebb9570ac14efeeeb;hpb=724a80cbecb587d1d069f7999758181b10d92f73 diff --git a/simulation.h b/simulation.hpp similarity index 87% rename from simulation.h rename to simulation.hpp index 1985ee3..2a81c87 100644 --- a/simulation.h +++ b/simulation.hpp @@ -18,8 +18,10 @@ struct Clouds { float p_ext[CLOUD_DIM_X][CLOUD_DIM_Y][CLOUD_DIM_Z]; float p_hum[CLOUD_DIM_X][CLOUD_DIM_Y][CLOUD_DIM_Z]; float p_act[CLOUD_DIM_X][CLOUD_DIM_Y][CLOUD_DIM_Z]; - /** Wind velocity */ - float vz[CLOUD_DIM_Z]; + /** Wind velocity + * Called vz in the paper, but here our z axis is y + */ + float vy[CLOUD_DIM_Y]; /** continuous distribution */ float q[CLOUD_DIM_X][CLOUD_DIM_Y][CLOUD_DIM_Z]; };