CustomIntegrator

class ufedmm.CustomIntegrator(temperature, step_size)[source]

An extension of openmm.CustomIntegrator class with an extra per-dof variable named temperature, whose content is the temperature of the heat bath associated to each degree of freedom. A per-dof temperature is necessary if the extended-space variables and the physical system are coupled adiabatically to thermostats at different temperatures. Otherwise, any other OpenMM integrator can be used.

Parameters:
  • temperature (float or unit.Quantity) – The temperature.

  • step_size (float or unit.Quantity) – The step size with which to integrate the equations of motion.

Methods

step(self, steps)[source]

Advance a simulation through time by taking a series of time steps.

Parameters:

steps (int) – the number of time steps to take

update_temperatures(system_temperature, extended_space_temperatures)[source]