Skip to content

Add NPT Nose-Hoover Triclinic integrator#2

Open
thomasloux wants to merge 1 commit intomainfrom
feat/add-nh-triclinic
Open

Add NPT Nose-Hoover Triclinic integrator#2
thomasloux wants to merge 1 commit intomainfrom
feat/add-nh-triclinic

Conversation

@thomasloux
Copy link
Copy Markdown
Owner

Summary

  • Implements the Martyna-Tobias-Klein (MTK) equations of motion for fully flexible cell NPT dynamics with Nose-Hoover chain thermostats
  • Supports lower-triangular ("tri", 6 DOF) and unconstrained ("full", 9 DOF) cell coupling modes
  • Adds NPTNoseHooverTriclinicState, npt_nose_hoover_triclinic_init, npt_nose_hoover_triclinic_step, and npt_nose_hoover_triclinic_invariant

Test plan

  • test_npt_nose_hoover_triclinic_step_accepts_float_inputs — float args accepted
  • test_npt_nose_hoover_triclinic_invariant_conservation — conserved quantity stable over 200 steps
  • test_npt_nose_hoover_triclinic_tri_coupling — cell momentum stays lower-triangular
  • Full test_integrators.py suite passes (25/25)

🤖 Generated with Claude Code

Implements the Martyna-Tobias-Klein (MTK) equations of motion for fully
flexible cell NPT dynamics with Nose-Hoover chain thermostats. Supports
both lower-triangular ("tri", 6 DOF) and unconstrained ("full", 9 DOF)
cell coupling modes.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant