Skip to content

Commit 69d8e34

Browse files
committed
YOWPHYS: make NDIKCUMUL a local var
1 parent d0b3687 commit 69d8e34

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/ecwam/sdissip_ard.F90

+3-1
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ SUBROUTINE SDISSIP_ARD (KIJS, KIJL, FL1, FLD, SL, &
6767
USE YOWPARAM , ONLY : NANG ,NFRE
6868
USE YOWPHYS , ONLY : SDSBR ,ISDSDTH ,ISB ,IPSAT , &
6969
& SSDSC2 , SSDSC4, SSDSC6, MICHE, SSDSC3, SSDSBRF1, &
70-
& BRKPBCOEF ,SSDSC5, NSDSNTH, NDIKCUMUL, &
70+
& BRKPBCOEF ,SSDSC5, NSDSNTH, &
7171
& INDICESSAT, SATWEIGHTS
7272

7373
USE YOMHOOK , ONLY : LHOOK ,DR_HOOK, JPHOOK
@@ -86,6 +86,8 @@ SUBROUTINE SDISSIP_ARD (KIJS, KIJL, FL1, FLD, SL, &
8686

8787

8888
INTEGER(KIND=JWIM) :: IJ, K, M, I, J, M2, K2, KK, NANGD
89+
! NDIKCUMUL is the integer difference in frequency bands
90+
INTEGER(KIND=JWIM) :: NDIKCUMUL
8991

9092
REAL(KIND=JWRB) :: TPIINV, TPIINVH, TMP01, TMP02, TMP03
9193
REAL(KIND=JWRB) :: EPSR, SSDSC6M1, ZCOEF, ZCOEFM1

src/ecwam/yowphys.F90

-2
Original file line numberDiff line numberDiff line change
@@ -150,8 +150,6 @@ MODULE YOWPHYS
150150

151151
! NSDSNTH is the number of directions on both used to compute the spectral saturation
152152
INTEGER(KIND=JWIM) :: NSDSNTH
153-
! NDIKCUMUL is the integer difference in frequency bands
154-
INTEGER(KIND=JWIM) :: NDIKCUMUL
155153

156154
INTEGER(KIND=JWIM), ALLOCATABLE :: INDICESSAT(:,:)
157155
REAL(KIND=JWRB), ALLOCATABLE :: SATWEIGHTS(:,:)

0 commit comments

Comments
 (0)