I'm trying to write an air pressure wave simulator software for simulating sound and shock waves. I'm wondering what algorithm you guys used in TPT to implement air pressure and velocity simulation?
Ok so I see a number of functions Air::make_kernel Air::Clear Air::ClearAirH Air::update_airh Air::update_air Air::Invert Air::Air
Why do some functions have 2 variations, one with an h on the end and one without? What do the different keywords like std::fill, AIR_VADV, sizeof, etc, actually do? These are not defined in the source file you pointed me to. I won't be able to port this code to my project, without understanding what this code does. And hopefully someone can explain your code here in plain English, rather than linking me to another piece of source code.
@Videogamer555(View Post) The "h" stands for "heat", update_air updates pressure and velocity, update_airh updates ambient heat. std::fill sizeof AIR_VADV You'd want to learn how to use google and grep, before doing anything