This integrator combines the velocity-Verlet algorithm and the Boltzmann velocity distribution. At a periodic interval, the velocities are assigned from a Boltzmann velocity distribution in the second integration half-step.
This integrator is especially useful for cooling or heating a system to a nominal temperature. After an assignment from the Boltzmann distribution, the centre of mass velocity is shifted to exactly zero, and the velocities are rescaled to exactly the nominal temperature.
Construct integrator for given system of particles.
| Parameters: |
|
|---|
Set integration time step in MD units.
| Parameters: | timestep (number) – integration timestep |
|---|
This method forwards to halmd.mdsim.clock.set_timestep(), to ensure that all integrators use an identical time step.
Integration time step in MD units.
Temperature of Boltzmann distribution in MD units.
Coupling interval in steps.
The interval equals
,
with nominal coupling rate
and time-step
.
Effective coupling rate per time in MD units.
The effective coupling rate equals
,
with coupling interval
and time-step
.
Disconnect integrator from core and profiler.
Calculate first half-step.
By default this function is connected to halmd.mdsim.core.on_integrate().
Calculate second half-step, or assign velocities from Boltzmann distribution.
By default this function is connected to halmd.mdsim.core.on_finalize().