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

Commit

Permalink
symba_frag_pos updated failure reporting
Browse files Browse the repository at this point in the history
  • Loading branch information
cwishard committed Jun 4, 2021
1 parent e73f9d7 commit 519f07d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/symba/symba_frag_pos.f90
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ subroutine symba_frag_pos(param, symba_plA, family, x, v, L_spin, Ip, mass, radi
if (.not.lmerge) then
call calculate_system_energy(linclude_fragments=.true.)
if ((abs(dEtot - Qloss) / Qloss > Etol) .or. (dEtot > 0.0_DP)) then
write(*,*) 'Failed due to high energy error: ', abs(dEtot / Etot_before)
write(*,*) 'Failed due to high energy error: ', (abs(dEtot) - Qloss) / Qloss
lmerge = .true.
else if (abs(dLmag) > Ltol) then
write(*,*) 'Failed due to high angular momentum error: ', dLmag
Expand Down

0 comments on commit 519f07d

Please sign in to comment.