This module implements the Verlet algorithm with the Andersen thermostat.
Warning
This integrator may cause a significant drift of the centre of mass velocity.
For heating or cooling a system to a nominal temperature before equilibration, we recommend the velocity-Verlet with Boltzmann distribution integrator.
Construct velocity-Verlet with Andersen thermostat.
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.
Set temperature of heat bath.
Parameters: | temperature (number) – temperature of heat bath |
---|
Temperature of heat bath.
Collision rate with the heat bath.
Disconnect integrator from core and profiler.
First leapfrog half-step of velocity-Verlet algorithm.
By default this function is connected to halmd.mdsim.core.on_integrate().
Second leapfrog half-step of velocity-Verlet algorithm.
By default this function is connected to halmd.mdsim.core.on_finalize().