sarkas.time_evolution.thermostats.Thermostat.update#

Thermostat.update(ptcls, it)[source]#

Update particles’ velocities according to the chosen thermostat

Parameters
  • ptcls (sarkas.particles.Particles) – Particles’ data.

  • it (int) – Current timestep.