GCC Code Coverage Report
Directory: ./ Exec Total Coverage
File: phylmd/rrtm/sucld.F90 Lines: 0 30 0.0 %
Date: 2023-06-30 12:51:15 Branches: 0 6 0.0 %

Line Branch Exec Source
1
SUBROUTINE SUCLD ( KLEV , PETA )
2
3
!**** *SUCLD*   - INITIALIZE COMMON YOECLD CONTROLLING *CLOUD*
4
5
!     PURPOSE.
6
!     --------
7
!           INITIALIZE YOECLD
8
9
!**   INTERFACE.
10
!     ----------
11
!        CALL *SUCLD* FROM *SUPHEC*
12
!              -----        ------
13
14
!        EXPLICIT ARGUMENTS :
15
!        --------------------
16
!        NONE
17
18
!        IMPLICIT ARGUMENTS :
19
!        --------------------
20
!        COMMON YOECLD
21
22
!     METHOD.
23
!     -------
24
!        SEE DOCUMENTATION
25
26
!     EXTERNALS.
27
!     ----------
28
!        NONE
29
30
!     REFERENCE.
31
!     ----------
32
!        ECMWF RESEARCH DEPARTMENT DOCUMENTATION OF THE
33
!     "INTEGRATED FORECASTING SYSTEM"
34
35
!     AUTHOR.
36
!     -------
37
!        JEAN-JACQUES MORCRETTE  *ECMWF*
38
39
!     MODIFICATIONS.
40
!     --------------
41
!        ORIGINAL : 89-12-15
42
!        M.Hamrud      01-Oct-2003 CY28 Cleaning
43
44
!     ------------------------------------------------------------------
45
46
USE PARKIND1  ,ONLY : JPIM     ,JPRB
47
USE YOMHOOK   ,ONLY : LHOOK,   DR_HOOK
48
49
USE YOECLD   , ONLY : CETA     ,RANVA    ,RANVB    ,RANVH    ,&
50
 & RCCA     ,RCCB     ,RCCC     ,RCFCT    ,RCLWMR   ,&
51
 & RCSCAL   ,RETAHB   ,RETAMB   ,RLOIA    ,RLOIB    ,&
52
 & RLOIC    ,RLOID    ,RLONIA   ,RLONIB   ,RRHH     ,&
53
 & RRHL     ,RRHM     ,RGAMMAS  ,REPSCR   ,REPSEC   ,&
54
 & LOMEGA
55
56
IMPLICIT NONE
57
58
INTEGER(KIND=JPIM),INTENT(IN)    :: KLEV
59
REAL(KIND=JPRB)   ,INTENT(IN)    :: PETA(KLEV)
60
!      ----------------------------------------------------------------
61
62
INTEGER(KIND=JPIM) :: JK
63
REAL(KIND=JPRB) :: ZHOOK_HANDLE
64
65
!      ----------------------------------------------------------------
66
67
!*       1.    SET VALUES
68
!              ----------
69
70
IF (LHOOK) CALL DR_HOOK('SUCLD',0,ZHOOK_HANDLE)
71
RANVA  = 2._JPRB
72
RANVB  = 0.3_JPRB
73
RANVH  = 0.4_JPRB
74
RCCA   = 0.125_JPRB
75
RCCB   = 1.5_JPRB
76
RCCC   = 0.8_JPRB
77
RCFCT  = 0.400_JPRB
78
RCSCAL = 1.0E+11_JPRB
79
80
RETAHB = 0.45_JPRB
81
RETAMB = 0.80_JPRB
82
83
RLOIA  = 1.0E+02_JPRB
84
RLOIB  =-10.00_JPRB
85
RLOIC  =-0.9_JPRB
86
RLOID  = 5.0_JPRB
87
88
RLONIA = -0.1_JPRB
89
RLONIB = -10.0_JPRB
90
91
RRHH   = 0.9_JPRB
92
RRHM   = 0.8_JPRB
93
RRHL   = 0.70_JPRB
94
95
RGAMMAS= 0.05_JPRB
96
RCLWMR = 1.E-04_JPRB
97
LOMEGA =.TRUE.
98
99
REPSEC = 1.0E-12_JPRB
100
REPSCR = 1.0E-12_JPRB
101
102
DO JK=1,KLEV
103
  CETA(JK)=PETA(JK)
104
ENDDO
105
106
!     -----------------------------------------------------------------
107
108
IF (LHOOK) CALL DR_HOOK('SUCLD',1,ZHOOK_HANDLE)
109
END SUBROUTINE SUCLD