Skip to content

Commit

Permalink
fix(idm): delay reading first period block variable until tdis has be…
Browse files Browse the repository at this point in the history
…en created (#1370)

Co-authored-by: mjreno <[email protected]>
  • Loading branch information
mjreno and mjreno authored Sep 27, 2023
1 parent 173dc50 commit 440a868
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/Utilities/Idm/mf6blockfile/IdmMf6File.f90
Original file line number Diff line number Diff line change
Expand Up @@ -249,9 +249,6 @@ subroutine dynamic_set(this, parser)
! -- set the parser
this%parser => parser
!
! -- read first iper
call this%read_ionper()
!
! -- return
return
end subroutine dynamic_set
Expand All @@ -261,6 +258,9 @@ end subroutine dynamic_set
subroutine dynamic_df(this)
class(Mf6FileDynamicPkgLoadType), intent(inout) :: this
!
! -- read first iper
call this%read_ionper()
!
call this%block_loader%df()
!
! -- return
Expand Down

0 comments on commit 440a868

Please sign in to comment.