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

Commit

Permalink
Added non-cb binding energy back to the total orbital energy
Browse files Browse the repository at this point in the history
  • Loading branch information
daminton committed Jan 11, 2023
1 parent d1f96be commit 2b33502
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/swiftest/swiftest_io.f90
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ module subroutine swiftest_io_conservation_report(self, param, lterminal)
te_now = nbody_system%te
L_orbit_now(:) = nbody_system%L_orbit(:)
L_spin_now(:) = nbody_system%L_spin(:)
E_orbit_now = ke_orbit_now + pe_now
E_orbit_now = ke_orbit_now + pe_now + be_now
L_total_now(:) = nbody_system%L_total(:) + nbody_system%L_escape(:)
GMtot_now = nbody_system%GMtot + nbody_system%GMescape

Expand Down

0 comments on commit 2b33502

Please sign in to comment.