Skip to content
This repository was archived by the owner on Aug 28, 2024. It is now read-only.

Commit

Permalink
Merge branch 'Fragmentation' of https://github.itap.purdue.edu/Minton…
Browse files Browse the repository at this point in the history
…Group/swiftest into Fragmentation
  • Loading branch information
daminton committed Jun 14, 2021
2 parents 2d6a615 + 5922509 commit 00a94ac
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions examples/symba_energy_momentum/collision_movie.py
Original file line number Diff line number Diff line change
Expand Up @@ -170,8 +170,8 @@ def spin_arrows(self, pl, id, len):
sarrowend = []
sarrowtip = []
for i in range(pl.shape[0]):
endrel = np.array([len[i], 0.0, 0.0])
tiprel = np.array([-len[i], 0.0, 0.0])
endrel = np.array([0.0, len[i], 0.0])
tiprel = np.array([0.0, -len[i], 0.0])
r = R.from_rotvec(self.rot_angle[id[i]])
endrel = r.apply(endrel)
tiprel = r.apply(tiprel)
Expand Down

0 comments on commit 00a94ac

Please sign in to comment.