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

Commit

Permalink
Helpful comments
Browse files Browse the repository at this point in the history
  • Loading branch information
daminton committed Dec 10, 2022
1 parent f1387ba commit e08f725
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/symba/symba_util.f90
Original file line number Diff line number Diff line change
Expand Up @@ -1304,6 +1304,7 @@ module subroutine symba_util_take_collision_snapshot(self, param, t, stage)

select case(stage)
case("before")
! Saves the states of the bodies involved in the collision before the collision is resolved
associate (idx => self%colliders%idx, ncoll => self%colliders%ncoll)
allocate(symba_pl :: self%colliders%pl)
select type(pl => self%colliders%pl)
Expand All @@ -1324,7 +1325,6 @@ module subroutine symba_util_take_collision_snapshot(self, param, t, stage)
allocate(snapshot%colliders, source=self%colliders)
allocate(snapshot%fragments, source=self%fragments)
!call symba_util_save_storage(self,snapshot,t)
deallocate(snapshot)
end select

return
Expand Down

0 comments on commit e08f725

Please sign in to comment.