Skip to content

Fix issue #305 and #306 - #307

Merged
lohedges merged 1 commit into
develfrom
fix_305_306
Dec 2, 2026
Merged

lohedges merged 1 commit into
develfrom
fix_305_306

Conversation

@lohedges

@lohedges lohedges commented Dec 2, 2026

Copy link
Copy Markdown
Contributor

Closes #305, closes #306.

This PR adds two log lines to help check simulation inputs:

  • The number of atoms and virtual sites in the input system is logged straight after the configuration is set, before the system is modified, so that it can be compared with the input stream file. Virtual sites are counted from the n_virtual_sites molecule property, so this includes molecular virtual sites, e.g. XED4, but not water extra points, which are counted as atoms.
  • For ABFE bound legs where SOMD2 generates the Boresch restraint, the restraint is logged once it is generated, or reloaded on restart. This gives the receptor and ligand atom indices, force constants, and equilibrium values.

@lohedges lohedges added the enhancement New feature or request label Dec 2, 2026
@lohedges lohedges added the cresset Related to work with Cresset label Dec 2, 2026
lohedges added a commit that referenced this pull request Dec 2, 2026
@lohedges
lohedges merged commit 54aaf34 into devel Dec 2, 2026
4 checks passed
@lohedges
lohedges deleted the fix_305_306 branch December 2, 2026 15:48

This branch was previously deployed

1 inactive deployment
somd2-build — 2ec6b3bc Deployed Dec 2, 2026 by lohedges via build (3.14, linux) #166
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cresset Related to work with Cresset enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Report atom and virtual site count in the log Report Boresch restraints in the log

1 participant