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 Aug 23, 2021
2 parents be2d23b + 01597dd commit 24458dd
Show file tree
Hide file tree
Showing 3 changed files with 467 additions and 467 deletions.
9 changes: 5 additions & 4 deletions examples/symba_chambers_2013/init_cond.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@
sim.param['ENERGY_OUT'] = "energy.dat"
sim.param['PL_IN'] = "pl_chambers_2013.in"
sim.param['CB_IN'] = "sun_MsunAUYR.in"
sim.param['ENC_OUT'] = ""

# Simulation parameters
sim.param['FRAGMENTATION'] = "YES"
Expand Down Expand Up @@ -59,10 +60,10 @@
# Define the initial orbital elements of the big and small bodies
avalb = default_rng().uniform(0.3, 2.0, Nb)
avals = default_rng().uniform(0.3, 2.0, Ns)
evalb = default_rng().uniform(0.0, 0.01, Nb)
evals = default_rng().uniform(0.0, 0.01, Ns)
incvalb = default_rng().uniform(0.0, 0.005 * 180 / np.pi, Nb)
incvals = default_rng().uniform(0.0, 0.005 * 180 / np.pi, Ns)
evalb = np.abs(default_rng().normal(loc=0.0, scale=0.13, size=Nb))
evals = np.abs(default_rng().normal(loc=0.0, scale=0.13, size=Ns))
incvalb = default_rng().normal(loc=0.0, scale=1.0, size=Nb)
incvals = default_rng().normal(loc=0.0, scale=1.0, size=Ns)
capomvalb = default_rng().uniform(0.0, 360.0, Nb)
capomvals = default_rng().uniform(0.0, 360.0, Ns)
omegavalb = default_rng().uniform(0.0, 360.0, Nb)
Expand Down
1 change: 0 additions & 1 deletion examples/symba_chambers_2013/param.in
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ MU2KG 1.988409870698051e+30
TU2S 31557600.0
DU2M 149597870700.0
IN_FORM EL
ENC_OUT enc.dat
EXTRA_FORCE NO
DISCARD_OUT discard.out
PARTICLE_OUT particle.dat
Expand Down
Loading

0 comments on commit 24458dd

Please sign in to comment.