fluid simulation on the gpu using MAC grid, together with dye-based visualization