Skip to content

Commit 3eecaae

Browse files
authored
Merge pull request #1374 from GEOS-ESM/bugfix/v11-turb-diffuse
v11: Fix bug in Turb GC (NZD)
2 parents 7b70b02 + a132c66 commit 3eecaae

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

GEOSagcm_GridComp/GEOSphysics_GridComp/GEOSturbulence_GridComp/GEOS_TurbulenceGridComp.F90

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5405,16 +5405,16 @@ subroutine DIFFUSE(IM,JM,LM,RC)
54055405
end if
54065406

54075407
! Fill exports of U,V and S after diffusion
5408-
if( TYPE=='U' ) then
5408+
if( trim(NAME)=='U' ) then
54095409
if(associated(UAFDIFFUSE)) UAFDIFFUSE = SX
54105410
endif
5411-
if( TYPE=='V' ) then
5411+
if( trim(NAME)=='V' ) then
54125412
if(associated(VAFDIFFUSE)) VAFDIFFUSE = SX
54135413
endif
5414-
if( TYPE=='S' ) then
5414+
if( trim(NAME)=='S' ) then
54155415
if(associated(SAFDIFFUSE)) SAFDIFFUSE = SX
54165416
endif
5417-
if( TYPE=='Q' ) then
5417+
if( trim(NAME)=='Q' ) then
54185418
if(associated(QAFDIFFUSE)) QAFDIFFUSE = SX
54195419
endif
54205420

0 commit comments

Comments
 (0)