Skip to content

Commit

Permalink
sort and flatten fixatoms_dof
Browse files Browse the repository at this point in the history
  • Loading branch information
litman90 committed Nov 12, 2024
1 parent d42f693 commit 453efb1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ipi/inputs/motion/motion.py
Original file line number Diff line number Diff line change
Expand Up @@ -350,6 +350,7 @@ def fetch(self):
)
else:
fixatoms_dof = fixatoms[:, np.newaxis] * 3 + np.array([0, 1, 2])
fixatoms_dof = np.sort(fixatoms_dof.flatten())

if self.mode.fetch() == "replay":
sc = Replay(
Expand Down

0 comments on commit 453efb1

Please sign in to comment.