# Module MMTK.Environment

## Class NoseThermostat: Nose thermostat for Molecular Dynamics

A thermostat object can be added to a universe and will then modify the integration algorithm to a simulation of an NVT ensemble.

Constructor: NoseThermostat(temperature, relaxation_time=0.2)

temperature

  the temperature set by the thermostat

relaxation_time

  the relaxation time of the thermostat coordinate

## Class AndersenBarostat: Andersen barostat for Molecular Dynamics

A barostat object can be added to a universe and will then together with a thermostat object modify the integration algorithm to a simulation of an NPT ensemble.

Constructor: AndersenBarostat(pressure, relaxation_time=1.5)

pressure

  the pressure set by the barostat

relaxation_time

  the relaxation time of the barostat coordinate