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

Commit

Permalink
Added coordinate transform step before resolving collisions to get al…
Browse files Browse the repository at this point in the history
…l the coordinates consistenent between barycentric and heliocentric before starting the fragment code
  • Loading branch information
daminton committed Aug 16, 2021
1 parent dc4a86a commit f9af5d7
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/symba/symba_collision.f90
Original file line number Diff line number Diff line change
Expand Up @@ -1083,6 +1083,8 @@ module subroutine symba_collision_resolve_plplenc(self, system, param, t)
if (plplcollision_list%nenc == 0) return ! No collisions to resolve

write(*, *) "Collision between massive bodies detected at time t = ", t
call pl%vb2vh(system%cb)
call pl%h2b(system%cb)
if (param%lfragmentation) then
call plplcollision_list%resolve_fragmentations(system, param)
else
Expand Down

0 comments on commit f9af5d7

Please sign in to comment.