Skip to main content

cubic_spline_kernel

Function cubic_spline_kernel 

Source
pub fn cubic_spline_kernel(r: f64, h: f64) -> f64
Expand description

Cubic-spline SPH kernel W(r, h).

Returns the kernel value at distance r with smoothing length h.