Skip to main content

verlet_integrate_gpu

Function verlet_integrate_gpu 

Source
pub fn verlet_integrate_gpu(buf: &mut GpuMdBuffer, dt: f32)
Expand description

Velocity-Verlet integration step.

Updates positions and velocities using the current forces. v += (F/m) * dt, x += v * dt. Increments the step counter.