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.
- Loading branch information
Showing
57 changed files
with
139,706 additions
and
1,154 deletions.
There are no files selected for viewing
This file contains hidden or 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 hidden or 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 hidden or 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 |
|---|---|---|
|
|
@@ -33,3 +33,4 @@ ROTATION NO | |
| TIDES NO | ||
| ENERGY NO | ||
| GR NO | ||
| ENCOUNTER_CHECK SORTSWEEP | ||
69 changes: 18 additions & 51 deletions
69
examples/rmvs_swifter_comparison/8pl_16tp_encounters/swiftest_rmvs_vs_swifter_rmvs.ipynb
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains hidden or 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 hidden or 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 hidden or 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
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains hidden or 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,5 @@ | ||
| Sun | ||
| 39.476926408897626 | ||
| 0.005 | ||
| 0.0 | ||
| 0.0 |
This file contains hidden or 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 @@ | ||
| ! | ||
| !Parameter file for the Entire Solar System for the Terrestrial Disk | ||
| ! | ||
| T0 0.0e0 !starting time in years | ||
| TSTOP 0.100 !simulation length in years | ||
| DT 0.001 !step size in years | ||
| CB_IN cb.in | ||
| PL_IN Jul27_2k_fully.in | ||
| TP_IN tp.in | ||
| IN_TYPE ASCII !format of input file | ||
| IN_FORM XV !format of input file | ||
| ISTEP_OUT 100 !output cadence | ||
| ISTEP_DUMP 100 !keep same as ISTEP_OUT | ||
| BIN_OUT bin.nc !output file | ||
| OUT_TYPE NETCDF_DOUBLE !double precision real output | ||
| OUT_FORM XVEL !output type in XV OR EL | ||
| OUT_STAT REPLACE | ||
| CHK_CLOSE yes !check for planetary close encounters | ||
| CHK_RMAX 10000.0 !drop things from the simulation in AU | ||
| CHK_EJECT -1.0 !turns this off | ||
| CHK_QMIN -1.0 !turns this off | ||
| EXTRA_FORCE no !this would be user defined forces | ||
| BIG_DISCARD no !output all planets if anything is discarded | ||
| RHILL_PRESENT yes !Rhill is definted in the input file | ||
| FRAGMENTATION no !Turns fragmentation model on | ||
| ROTATION no | ||
| TIDES no | ||
| GR no | ||
| MU2KG 5.038e30 !Conversion from mass unit to grams (M_sun*G --> kg where G=4pi^2 AU^3/(y^2*M_sun)) | ||
| DU2M 1.5e11 !Conversion from distance unit to centimeters (AU --> m) | ||
| TU2S 3.16e7 !Conversion from time unit to seconds (years --> seconds) | ||
| GMTINY 1e-20 !(G*M) | ||
| ENERGY no | ||
| INTERACTION_LOOPS ADAPTIVE | ||
| ENCOUNTER_CHECK ADAPTIVE |
This file contains hidden or 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,28 @@ | ||
| #!/bin/zsh -l | ||
| #SBATCH -A standby | ||
| #SBATCH --time=4:00:00 | ||
| #SBATCH --nodes=1 | ||
| #SBATCH --ntasks=1 | ||
| #SBATCH --ntasks-per-node=1 | ||
| #SBATCH --job-name=swiftest-2k | ||
| #SBATCH --cpus-per-task=128 | ||
| #SBATCH --mem-per-cpu=MaxMemPerCPU | ||
| #SBATCH -o %x.out | ||
| #SBATCH -e %x.err | ||
|
|
||
| cd $SLURM_SUBMIT_DIR | ||
| filename="${SLURM_SUBMIT_DIR}/swiftest-2k-timehist.log" | ||
| rm ${filename} | ||
| echo "N cores,wall time(s)" > ${filename} | ||
|
|
||
| count=1 | ||
| while [ $count -lt 129 ] | ||
| do | ||
| export OMP_NUM_THREADS=${count} | ||
| ./swiftest_driver symba param.in > term${count}.out | ||
| grep Integration term${count}.out | tail -n1 | awk -v NTHREADS=$OMP_NUM_THREADS '{print NTHREADS,",",$6}' | sed 's/.$//' >> ${filename} | ||
| mv interaction_timer.log interaction_timer${count}.log | ||
| mv encounter_check_timer.log encounter_check_timer${count}.log | ||
| count=`expr $count + 1` | ||
| done | ||
|
|
This file contains hidden or 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 @@ | ||
| 0 |
Oops, something went wrong.