Skip to content

Incomplete accounting for fragment energy in CBMC moves #148

@rwsmith7531

Description

@rwsmith7531

Wouldn't it be possible for a non-ring fragment to have improper torsions due to non-ring sp2 atoms, whether represented as harmonic impropers or improper dihedrals? If so, the code very much looks like they wouldn't be taken into account for the dE_frag in CBMC moves, since the fragment growth routines only check the fragment energy for ring fragments, apparently making the assumption that only bond angle energy influenced the fragment conformation for non-ring fragments. This assumption is probably typically correct, but not necessarily always correct. The Atom_Displacement subroutine called by the fragment driver computes not only angle energy, but also dihedral energy (which may include an improper torsion input as a dihedral), improper energy, and nonbonded energy. Even fragments without any sp2 hybridization could have nonzero nonbonded intramolecular energy if the 1-2 or 1-3 intramolecular scaling factors are nonzero, which may be rare but is allowed by Cassandra.

I also noticed that all angle energy is included in both dE_frag and dE (via dE_intra) for CBMC moves (and Widom insertions), and the angle energy would just cancel out when computing the move probability or widom_var as dE_frag is subtracted from dE. I don't think angle energy should be computed at all for those moves because it doesn't matter.

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions