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

Commit

Permalink
Moved dump io to after first step
Browse files Browse the repository at this point in the history
  • Loading branch information
daminton committed Aug 11, 2021
1 parent 71e7542 commit 7b9e9ad
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/io/io.f90
Original file line number Diff line number Diff line change
Expand Up @@ -219,11 +219,11 @@ module subroutine io_dump_system(self, param)
deltawall = clock_count / (count_rate * 1.0_DP) - finish
wallperstep = deltawall / param%istep_dump
finish = clock_count / (count_rate * 1.0_DP)
write(*, statusfmt) param%t, tfrac, self%pl%nbody, self%tp%nbody
write(*, walltimefmt) finish - start, wallperstep
if (param%lenergy) call self%conservation_report(param, lterminal=.true.)
end if
write(*, statusfmt) param%t, tfrac, self%pl%nbody, self%tp%nbody
write(*, walltimefmt) finish - start, wallperstep

if (param%lenergy) call self%conservation_report(param, lterminal=.true.)

return
end subroutine io_dump_system
Expand Down

0 comments on commit 7b9e9ad

Please sign in to comment.