Skip to content

Commit 7cef2f6

Browse files
authored
Merge branch 'develop' into bugfix/zhaobin74/fix-missing-connection-ice-frzr
2 parents cd45a6c + 49227ef commit 7cef2f6

File tree

6 files changed

+670
-241
lines changed

6 files changed

+670
-241
lines changed

GEOSagcm_GridComp/GEOSphysics_GridComp/GEOSsurface_GridComp/GEOSland_GridComp/GEOScatchCN_GridComp/GEOScatchCNCLM40_GridComp/GEOS_CatchCNCLM40GridComp.F90

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3916,7 +3916,7 @@ subroutine RUN1 ( GC, IMPORT, EXPORT, CLOCK, RC )
39163916
VERIFY_(STATUS)
39173917
Iam=trim(COMP_NAME)//"::RUN1"
39183918

3919-
! Get component's offline mode from its pvt internal state
3919+
! Get component's offline mode from its private internal state
39203920
call ESMF_UserCompGetInternalState(gc, 'CatchcnInternal', wrap, status)
39213921
VERIFY_(status)
39223922
catchcn_internal => wrap%ptr
@@ -4481,7 +4481,6 @@ subroutine RUN2 ( GC, IMPORT, EXPORT, CLOCK, RC )
44814481
type(ESMF_Alarm) :: ALARM
44824482

44834483
integer :: IM,JM
4484-
integer :: incl_Louis_extra_derivs
44854484

44864485
real :: SCALE4Z0
44874486

@@ -4506,8 +4505,6 @@ subroutine RUN2 ( GC, IMPORT, EXPORT, CLOCK, RC )
45064505
call MAPL_Get(MAPL, RUNALARM=ALARM, RC=STATUS)
45074506
VERIFY_(STATUS)
45084507

4509-
call MAPL_GetResource ( MAPL, incl_Louis_extra_derivs, Label="INCL_LOUIS_EXTRA_DERIVS:", DEFAULT=1, RC=STATUS)
4510-
VERIFY_(STATUS)
45114508
call MAPL_GetResource ( MAPL, SCALE4Z0, Label="SCALE4Z0:", DEFAULT=0.5, RC=STATUS)
45124509
VERIFY_(STATUS)
45134510

@@ -6155,7 +6152,7 @@ subroutine Driver ( RC )
61556152
ALWN(:,N) = -3.0*BLWN(:,N)*TC(:,N)
61566153
BLWN(:,N) = 4.0*BLWN(:,N)
61576154
end do
6158-
if(catchcn_internal%CHOOSEMOSFC==0 .and. incl_Louis_extra_derivs ==1) then
6155+
if(catchcn_internal%CHOOSEMOSFC==0 .and. catchcn_internal%MOSFC_EXTRA_DERIVS_OFFL_LAND==1) then
61596156
do N=1,NUM_SUBTILES
61606157
DEVSBT(:,N)=CQ(:,N)+max(0.0,-DCQ(:,N)*MAPL_VIREPS*TC(:,N)*(QC(:,N)-QA))
61616158
DEDTC(:,N) =max(0.0,-DCQ(:,N)*(1.+MAPL_VIREPS*QC(:,N))*(QC(:,N)-QA))

GEOSagcm_GridComp/GEOSphysics_GridComp/GEOSsurface_GridComp/GEOSland_GridComp/GEOScatchCN_GridComp/GEOScatchCNCLM45_GridComp/GEOS_CatchCNCLM45GridComp.F90

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4445,7 +4445,6 @@ subroutine RUN2 ( GC, IMPORT, EXPORT, CLOCK, RC )
44454445
type(MAPL_MetaComp),pointer :: MAPL
44464446
type(ESMF_Alarm) :: ALARM
44474447
integer :: IM,JM
4448-
integer :: incl_Louis_extra_derivs
44494448

44504449
real :: SCALE4Z0
44514450

@@ -4470,8 +4469,6 @@ subroutine RUN2 ( GC, IMPORT, EXPORT, CLOCK, RC )
44704469
call MAPL_Get(MAPL, RUNALARM=ALARM, RC=STATUS)
44714470
VERIFY_(STATUS)
44724471

4473-
call MAPL_GetResource ( MAPL, incl_Louis_extra_derivs, Label="INCL_LOUIS_EXTRA_DERIVS:", DEFAULT=1, RC=STATUS)
4474-
VERIFY_(STATUS)
44754472
call MAPL_GetResource ( MAPL, SCALE4Z0, Label="SCALE4Z0:", DEFAULT=0.5, RC=STATUS)
44764473
VERIFY_(STATUS)
44774474

@@ -6185,7 +6182,7 @@ subroutine Driver ( RC )
61856182
ALWN(:,N) = -3.0*BLWN(:,N)*TC(:,N)
61866183
BLWN(:,N) = 4.0*BLWN(:,N)
61876184
end do
6188-
if(catchcn_internal%CHOOSEMOSFC==0 .and. incl_Louis_extra_derivs ==1) then
6185+
if(catchcn_internal%CHOOSEMOSFC==0 .and. catchcn_internal%MOSFC_EXTRA_DERIVS_OFFL_LAND==1) then
61896186
do N=1,NUM_SUBTILES
61906187
DEVSBT(:,N)=CQ(:,N)+max(0.0,-DCQ(:,N)*MAPL_VIREPS*TC(:,N)*(QC(:,N)-QA))
61916188
DEDTC(:,N) =max(0.0,-DCQ(:,N)*(1.+MAPL_VIREPS*QC(:,N))*(QC(:,N)-QA))

0 commit comments

Comments
 (0)