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

Commit

Permalink
Decided it's best to take binding energy out of the orbit energy calc
Browse files Browse the repository at this point in the history
  • Loading branch information
daminton committed Jan 11, 2023
1 parent 310598f commit 5fa50c0
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 + be_now
E_orbit_now = ke_orbit_now + pe_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 5fa50c0

Please sign in to comment.