Changeset 2761 for LMDZ5/trunk/libf/phylmd/calwake.F90
- Timestamp:
- Jan 11, 2017, 12:39:50 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
LMDZ5/trunk/libf/phylmd/calwake.F90
r2671 r2761 26 26 27 27 USE dimphy 28 USE phys_state_var_mod, ONLY: pctsrf 29 USE indice_sol_mod, ONLY: is_oce 30 USE print_control_mod, ONLY: mydebug=>debug , lunout, prt_level 28 31 IMPLICIT NONE 29 32 ! ====================================================================== … … 51 54 ! ------ 52 55 REAL, DIMENSION(klon, klev), INTENT (OUT) :: dt_wake, dq_wake 53 INTEGER, DIMENSION(klon),INTENT (OUT) :: wake_k56 REAL, DIMENSION(klon), INTENT (OUT) :: wake_k 54 57 REAL, DIMENSION(klon, klev), INTENT (OUT) :: wake_d_deltat_gw 55 58 REAL, DIMENSION(klon), INTENT (OUT) :: wake_h … … 69 72 ! ----------------- 70 73 INTEGER :: i, l 74 INTEGER, DIMENSION(klon) :: znatsurf ! 0 if pctsrf(is_oce)>0.1; 1 else. 71 75 REAL :: aire 72 76 REAL, DIMENSION(klon, klev) :: p, pi … … 97 101 98 102 99 ! print *, '-> calwake, wake_s ', wake_s(1) 103 IF (prt_level >= 10) THEN 104 print *, '-> calwake, wake_s input ', wake_s(1) 105 ENDIF 100 106 101 107 rdcp = 1./3.5 108 109 znatsurf(:) = 0 110 DO i = 1,klon 111 IF (pctsrf(i,is_oce) < 0.1) znatsurf(i) = 1 112 ENDDO 102 113 103 114 … … 124 135 END DO 125 136 137 !---------------------------------------------------------------- 138 ! Initialize tendencies to zero 139 !---------------------------------------------------------------- 140 dtls(:,:) = 0. 141 dqls(:,:) = 0. 142 d_deltat_gw(:,:) = 0. 143 d_deltatw(:,:) = 0. 144 d_deltaqw(:,:) = 0. 145 d_sigmaw(:) = 0. 146 d_wdens(:) = 0. 147 ! 148 126 149 DO i = 1, klon 127 150 sigd0(i) = sigd(i) … … 132 155 END DO 133 156 134 DO i = 1, klon 135 ktopw(i) = wake_k(i) 136 END DO 157 !!jyg! DO i = 1, klon 158 !!jyg! ktopw(i) = NINT(wake_k(i)) 159 !!jyg! END DO 137 160 138 161 DO i = 1, klon … … 178 201 END DO 179 202 180 CALL wake( p, ph, pi, dtime, &203 CALL wake(znatsurf, p, ph, pi, dtime, & 181 204 te, qe, omgbe, & 182 205 dtdwn, dqdwn, amdwn, amup, dta, dqa, & … … 254 277 END IF 255 278 END DO 279 ! 256 280 257 281 !jyg<
Note: See TracChangeset
for help on using the changeset viewer.