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

Commit

Permalink
Impvoved the reporting format for Fraggle
Browse files Browse the repository at this point in the history
  • Loading branch information
daminton committed Jan 13, 2023
1 parent 71fcd33 commit 4201950
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/fraggle/fraggle_generate.f90
Original file line number Diff line number Diff line change
Expand Up @@ -634,12 +634,12 @@ module subroutine fraggle_generate_vel_vec(collider, nbody_system, param, lfailu
end do outer
lfailure = dE_best > 0.0_DP

write(message, *) try*loop
if (lfailure) then
write(message,*) "Fraggle velocity calculation failed to converge after ",try*loop," steps. This collision may have added energy."
call swiftest_io_log_one_message(COLLISION_LOG_OUT, "Fraggle velocity calculation failed to converge after " // trim(adjustl(message)) // " steps. This collision would add energy.")
else
write(message,*) "Fraggle velocity calculation converged after ",try*loop," steps."
call swiftest_io_log_one_message(COLLISION_LOG_OUT,"Fraggle velocity calculation converged after " // trim(adjustl(message)) // " steps.")
end if
call swiftest_io_log_one_message(COLLISION_LOG_OUT, message)

end associate
end associate
Expand Down

0 comments on commit 4201950

Please sign in to comment.