Skip to main content

sph_kernel_spiky_grad

Function sph_kernel_spiky_grad 

Source
pub fn sph_kernel_spiky_grad(r: Vec3, r_len: f32, h: f32) -> Vec3
Expand description

Spiky kernel gradient (for pressure) — W_spiky = (15/πh^6)*(h-|r|)^3