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

Commit

Permalink
Browse files Browse the repository at this point in the history
Fixed initial conditions generator in helio example to do binary output files properly
  • Loading branch information
daminton committed Jul 7, 2021
1 parent 304bfeb commit ac2b49d
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 4 deletions.
4 changes: 4 additions & 0 deletions examples/helio_swifter_comparison/init_cond.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,9 +46,13 @@
sim.param['PL_IN'] = "pl.swiftest.in"
sim.param['TP_IN'] = "tp.swiftest.in"
sim.param['CB_IN'] = "cb.swiftest.in"
sim.param['BIN_OUT'] = "bin.swiftest.dat"
sim.param['ENC_OUT'] = "enc.swiftest.dat"
sim.save("param.swiftest.in")
sim.param['PL_IN'] = "pl.swifter.in"
sim.param['TP_IN'] = "tp.swifter.in"
sim.save("param.swifter.in", codename="Swifter")
sim.param['BIN_OUT'] = "bin.swifter.dat"
sim.param['ENC_OUT'] = "enc.swifter.dat"


4 changes: 2 additions & 2 deletions examples/helio_swifter_comparison/param.swifter.in
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ OUT_STAT UNKNOWN
IN_TYPE ASCII
PL_IN pl.swifter.in
TP_IN tp.swifter.in
BIN_OUT bin.dat
ENC_OUT enc.dat
BIN_OUT bin.swiftest.dat
ENC_OUT enc.swiftest.dat
CHK_QMIN 0.004650467260962157
CHK_RMIN 0.004650467260962157
CHK_RMAX 1000.0
Expand Down
4 changes: 2 additions & 2 deletions examples/helio_swifter_comparison/param.swiftest.in
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ IN_TYPE ASCII
PL_IN pl.swiftest.in
TP_IN tp.swiftest.in
CB_IN cb.swiftest.in
BIN_OUT bin.dat
ENC_OUT enc.dat
BIN_OUT bin.swiftest.dat
ENC_OUT enc.swiftest.dat
CHK_QMIN 0.004650467260962157
CHK_RMIN 0.004650467260962157
CHK_RMAX 1000.0
Expand Down

0 comments on commit ac2b49d

Please sign in to comment.