Skip to content

Commit

Permalink
Remove padded MM forces.
Browse files Browse the repository at this point in the history
  • Loading branch information
lohedges committed Nov 23, 2023
1 parent d05d011 commit cd6a998
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion emle/emle.py
Original file line number Diff line number Diff line change
Expand Up @@ -1577,7 +1577,7 @@ def _sire_callback(self, atomic_numbers, charges_mm, xyz_qm, xyz_mm):
return (
E_tot.item() * HARTREE_TO_KJ_MOL,
(-grad_qm * HARTREE_TO_KJ_MOL * NANOMETER_TO_BOHR).tolist(),
(-grad_mm * HARTREE_TO_KJ_MOL * NANOMETER_TO_BOHR).tolist(),
(-grad_mm[:num_mm_atoms] * HARTREE_TO_KJ_MOL * NANOMETER_TO_BOHR).tolist(),
)

def _get_E(self, charges_mm, xyz_qm_bohr, xyz_mm_bohr, s, chi):
Expand Down

0 comments on commit cd6a998

Please sign in to comment.