Skip to main content

rescale_velocities_gpu

Function rescale_velocities_gpu 

Source
pub fn rescale_velocities_gpu(buf: &mut GpuMdBuffer, target_temp: f32)
Expand description

Rescale all atom velocities to achieve target_temp (velocity scaling).

No-op when the current temperature is zero.