md.simulation_hooks.PILELocalThermostat

class md.simulation_hooks.PILELocalThermostat(temperature_bath: float, time_constant: float, thermostat_centroid: bool | None = True, damping_factor: float | None = 1.0)[source]

Langevin thermostat for ring polymer molecular dynamics as introduced in [1]. Applies specially initialized Langevin thermostats to the beads of the ring polymer in normal mode representation.

Parameters:
  • temperature_bath (float) – Temperature of the external heat bath in Kelvin.

  • time_constant (float) – Thermostat time constant in fs

  • thermostat_centroid (bool) – Whether a thermostat should be applied to the centroid of the ring polymer in normal mode representation (relevant e.g. for TRPMD, default is True)

  • damping_factor (float) – If specified, damping factor is applied to the current momenta of the system (used in TRPMD, default is no damping).

References

Initialize internal Module state, shared by both nn.Module and ScriptModule.