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

Commit

Permalink
added rotphase to sim.add_body. Tested
Browse files Browse the repository at this point in the history
  • Loading branch information
anand43 committed Feb 10, 2024
1 parent 7eae81c commit 6bd45c3
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions swiftest/init_cond.py
Original file line number Diff line number Diff line change
Expand Up @@ -485,8 +485,6 @@ def vec2xr(param: Dict, **kwargs: Any):
kwargs['rot'] = np.zeros((len(kwargs['Gmass']),3))
if "Ip" not in kwargs and "Gmass" in kwargs:
kwargs['Ip'] = np.full((len(kwargs['Gmass']),3), 0.4)
if "rotphase" not in kwargs:
kwargs['rotphase'] = 0.0

if "time" not in kwargs:
kwargs["time"] = np.array([0.0])
Expand Down

0 comments on commit 6bd45c3

Please sign in to comment.