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

Commit

Permalink
Merge branch 'debug'
Browse files Browse the repository at this point in the history
  • Loading branch information
daminton committed Dec 14, 2021
2 parents d4b22d1 + 0cc2f38 commit 096b91e
Show file tree
Hide file tree
Showing 3 changed files with 398 additions and 12 deletions.
2 changes: 1 addition & 1 deletion examples/symba_gr_test/init_cond.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@
GMcb = sim.ds.isel(id=0)['Gmass'].values
GU = swiftest.GC / (sim.param['DU2M']**3 / (sim.param['MU2KG'] * sim.param['TU2S']**2))
dens = 3000.0 / (sim.param['MU2KG'] / sim.param['DU2M']**3) # Assume a bulk density of 3 g/cm^3
GM_pl = sim.ds.sel(id=1)['Gmass'].values * 0.01
GM_pl = sim.ds.sel(id=1)['Gmass'].values * 0.0001
M_pl = GM_pl / GU
R_pl = (3 * M_pl / (4 * np.pi * dens))**(1.0 / 3.0)
Rh_pl = Me_a * (GM_pl / (3 * GMcb))**(1.0/3.0)
Expand Down
4 changes: 2 additions & 2 deletions examples/symba_gr_test/pl.swiftest.in
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ Neptune 0.0020336100526728302882 0.7749718408665500834
0.000164587904124493665
30.038959912561129073 0.008955570159296157365 1.7711193542961420899
131.82211597488270627 284.47484279411258967 308.45137222693909962
Planetesimal 6.553709809565314101e-08 0.00031780626665496970825
4.281092009908029071e-06
Planetesimal 6.5537098095653142786e-10 6.846928455909899115e-05
9.223333137364179555e-07
0.38709858430953941744 0.20562340108970009189 7.0033025080013837638
48.296118373786072198 29.20442403952453958 339.33948746828792764
Loading

0 comments on commit 096b91e

Please sign in to comment.