thermostats¶
The thermostat classes are for use with hoomd.md.methods.ConstantVolume
and
hoomd.md.methods.ConstantPressure
.
Important
Ensure that your initial condition includes non-zero particle velocities and angular momenta (when appropriate). The coupling between the thermostat and the velocities / angular momenta occurs via multiplication, so the thermostat cannot convert a zero velocity into a non-zero one except through particle collisions.
Example
simulation.state.thermalize_particle_momenta(
filter=hoomd.filter.All(), kT=1.5
)
Classes