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
Removed cruft
  • Loading branch information
daminton committed May 25, 2021
1 parent d715674 commit 273aacf
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions src/symba/symba_collision.f90
Original file line number Diff line number Diff line change
Expand Up @@ -46,18 +46,10 @@ subroutine symba_collision (t, symba_plA, nplplenc, plplenc_list, ldiscard, merg
logical, dimension(:), allocatable :: lplpl_unique_parent
integer(I4B), dimension(:), pointer :: plparent

! TESTING
logical, save :: lfirst = .true.
real(DP), save :: Minitial
real(DP) :: Msystem, Madd, Mdiscard

! First determine the collisional regime for each colliding pair
associate(npl => symba_plA%helio%swiftest%nbody, xbpl => symba_plA%helio%swiftest%xb, statpl => symba_plA%helio%swiftest%status, idpl => symba_plA%helio%swiftest%id, &
idx1 => plplenc_list%index1, idx2 => plplenc_list%index2, plparent => symba_plA%kin%parent)
if (lfirst) then
Minitial = sum(symba_plA%helio%swiftest%mass(1:npl))
lfirst = .false.
end if
lplpl_collision(:) = plplenc_list%status(1:nplplenc) == COLLISION
ldiscard = any(lplpl_collision)
if (.not.ldiscard) return
Expand Down

0 comments on commit 273aacf

Please sign in to comment.