pub fn kernel_value(r: f64, params: &SphKernelParams, kernel: SphKernel) -> f64Expand description
Evaluate the smoothing kernel W(r, h) for a given kernel type.
Returns 0 when r >= h (compact support).
pub fn kernel_value(r: f64, params: &SphKernelParams, kernel: SphKernel) -> f64Evaluate the smoothing kernel W(r, h) for a given kernel type.
Returns 0 when r >= h (compact support).