Skip to content

Handle zero-temperature velocity rescaling explicitly #345

Description

@galjos

Hard temperature resets, Berendsen coupling, and stochastic velocity rescaling divide by the current temperature. A zero-temperature system can therefore produce non-finite velocities or remain silently stuck below a positive target.

Expected behavior:

  • zero-to-zero rescaling keeps finite zero velocities
  • positive-target rescaling from zero kinetic temperature fails with a clear velocity-initialization message
  • all three rescaling paths behave consistently

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions