From 6bd45c32c85b15ba878b5ec2b1e6c04e316446df Mon Sep 17 00:00:00 2001 From: anand43 Date: Sat, 10 Feb 2024 17:54:24 -0500 Subject: [PATCH] added rotphase to sim.add_body. Tested --- swiftest/init_cond.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/swiftest/init_cond.py b/swiftest/init_cond.py index 8f132073d..fa84b12a7 100644 --- a/swiftest/init_cond.py +++ b/swiftest/init_cond.py @@ -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])