atmosphere functionals gas geometry grid particle raytracer simulation surface