apply selection and scaling with current box after delta in jumps has been cached or calculated directly. this should fix using nojump on NPT simulations #6

Merged
markusro merged 2 commits from fix/nojump_and_npt_caching into main 2025-08-19 12:55:44 +00:00
Showing only changes of commit 9ff3badab1 - Show all commits

View File

@@ -163,7 +163,7 @@ def nojump(frame: CoordinateFrame, usecache: bool = True) -> CoordinateFrame:
).T
delta = delta[selection, :]
delta = delta @ frame.box
delta = np.array(delta @ frame.box)
return frame - delta