Skip to content

Commit 7e99bd1

Browse files
committed
temporarily comment out old hlm registry and transfer procedures
1 parent 816e066 commit 7e99bd1

File tree

1 file changed

+48
-48
lines changed

1 file changed

+48
-48
lines changed

components/elm/src/main/elmfates_interfaceMod.F90

Lines changed: 48 additions & 48 deletions
Original file line numberDiff line numberDiff line change
@@ -265,8 +265,8 @@ module ELMFatesInterfaceMod
265265

266266
! This is the array of pointer to the host land model data and its associated
267267
! common variable name
268-
type(hlm_fates_api_var_type), allocatable :: bc_in(:)
269-
type(hlm_fates_api_var_type), allocatable :: bc_out(:)
268+
! type(hlm_fates_api_var_type), allocatable :: bc_in(:)
269+
! type(hlm_fates_api_var_type), allocatable :: bc_out(:)
270270

271271
! This is the number of HLM variables that are being passed in and out of FATES
272272
integer, public :: num_hlmvar_in, num_hlmvar_out
@@ -303,8 +303,8 @@ module ELMFatesInterfaceMod
303303
procedure, public :: WrapUpdateFatesRmean
304304
procedure, public :: WrapGlobalSeedDispersal
305305
procedure, public :: WrapUpdateFatesSeedInOut
306-
procedure, public :: WrapTransferBCIn
307-
procedure, public :: WrapTransferBCOut
306+
! procedure, public :: WrapTransferBCIn
307+
! procedure, public :: WrapTransferBCOut
308308

309309
end type hlm_fates_interface_type
310310

@@ -922,7 +922,7 @@ subroutine init(this, bounds_proc, flandusepftdat)
922922
end if
923923

924924
! Initialize the fates to host land model API variable mapping
925-
call this%InitAndSetAPIAssociation()
925+
! call this%InitAndSetAPIAssociation()
926926

927927
! Retrieve the landuse x pft static data if the optional switch has been set
928928
if (use_fates_fixed_biogeog .and. use_fates_luh) then
@@ -1253,7 +1253,7 @@ subroutine dynamics_driv(this, bounds_clump, top_as_inst, &
12531253
end if
12541254

12551255
! Transfer decomposition fluxes to the FATES patch data structure
1256-
call this%WrapTransferBCIn(nc)
1256+
! call this%WrapTransferBCIn(nc)
12571257

12581258
do s=1,this%fates(nc)%nsites
12591259

@@ -3643,61 +3643,61 @@ end subroutine wrap_hydraulics_drive
36433643

36443644
! ======================================================================================
36453645

3646-
subroutine WrapTransferBCIn(this, nc)
3646+
! subroutine WrapTransferBCIn(this, nc)
36473647

3648-
! !DESCRIPTION:
3649-
! ---------------------------------------------------------------------------------
3650-
! This call passes the HLM inputs to FATES patch-level boundary conditions
3651-
! ---------------------------------------------------------------------------------
3648+
! ! !DESCRIPTION:
3649+
! ! ---------------------------------------------------------------------------------
3650+
! ! This call passes the HLM inputs to FATES patch-level boundary conditions
3651+
! ! ---------------------------------------------------------------------------------
36523652

3653-
! !USES:
3654-
!
3655-
! !ARGUMENTS:
3656-
class(hlm_fates_interface_type), intent(inout) :: this
3657-
integer, intent(in) :: nc
3653+
! ! !USES:
3654+
! !
3655+
! ! !ARGUMENTS:
3656+
! class(hlm_fates_interface_type), intent(inout) :: this
3657+
! integer, intent(in) :: nc
36583658

3659-
! !LOCAL:
3660-
integer :: s, ivar ! indices and loop counters
3659+
! ! !LOCAL:
3660+
! integer :: s, ivar ! indices and loop counters
36613661

3662-
do s = 1, this%fates(nc)%nsites
3663-
do ivar = 1,this%num_hlmvar_in
3664-
call this%fates(nc)%sites(s)%TransferBCIn(this%bc_in(ivar)%api_str, &
3665-
this%bc_in(ivar)%hlm_var)
3666-
end do
3667-
end do
3662+
! do s = 1, this%fates(nc)%nsites
3663+
! do ivar = 1,this%num_hlmvar_in
3664+
! call this%fates(nc)%sites(s)%TransferBCIn(this%bc_in(ivar)%api_str, &
3665+
! this%bc_in(ivar)%hlm_var)
3666+
! end do
3667+
! end do
36683668

3669-
end subroutine WrapTransferBCIn
3669+
! end subroutine WrapTransferBCIn
36703670

3671-
! ======================================================================================
3671+
! ! ======================================================================================
36723672

3673-
subroutine WrapTransferBCOut(this, nc)
3673+
! subroutine WrapTransferBCOut(this, nc)
36743674

3675-
! !DESCRIPTION:
3676-
! ---------------------------------------------------------------------------------
3677-
! This call passes the HLM inputs to FATES patch-level boundary conditions
3678-
! ---------------------------------------------------------------------------------
3675+
! ! !DESCRIPTION:
3676+
! ! ---------------------------------------------------------------------------------
3677+
! ! This call passes the HLM inputs to FATES patch-level boundary conditions
3678+
! ! ---------------------------------------------------------------------------------
36793679

3680-
! !USES:
3681-
!
3682-
! !ARGUMENTS:
3683-
class(hlm_fates_interface_type), intent(inout) :: this
3684-
integer, intent(in) :: nc
3680+
! ! !USES:
3681+
! !
3682+
! ! !ARGUMENTS:
3683+
! class(hlm_fates_interface_type), intent(inout) :: this
3684+
! integer, intent(in) :: nc
36853685

3686-
! !LOCAL:
3687-
integer :: s, ivar ! indices and loop counters
3688-
real(r8) :: dtime ! step size to pass to FATES to handle timestep conversions
3686+
! ! !LOCAL:
3687+
! integer :: s, ivar ! indices and loop counters
3688+
! real(r8) :: dtime ! step size to pass to FATES to handle timestep conversions
36893689

3690-
! Get the step size in seconds
3691-
dtime = real(get_step_size(),r8)
3690+
! ! Get the step size in seconds
3691+
! dtime = real(get_step_size(),r8)
36923692

3693-
do s = 1, this%fates(nc)%nsites
3694-
do ivar = 1,this%num_hlmvar_out
3695-
call this%fates(nc)%sites(s)%TransferBCOut(this%bc_out(ivar)%api_str, &
3696-
this%bc_out(ivar)%hlm_var, dtime)
3697-
end do
3698-
end do
3693+
! do s = 1, this%fates(nc)%nsites
3694+
! do ivar = 1,this%num_hlmvar_out
3695+
! call this%fates(nc)%sites(s)%TransferBCOut(this%bc_out(ivar)%api_str, &
3696+
! this%bc_out(ivar)%hlm_var, dtime)
3697+
! end do
3698+
! end do
36993699

3700-
end subroutine WrapTransferBCOut
3700+
! end subroutine WrapTransferBCOut
37013701

37023702
! ======================================================================================
37033703

0 commit comments

Comments
 (0)