Skip to main content

gpu_sph_step

Function gpu_sph_step 

Source
pub fn gpu_sph_step(buf: &mut GpuSphBuffer, params: &GpuSphParams, dt: f32)
Expand description

Perform one complete SPH time-step.

Executes density → pressure → force → integrate in sequence.