Skip to content

Commit

Permalink
only log outer header at first step of stress period
Browse files Browse the repository at this point in the history
  • Loading branch information
mjreno authored and mjreno committed Jan 17, 2024
1 parent c46ca00 commit 26ffb1a
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions src/Utilities/Idm/IdmLogger.f90
Original file line number Diff line number Diff line change
Expand Up @@ -57,11 +57,11 @@ end subroutine idm_log_close
!> @ brief log a dynamic header message
!<
subroutine idm_log_period_header(component, iout)
use TdisModule, only: kper
use TdisModule, only: kper, kstp
character(len=*), intent(in) :: component !< component name
integer(I4B), intent(in) :: iout

if (iparamlog > 0 .and. iout > 0) then
if (iparamlog > 0 .and. iout > 0 .and. kstp == 1) then
write (iout, '(/1x,a,i0,a)') 'IDP PERIOD ', kper, &
' load for component: '//trim(component)
end if
Expand All @@ -70,9 +70,10 @@ end subroutine idm_log_period_header
!> @ brief log the period closing message
!<
subroutine idm_log_period_close(iout)
use TdisModule, only: kstp
integer(I4B), intent(in) :: iout

if (iparamlog > 0 .and. iout > 0) then
if (iparamlog > 0 .and. iout > 0 .and. kstp == 1) then
!backspace iout
write (iout, '(1x,a,/)') 'IDP component dynamic load complete...'
end if
Expand Down

0 comments on commit 26ffb1a

Please sign in to comment.