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
added input files to examples
  • Loading branch information
daminton committed Apr 2, 2021
1 parent 5608ae1 commit ef5b69a
Show file tree
Hide file tree
Showing 40 changed files with 3,316 additions and 23 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
!CHANGELOG
!README.md
!README.swifter
!example/*.in
!*.in
!example/cleanup
!example/swifter_symba_omp
!Makefile
Expand Down
Binary file added examples/rmvs_gr_test/cb.swiftest.in
Binary file not shown.
29 changes: 29 additions & 0 deletions examples/rmvs_gr_test/config.swiftest.in
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
! Swiftest input file generated using init_cond.py
T0 0
TSTOP 1.0
DT 0.0006844626967830253
CB_IN cb.swiftest.in
PL_IN pl.swiftest.in
TP_IN tp.swiftest.in
IN_TYPE REAL8
ISTEP_OUT 1
ISTEP_DUMP 1
BIN_OUT bin.swiftest.dat
OUT_TYPE REAL8
OUT_FORM EL
OUT_STAT REPLACE
CHK_CLOSE yes
CHK_RMIN 0.004650467260962157
CHK_RMAX 1000.0
CHK_EJECT 1000.0
CHK_QMIN 0.004650467260962157
CHK_QMIN_COORD HELIO
CHK_QMIN_RANGE 0.004650467260962157 1000.0
ENC_OUT enc.swiftest.dat
EXTRA_FORCE no
BIG_DISCARD no
ROTATION no
GR no
MU2KG 1.988409870698051e+30
DU2M 149597870700.0
TU2S 31557600.0
26 changes: 26 additions & 0 deletions examples/rmvs_gr_test/param.swifter.in
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
! Swifter input file generated using init_cond.py
T0 0
TSTOP 1.0
DT 0.0006844626967830253
PL_IN pl.swifter.in
TP_IN tp.swifter.in
IN_TYPE ASCII
ISTEP_OUT 1
ISTEP_DUMP 1
BIN_OUT bin.swifter.dat
OUT_TYPE REAL8
OUT_FORM EL
OUT_STAT NEW
J2 4.7535806948127355e-12
J4 -2.2473967953572827e-18
CHK_CLOSE yes
CHK_RMIN 0.004650467260962157
CHK_RMAX 1000.0
CHK_EJECT 1000.0
CHK_QMIN 0.004650467260962157
CHK_QMIN_COORD HELIO
CHK_QMIN_RANGE 0.004650467260962157 1000.0
ENC_OUT enc.swifter.dat
EXTRA_FORCE no
BIG_DISCARD no
RHILL_PRESENT yes
26 changes: 26 additions & 0 deletions examples/rmvs_gr_test/param.tpcollider.in
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
! Swifter input file generated using init_cond.py
T0 0.0
TSTOP 146100.0
DT 0.1
PL_IN pl.tpcollider.in
TP_IN tp.tpcollider.in
IN_TYPE ASCII
ISTEP_OUT 14610
ISTEP_DUMP 14610
BIN_OUT bin.tpcollider.dat
OUT_TYPE REAL8
OUT_FORM XV
OUT_STAT NEW
J2 4.7535806948127355e-12
J4 -2.2473967953572827e-18
CHK_CLOSE yes
CHK_RMIN 0.004650467260962157
CHK_RMAX 10000.0
CHK_EJECT 10000.0
CHK_QMIN 0.004650467260962157
CHK_QMIN_COORD HELIO
CHK_QMIN_RANGE 0.004650467260962157 10000.0
ENC_OUT enc.tpcollider.dat
EXTRA_FORCE no
BIG_DISCARD no
RHILL_PRESENT yes
40 changes: 40 additions & 0 deletions examples/rmvs_gr_test/pl.swifter.in
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
10 ! Planet input file generated using init_cond.py using JPL Horizons data for the major planets (and Pluto) for epoch 2021-01-28
1 39.47692640889762629
0.0 0.0 0.0
0.0 0.0 0.0
2 6.553709809565313959502e-06 0.0014751229680863789154
1.6306381826061645943e-05
0.1030256860922895 0.2897796047098886 0.01422904600374035
-11.74004209950937 3.8343124110162736 1.3902496665973592
3 9.6633133995815387361564e-05 0.006759127649782299051
4.0453784346544178454e-05
0.06110218027254217 -0.7245466901305982 -0.01346904300924688
7.311995449678243 0.5941125721336201 -0.4137913843379075
4 0.00012002693582795246295385 0.0100447565675466429165
4.25875607065040958e-05
-0.6061796342297583 0.7761214554702035 -3.4750047790977e-05
-5.054824314301841 -3.891667468503358 0.00019720338148272726
5 1.2739802010675942316241e-05 0.0072464490746299085006
2.265740805092889601e-05
0.2751944175855944 1.51937688993241 0.02508924593104206
-4.835983593209577 1.344855094041679 0.14681413000004515
6 0.037692251088985682938581 0.3552852357486060849
0.00046732617030490929307
3.200135438345358 -3.953498213518368 -0.05517737289975112
2.111393749129838 1.8660266890185446 -0.05498941067210089
7 0.011285899820091272946487 0.43763064566943408597
0.00038925687730393611812
5.607382165725712 -8.258649105608766 -0.07958445228024298
1.5748468603228847 1.1414574661825514 -0.08250331331320372
8 0.0017236589478267728883093 0.4690969274244374022
0.00016953449859497231466
15.28225422201768 12.53905314208462 -0.1514143582550325
-0.9198472198098231 1.0454390993472462 0.01574538863031621
9 0.0020336100526728304385693 0.7807192056765467829
0.000164587904124493665
29.47483071169769 -5.147686530859088 -0.5733441819169969
0.19191677740340274 1.1385110364087574 -0.027844325148353527
10 2.9242167710294538257026e-07 0.05383468172776979939
7.943294877391593783e-06
14.14000920780611 -31.14141812522779 -0.7565722591093476
1.073396108697069 0.23003123192799815 -0.33424529561177047
Binary file added examples/rmvs_gr_test/pl.swiftest.in
Binary file not shown.
36 changes: 36 additions & 0 deletions examples/rmvs_gr_test/pl.tpcollider.in
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
9 ! Planet input file generated using init_cond.py using JPL Horizons data for the major planets (and Pluto) for epoch 2421-01-31
1 0.0002959122081920778
0.0 0.0 0.0
0.0 0.0 0.0
3 7.243452483873648e-10 0.006759130149202631
4.0453784346544176e-05
0.7019627011222136 -0.1852496375751218 -0.04300948405789237
-0.005060711738168192 -0.01946939433513342 1.612614183356907e-06
4 8.99701138216602e-10 0.010044559796067993
4.25875607065041e-05
-0.5697193205332233 0.8029811715067949 -0.0007045655351608364
0.01430660935370767 0.01002546009563165 -1.100857588556753e-05
5 9.549535102761467e-11 0.00724618889821577
2.2657408050928896e-05
0.7993560103471902 -1.148987408482768 -0.04313430212910231
-0.01198004310618487 -0.009212920234676632 8.927002293279674e-05
6 2.825345908631355e-07 0.3551533878488701
0.0004673261703049093
-4.634097296304171 -2.863163670218678 0.1152887094960275
-0.003870142070986203 0.006066584891983585 5.910227945707925e-05
7 8.459715183006417e-08 0.4376906786688663
0.00038925687730393614
-8.865265590469349 2.837147222179521 0.3099061219991513
0.001998614714254602 0.005352670386838502 -0.0001703654134002045
8 1.2920249163736676e-08 0.46813372268314535
0.00016953449859497232
15.47151038891844 -12.61881964551067 -0.2448817967119467
-0.002462937202468351 -0.002853377332777701 2.133002929086309e-05
9 1.5243589003230837e-08 0.7791996556565636
0.00016458790412449367
-24.87809567256067 17.00453520872124 0.2234899970988031
0.001786881544518242 0.002576864647985829 -9.421562352086046e-05
10 2.19194228290428e-12 0.05348153138291406
7.943294877391593e-06
-9.921482526550596 41.28101896209601 -1.54188968720156
0.002154849797934256 0.001120743083473351 -0.0007433230817862677
31 changes: 31 additions & 0 deletions examples/rmvs_gr_test/tp.swifter.in
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
10
100
0.3089139948287037 -0.277270436883302 -0.052337497440874486
4.590828296619012 9.736244632162235 0.28280742360614397
101
0.3070354816876597 -0.2845400603406744 -0.05318033091888456
4.545139601540877 9.883525912822861 0.28793674166112104
102
0.31066213352368505 -0.28113935471688967 -0.053108274441649984
4.617453752609237 9.800810875613966 0.28446343275638736
103
0.3088067674199909 -0.2869523372878359 -0.05191462227061065
4.6363938524337565 9.713660761176554 0.2789015757022737
104
0.307074553418099 -0.28073329893098137 -0.0534617731635447
4.579194784145406 9.574048169595772 0.2861631995442269
105
0.30294954170866395 -0.281481925092296 -0.052234290208198066
4.604562331430815 9.719598701455027 0.282459654106244
106
0.30692242784366397 -0.2878888119399549 -0.05247924519789774
4.633660571617613 9.88377173149324 0.28490916253088794
107
0.30868976460301095 -0.27766108923594196 -0.05385210649760836
4.581218660618022 9.756537560396604 0.2826382827782646
108
0.30635827269855037 -0.2829786891311232 -0.05244294704858842
4.599148326746042 9.647983245028241 0.28233738073637155
109
0.313848717338811 -0.28389321799892847 -0.05290541615450685
4.556080023696361 9.729321212583539 0.29047556209904657
Binary file added examples/rmvs_gr_test/tp.swiftest.in
Binary file not shown.
4 changes: 4 additions & 0 deletions examples/rmvs_gr_test/tp.tpcollider.in
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
1
100
0.3568867004762329 -0.128562827221147 -0.0429414817481014
-0.004043366894290556 -0.02767355464504326 -0.001909056361553056
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
! Swiftest input file generated using init_cond.py
T0 0
TSTOP 0.2
DT 0.00034223134839151266
CB_IN cb.swiftest.in
PL_IN pl.swiftest.in
TP_IN tp.swiftest.in
IN_TYPE REAL8
ISTEP_OUT 1
ISTEP_DUMP 1
BIN_OUT bin.swiftest.dat
OUT_TYPE REAL8
OUT_FORM XV
OUT_STAT REPLACE
CHK_CLOSE yes
CHK_RMIN 0.004650467260962157
CHK_RMAX 1000.0
CHK_EJECT 1000.0
CHK_QMIN 0.004650467260962157
CHK_QMIN_COORD HELIO
CHK_QMIN_RANGE 0.004650467260962157 1000.0
ENC_OUT enc.swiftest.dat
EXTRA_FORCE no
BIG_DISCARD no
ROTATION no
GR no
MU2KG 1.988409870698051e+30
DU2M 149597870700.0
TU2S 31557600.0
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
! Swifter input file generated using init_cond.py
T0 0
TSTOP 0.2
DT 0.00034223134839151266
PL_IN pl.swifter.in
TP_IN tp.swifter.in
IN_TYPE ASCII
ISTEP_OUT 1
ISTEP_DUMP 1
BIN_OUT bin.swifter.dat
OUT_TYPE REAL8
OUT_FORM XV
OUT_STAT NEW
J2 4.7535806948127355e-12
J4 -2.2473967953572827e-18
CHK_CLOSE yes
CHK_RMIN 0.004650467260962157
CHK_RMAX 1000.0
CHK_EJECT 1000.0
CHK_QMIN 0.004650467260962157
CHK_QMIN_COORD HELIO
CHK_QMIN_RANGE 0.004650467260962157 1000.0
ENC_OUT enc.swifter.dat
EXTRA_FORCE no
BIG_DISCARD no
RHILL_PRESENT yes
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
2 ! Planet input file generated using init_cond.py
1 39.47692640889762629
0.0 0.0 0.0
0.0 0.0 0.0
2 0.00012002693582795246295385 0.010044724833237895015
4.25875607065041e-05
1.0 0.0 0.0
0.0 6.283185307179586 0.0
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
1
100
1.01 0.0 0.0
0.0 6.252003053624663 0.0
Binary file not shown.
4 changes: 4 additions & 0 deletions examples/rmvs_swifter_comparison/mars_ejecta/cb.swiftest.in
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
0.00029591220828563
0.004650467260962157
0.0
0.0
33 changes: 33 additions & 0 deletions examples/rmvs_swifter_comparison/mars_ejecta/config.swiftest.in
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
!
! Parameter file for the CHO run of the 4 giant planets and Pluto.
!
!NPLMAX -1 ! not used
!NTPMAX -1 ! not used
T0 0.0e0
TSTOP 365.25e5 ! simulation length in days
DT 2e0 ! stepsize in days
ISTEP_OUT 73500 ! output cadence
ISTEP_DUMP 73500 ! system dump cadence
CB_IN cb.swiftest.in
PL_IN pl.swiftest.in
TP_IN tp.in
IN_TYPE ASCII
BIN_OUT bin.swiftest.dat
OUT_TYPE REAL8 ! double precision real output
OUT_FORM XV ! osculating element output
OUT_STAT REPLACE
CHK_CLOSE yes ! check for planetary close encounters
CHK_RMIN 0.005e0 ! check for close solar encounters
CHK_RMAX 10000.0e0 ! discard outside of
CHK_EJECT -1.0 ! ignore this check
CHK_QMIN -1.0 ! ignore this check
!CHK_QMIN_COORD HELIO ! commented out here
!CHK_QMIN_RANGE 1.0 1000.0 ! commented out here
ENC_OUT enc.swiftest.dat
EXTRA_FORCE no ! no extra user-defined forces
BIG_DISCARD yes ! output all planets if anything discarded
ROTATION no
GR no
MU2KG 1.988409870698051e+30
DU2M 149597870700.0
TU2S 86400.0000
30 changes: 30 additions & 0 deletions examples/rmvs_swifter_comparison/mars_ejecta/param.swifter.in
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
!
! Parameter file for the CHO run of the 4 giant planets and Pluto.
!
!NPLMAX -1 ! not used
!NTPMAX -1 ! not used
T0 0.0e0
TSTOP 365.25e5 ! simulation length in days
DT 2e0 ! stepsize in days
ISTEP_OUT 73500 ! output cadence
ISTEP_DUMP 73500 ! system dump cadence
PL_IN pl.swifter.in
TP_IN tp.in
IN_TYPE ASCII
BIN_OUT bin.swifter.dat
OUT_TYPE REAL8 ! double precision real output
OUT_FORM XV ! osculating element output
OUT_STAT NEW
J2 0.0 ! no J2 term
J4 0.0 ! no J4 term
CHK_CLOSE yes ! check for planetary close encounters
CHK_RMIN 0.005 ! check for close solar encounters
CHK_RMAX 10000.0 ! discard outside of
CHK_EJECT -1.0 ! ignore this check
CHK_QMIN -1.0 ! ignore this check
!CHK_QMIN_COORD HELIO ! commented out here
!CHK_QMIN_RANGE 1.0 1000.0 ! commented out here
ENC_OUT enc.swifter.dat
EXTRA_FORCE no ! no extra user-defined forces
BIG_DISCARD yes ! output all planets if anything discarded
RHILL_PRESENT yes ! Hill's sphere radii in input file
36 changes: 36 additions & 0 deletions examples/rmvs_swifter_comparison/mars_ejecta/pl.swifter.in
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
9 ! Solar system. Taken from JPL Horizons on 10-31-2012 00:00 (JD 2456231.5)
1 2.9591220828563E-04
.0 .0 .0
.0 .0 .0
2 4.912576812862670E-11 1.475E-03 ! Mercury / Mass (Msun) / Rhill (AU)
1.63104E-05 ! Radius (AU)
3.347381871776144E-01 -2.106110537919978E-01 -4.792146121659843E-02
9.457239437449661E-03 2.510612575783642E-02 1.183593414707043E-03
3 7.243495778974390E-10 6.758E-03 ! Venus
4.04538E-05
-4.641166544325086E-01 5.473160240817795E-01 3.428518329144122E-02
-1.549753193570599E-02 -1.319081534035637E-02 7.136685719563098E-04
4 8.997065158526820E-10 1.004E-02 ! Earth + Moon
4.2587571E-05
7.844742229036105E-01 6.083466458892074E-01 -1.996912082982283E-05
-1.081828010368904E-02 1.352675083743791E-02 2.330162751015549E-07
5 9.549592181631700E-11 7.246E-03 ! Mars
2.26601E-05
3.248808297463504E-01 -1.392041319192106E+00 -3.714224198825128E-02
1.415678377567019E-02 4.380992498628390E-03 -2.558013868476858E-04
6 2.825362796108150E-07 0.3553 ! Jupiter
4.67326E-04
1.873343037544675E+00 4.683322528183729E+00 -6.137078942429344E-02
-7.104028854569467E-03 3.164193073442964E-03 1.458211211387848E-04
7 8.459765747874750E-08 0.4356 ! Saturn
3.89257E-04
-8.251865479985982E+00 -5.225008639958182E+00 4.193935221241906E-01
2.677374423933877E-03 -4.723961471952217E-03 -2.458643348128228E-05
8 1.292032638982330E-08 0.4686 ! Uranus
1.69534E-04
1.992234896320000E+01 2.342619564376139E+00 -2.493547557095487E-01
-4.936420700174518E-04 3.724868172847281E-03 2.027439791557233E-05
9 1.524368011623570E-08 0.7757 ! Neptune
1.64601E-04
2.647158936403647E+01 -1.409652133490650E+01 -3.196444184043846E-01
1.449117851099529E-03 2.791630281764020E-03 -9.063088654405710E-05
Loading

0 comments on commit ef5b69a

Please sign in to comment.