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

Commit

Permalink
Cleaned up some cruft
Browse files Browse the repository at this point in the history
  • Loading branch information
daminton committed Dec 31, 2022
1 parent 6605eb5 commit f281125
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions src/fraggle/fraggle_generate.f90
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,6 @@
use swiftest
use symba

real(DP), parameter :: FRAGGLE_LTOL = 1e-4_DP !10 * epsilon(1.0_DP)
real(DP), parameter :: FRAGGLE_ETOL = 1e-12_DP

contains

module subroutine fraggle_generate(self, nbody_system, param, t)
Expand All @@ -36,8 +33,6 @@ module subroutine fraggle_generate(self, nbody_system, param, t)
select type(pl => nbody_system%pl)
class is (swiftest_pl)
associate(impactors => self%impactors, status => self%status)


select case (impactors%regime)
case (COLLRESOLVE_REGIME_HIT_AND_RUN)
call self%hitandrun(nbody_system, param, t)
Expand Down Expand Up @@ -99,11 +94,9 @@ module subroutine fraggle_generate_disrupt(self, nbody_system, param, t, lfailur
logical, optional, intent(out) :: lfailure !! Answers the question: Should this have been a merger instead?
! Internals
integer(I4B) :: try
real(DP) :: dEtot, dLmag
integer(I4B), parameter :: MAXTRY = 100
logical :: lk_plpl, lfailure_local
logical, dimension(size(IEEE_ALL)) :: fpe_halting_modes, fpe_quiet_modes
logical, dimension(size(IEEE_USUAL)) :: fpe_flag
character(len=STRMAX) :: message

! The minimization and linear solvers can sometimes lead to floating point exceptions. Rather than halting the code entirely if this occurs, we
Expand Down

0 comments on commit f281125

Please sign in to comment.