This repository was archived by the owner on Aug 28, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'Simulation_API_improvements' into debug
- Loading branch information
Showing
17 changed files
with
1,745 additions
and
162 deletions.
There are no files selected for viewing
1,451 changes: 1,434 additions & 17 deletions
1,451
examples/Basic_Simulation/initial_conditions.ipynb
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
import swiftest | ||
sim = swiftest.Simulation() | ||
sim.run(tstop=20.0) | ||
sim = swiftest.Simulation(read_param=True) | ||
sim.run() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
! VERSION Swiftest input file | ||
T0 0.0 | ||
TSTART 0.0 | ||
TSTOP 1000.0 | ||
DT 0.005 | ||
ISTEP_OUT 200 | ||
ISTEP_DUMP 200 | ||
NC_IN init_cond.nc | ||
IN_TYPE NETCDF_DOUBLE | ||
IN_FORM EL | ||
BIN_OUT bin.nc | ||
OUT_FORM XVEL | ||
OUT_TYPE NETCDF_DOUBLE | ||
OUT_STAT REPLACE | ||
CHK_QMIN 0.004650467260962157 | ||
CHK_RMIN 0.004650467260962157 | ||
CHK_RMAX 10000.0 | ||
CHK_EJECT 10000.0 | ||
CHK_QMIN_COORD HELIO | ||
CHK_QMIN_RANGE 0.004650467260962157 10000.0 | ||
MU2KG 1.988409870698051e+30 | ||
TU2S 31557600.0 | ||
DU2M 149597870700.0 | ||
GMTINY 9.869231602224408e-07 | ||
FRAGMENTATION YES | ||
MIN_GMFRAG 9.869231602224408e-10 | ||
RESTART NO | ||
CHK_CLOSE YES | ||
GR YES | ||
ROTATION YES | ||
ENERGY NO | ||
EXTRA_FORCE NO | ||
BIG_DISCARD NO | ||
RHILL_PRESENT NO | ||
INTERACTION_LOOPS TRIANGULAR | ||
ENCOUNTER_CHECK TRIANGULAR | ||
TIDES NO |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
! VERSION Swiftest input file | ||
T0 0.0 | ||
TSTART 0.0 | ||
TSTOP 1000.0 | ||
DT 0.005 | ||
ISTEP_OUT 2000 | ||
ISTEP_DUMP 2000 | ||
NC_IN init_cond.nc | ||
IN_TYPE NETCDF_DOUBLE | ||
IN_FORM EL | ||
BIN_OUT bin.gr.nc | ||
OUT_FORM XVEL | ||
OUT_TYPE NETCDF_DOUBLE | ||
OUT_STAT REPLACE | ||
CHK_QMIN 0.004650467260962157 | ||
CHK_RMIN 0.004650467260962157 | ||
CHK_RMAX 10000.0 | ||
CHK_EJECT 10000.0 | ||
CHK_QMIN_COORD HELIO | ||
CHK_QMIN_RANGE 0.004650467260962157 10000.0 | ||
MU2KG 1.988409870698051e+30 | ||
TU2S 31557600.0 | ||
DU2M 149597870700.0 | ||
FRAGMENTATION NO | ||
RESTART NO | ||
CHK_CLOSE YES | ||
GR YES | ||
ROTATION NO | ||
ENERGY NO | ||
EXTRA_FORCE NO | ||
BIG_DISCARD NO | ||
RHILL_PRESENT NO | ||
INTERACTION_LOOPS TRIANGULAR | ||
ENCOUNTER_CHECK TRIANGULAR | ||
TIDES NO |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
! VERSION Swiftest input file | ||
T0 0.0 | ||
TSTART 0.0 | ||
TSTOP 1000.0 | ||
DT 0.005 | ||
ISTEP_OUT 2000 | ||
ISTEP_DUMP 2000 | ||
NC_IN init_cond.nc | ||
IN_TYPE NETCDF_DOUBLE | ||
IN_FORM EL | ||
BIN_OUT bin.nogr.nc | ||
OUT_FORM XVEL | ||
OUT_TYPE NETCDF_DOUBLE | ||
OUT_STAT REPLACE | ||
CHK_QMIN 0.004650467260962157 | ||
CHK_RMIN 0.004650467260962157 | ||
CHK_RMAX 10000.0 | ||
CHK_EJECT 10000.0 | ||
CHK_QMIN_COORD HELIO | ||
CHK_QMIN_RANGE 0.004650467260962157 10000.0 | ||
MU2KG 1.988409870698051e+30 | ||
TU2S 31557600.0 | ||
DU2M 149597870700.0 | ||
FRAGMENTATION NO | ||
RESTART NO | ||
CHK_CLOSE YES | ||
GR NO | ||
ROTATION NO | ||
ENERGY NO | ||
EXTRA_FORCE NO | ||
BIG_DISCARD NO | ||
RHILL_PRESENT NO | ||
INTERACTION_LOOPS TRIANGULAR | ||
ENCOUNTER_CHECK TRIANGULAR | ||
TIDES NO |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.