md.simulation_hooks.RemoveCOMMotion

class md.simulation_hooks.RemoveCOMMotion(*args: Any, **kwargs: Any)[source]

Periodically remove motions of the center of mass from the system.

Parameters:
  • every_n_steps (int) – Frequency with which motions are removed.

  • remove_rotation (bool) – Also remove rotations.