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

Commit

Permalink
Fixed bookkeeping term for collision energy
Browse files Browse the repository at this point in the history
  • Loading branch information
daminton committed Aug 12, 2021
1 parent 12dd019 commit e2adfd0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/symba/symba_discard.f90
Original file line number Diff line number Diff line change
Expand Up @@ -320,7 +320,7 @@ module subroutine symba_discard_pl(self, system, param)
if (param%lenergy) then
call system%get_energy_and_momentum(param)
Eorbit_after = system%te
system%Ecollisions = Eorbit_after - Eorbit_before
system%Ecollisions = system%Ecollisions + (Eorbit_after - Eorbit_before)
end if
end if

Expand Down

0 comments on commit e2adfd0

Please sign in to comment.