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

Commit

Permalink
Fixed issue in which lfirst flag was not set to .true. for the initia…
Browse files Browse the repository at this point in the history
…l loop timing
  • Loading branch information
daminton committed Sep 20, 2021
1 parent 88c72d6 commit 3fb9f93
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/kick/kick.f90
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ module subroutine kick_getacch_int_pl(self, param)
class(swiftest_parameters), intent(inout) :: param !! Current swiftest run configuration parameters
! Internals
type(interaction_timer), save :: itimer
logical, save :: lfirst
logical, save :: lfirst = .true.
character(len=STRMAX) :: tstr, nstr, cstr, mstr, lstyle
character(len=1) :: schar

Expand Down
1 change: 0 additions & 1 deletion src/modules/walltime_classes.f90
Original file line number Diff line number Diff line change
Expand Up @@ -272,7 +272,6 @@ module subroutine walltime_interaction_time_this_loop(self, param, pl, ninteract
integer(I8B), intent(in) :: ninteractions !! Current number of interactions (used to normalize the timed loop)

self%is_on = .true.
self%step_counter = 0
select case(self%stage)
case(1)
self%stage1_ninteractions = ninteractions
Expand Down
2 changes: 1 addition & 1 deletion src/symba/symba_kick.f90
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ module subroutine symba_kick_getacch_int_pl(self, param)
class(swiftest_parameters), intent(inout) :: param !! Current swiftest run configuration parameter
! Internals
type(interaction_timer), save :: itimer
logical, save :: lfirst
logical, save :: lfirst = .true.
character(len=STRMAX) :: tstr, nstr, cstr, mstr
character(len=11) :: lstyle
character(len=1) :: schar
Expand Down

0 comments on commit 3fb9f93

Please sign in to comment.