Skip to content

Commit

Permalink
rename func
Browse files Browse the repository at this point in the history
  • Loading branch information
emorway-usgs committed Nov 27, 2024
1 parent 52e6d7e commit 1113a3e
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions src/Model/GroundWaterEnergy/gwe-uze.f90
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ module GweUzeModule
procedure :: bnd_ac => uze_ac
procedure :: bnd_mc => uze_mc
procedure :: get_mvr_depvar
procedure, private :: duplicate_chk
procedure, private :: uzarea_chk
procedure, private :: print_uz_err

end type GweUzeType
Expand Down Expand Up @@ -169,8 +169,6 @@ subroutine find_uze_package(this)
! be found
found = .false.
!
nuz = 1
!
! -- If user is specifying flows in a binary budget file, then set up
! the budget file reader, otherwise set a pointer to the flow package
! budobj
Expand Down Expand Up @@ -218,7 +216,7 @@ subroutine find_uze_package(this)
if (this%flowbudptr%budterm(idxbudgwf)%flowtype == ' GWF') exit
end do
nuz = this%flowbudptr%budterm(idxbudgwf)%maxlist
call this%duplicate_chk(nuz, idxbudgwf)
call this%uzarea_chk(nuz, idxbudgwf)
!
! -- Allocate space for idxbudssm, which indicates whether this is a
! special budget term or one that is a general source and sink
Expand Down Expand Up @@ -1316,7 +1314,7 @@ end subroutine uze_bd_obs
!! the area of the host cell. When this condition is not true, the code
!! exits with an appropriate message.
!<
subroutine duplicate_chk(this, nuz, idxbudgwf)
subroutine uzarea_chk(this, nuz, idxbudgwf)
! -- modules
use ConstantsModule, only: IZERO
use MathUtilModule, only: is_close
Expand All @@ -1341,7 +1339,7 @@ subroutine duplicate_chk(this, nuz, idxbudgwf)
call this%print_uz_err(igwfnode)
end if
end do
end subroutine duplicate_chk
end subroutine uzarea_chk

!> @brief Print and store error msg indicating area of UZF object is not
!! equal to that of the host cell
Expand Down

0 comments on commit 1113a3e

Please sign in to comment.