I am following your tutorial about writing an Eulerian fluid simulation. May I ask about the meaning of h, p, s, and m in the constructor of the Fluid class?
A little belated, but I believe that h is the grid spacing, p is the pressure in a cell, s is a flag that is 1 if cell is solid, and 0 otherwise, and I don't know what m is.
I am following your tutorial about writing an Eulerian fluid simulation. May I ask about the meaning of
h, p, s, and m
in the constructor of theFluid
class?