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

Commit

Permalink
Got rid of flag that turns of collision tracking when encounter track…
Browse files Browse the repository at this point in the history
…ing is turned off.
  • Loading branch information
daminton committed Dec 14, 2022
1 parent b03bd99 commit cfe545d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/symba/symba_collision.f90
Original file line number Diff line number Diff line change
Expand Up @@ -936,7 +936,7 @@ subroutine symba_resolve_collision(plplcollision_list , system, param, t)
end associate
end if

if (param%lenc_save_trajectory) call collision_history%take_snapshot(param,system, t, "before")
call collision_history%take_snapshot(param,system, t, "before")
select case (system%fragments%regime)
case (COLLRESOLVE_REGIME_DISRUPTION, COLLRESOLVE_REGIME_SUPERCATASTROPHIC)
plplcollision_list%status(i) = symba_collision_casedisruption(system, param, t)
Expand All @@ -948,7 +948,7 @@ subroutine symba_resolve_collision(plplcollision_list , system, param, t)
write(*,*) "Error in symba_collision, unrecognized collision regime"
call util_exit(FAILURE)
end select
if (param%lenc_save_trajectory) call collision_history%take_snapshot(param,system, t, "after")
call collision_history%take_snapshot(param,system, t, "after")
deallocate(system%colliders,system%fragments)
end do
end select
Expand Down

0 comments on commit cfe545d

Please sign in to comment.