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

Commit

Permalink
added back in the 108pl_50tp swifter_swiftest example
Browse files Browse the repository at this point in the history
  • Loading branch information
cwishard committed Feb 10, 2023
1 parent cf37e71 commit 6ebec8d
Show file tree
Hide file tree
Showing 13 changed files with 3,375 additions and 1 deletion.
2 changes: 1 addition & 1 deletion examples/Swifter_Swiftest/.gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
*
!.gitignore
!8pl_0tp
!108_pl_50tp
!108pl_50tp
13 changes: 13 additions & 0 deletions examples/Swifter_Swiftest/108pl_50tp/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
*
!.gitignore
!cb.in
!param.swifter.in
!param.swiftest.in
!pl.swifter.in
!pl.swiftest.in
!README.txt
!swifter_start.in
!swifter_swiftest_comp.eps
!swifter_swiftest_comp.py
!tp.swifter.in
!tp.swiftest.in
32 changes: 32 additions & 0 deletions examples/Swifter_Swiftest/108pl_50tp/README.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
Copyright 2023 - David Minton, Carlisle Wishard, Jennifer Pouplin, Jake Elliott, & Dana Singh
This file is part of Swiftest.
Swiftest is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License
as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
Swiftest is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty
of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with Swiftest.
If not, see: https://www.gnu.org/licenses.

README.txt

Swiftest Example : Swifter_Swiftest
Author : Carlisle A. Wishard
Date : August 15, 2022

Included in the Swifter_Swiftest/108pl_50tp example directory are the following files:

- README.txt : This file
- param.swifter.in : The Swifter parameter input file
- param.swiftest.in : The Swiftest parameter input file
- cb.in : The Swiftest central body input file
- pl.swifter.in : The Swifter massive body input file
- pl.swiftest.in : The Swiftest massive body input file
- tp.swifter.in : The Swifter test particle input file
- tp.swiftest.in : The Swiftest test particle input file
- swifter.dat : The Swifter output file in binary format
- swiftest.nc : The Swiftest output file in NetCDF format
- swifter_start.in : The Swifter file containing additional parameter information
- swifter_swiftest_comp.py : A Python Script that generates swifter_swiftest_comp.eps
- swifter_swifterst_comp.eps : A plot of the results of the Swifter run compared to the results of the Swiftest run, generated by swifter_swiftest_comp.py

This example is intended to be run with the SyMBA integrator for both Swifter and Swiftest. For details on how to generate, run, and analyze this example, see the Swiftest User Manual. To obtain a copy of Swifter, please see https://www.boulder.swri.edu/swifter/home.html.
16 changes: 16 additions & 0 deletions examples/Swifter_Swiftest/108pl_50tp/cb.in
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
!! Copyright 2023 - David Minton, Carlisle Wishard, Jennifer Pouplin, Jake Elliott, & Dana Singh
!! This file is part of Swiftest.
!! Swiftest is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License
!! as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
!! Swiftest is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty
!! of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
!! You should have received a copy of the GNU General Public License along with Swiftest.
!! If not, see: https://www.gnu.org/licenses.

Sun
39.476926408897626
0.004650467260962157
4.7535806948127355e-12
-2.2473967953572827e-18
0.0 0.0 0.07
11.209306302144773 -38.759372036774764 82.25088158389266
35 changes: 35 additions & 0 deletions examples/Swifter_Swiftest/108pl_50tp/param.swifter.in
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
!! Copyright 2023 - David Minton, Carlisle Wishard, Jennifer Pouplin, Jake Elliott, & Dana Singh
!! This file is part of Swiftest.
!! Swiftest is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License
!! as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
!! Swiftest is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty
!! of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
!! You should have received a copy of the GNU General Public License along with Swiftest.
!! If not, see: https://www.gnu.org/licenses.

! VERSION Swiftest parameter input
T0 0.0
TSTOP 1000000.0
DT 0.005
PL_IN pl.swifter.in
TP_IN tp.swifter.in
IN_TYPE ASCII
ISTEP_OUT 200000
ISTEP_DUMP 200000
BIN_OUT swifter.dat
OUT_TYPE REAL8
OUT_FORM EL
OUT_STAT UNKNOWN
J2 0.0
J4 0.0
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
52 changes: 52 additions & 0 deletions examples/Swifter_Swiftest/108pl_50tp/param.swiftest.in
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
!! Copyright 2023 - David Minton, Carlisle Wishard, Jennifer Pouplin, Jake Elliott, & Dana Singh
!! This file is part of Swiftest.
!! Swiftest is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License
!! as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
!! Swiftest is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty
!! of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
!! You should have received a copy of the GNU General Public License along with Swiftest.
!! If not, see: https://www.gnu.org/licenses.

! VERSION Swiftest parameter input
T0 0.0
TSTOP 1000000.0
DT 0.005
ISTEP_OUT 200000
ISTEP_DUMP 200000
OUT_FORM XVEL
OUT_TYPE NETCDF_DOUBLE
OUT_STAT REPLACE
IN_FORM XV
IN_TYPE ASCII
NC_IN -1.0
PL_IN pl.swiftest.in
TP_IN tp.swiftest.in
CB_IN cb.in
BIN_OUT swiftest.nc
CHK_QMIN 0.004650467260962157
CHK_RMIN 0.004650467260962157
CHK_RMAX 1000.0
CHK_EJECT 1000.0
CHK_QMIN_COORD HELIO
CHK_QMIN_RANGE 0.004650467260962157 1000.0
MU2KG 1.988409870698051e+30
TU2S 31557600.0
DU2M 149597870700.0
EXTRA_FORCE NO
PARTICLE_OUT particle.swiftest.dat
BIG_DISCARD NO
CHK_CLOSE YES
GR NO
INTERACTION_LOOPS ADAPTIVE
ENCOUNTER_CHECK ADAPTIVE
RHILL_PRESENT YES
FRAGMENTATION NO
ROTATION NO
ENERGY YES
ENERGY_OUT energy.swiftest.dat
ENC_OUT enc.swiftest.out
GMTINY 2.1554293571575797e-06
MIN_GMFRAG 1.43695290477172e-09
TIDES NO
YORP NO
YARKOVSKY NO
Loading

0 comments on commit 6ebec8d

Please sign in to comment.