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

Commit

Permalink
Started working on getting SyMBA to recognize pl-pl collisions
Browse files Browse the repository at this point in the history
  • Loading branch information
daminton committed Aug 2, 2021
1 parent f40f7a1 commit 025cd22
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/symba/symba_collision.f90
Original file line number Diff line number Diff line change
Expand Up @@ -70,9 +70,10 @@ module subroutine symba_collision_check_plplenc(self, system, param, t, dt, irec
call system%mergesub_list%append(pl, lmask)

! Set the collision flag for these to bodies to true in case they become involved in another collision later in the step
pl%lcollision(ind1(k)) = .true.
pl%lcollision(ind2(k)) = .true.
pl%lcollision([ind1(k), ind2(k)]) = .true.
pl%ldiscard([ind1(k), ind2(k)]) = .true.
end do

end if
end associate
end select
Expand Down

0 comments on commit 025cd22

Please sign in to comment.