Skip to main content

sph_kernel_gpu

Function sph_kernel_gpu 

Source
pub fn sph_kernel_gpu(r: f32, h: f32) -> f32
Expand description

Wendland C2 SPH kernel W(r, h).

Returns the kernel value at distance r with smoothing length h. The kernel is zero for r >= h.