- Timestamp:
- Aug 2, 2024, 2:12:03 PM (3 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
LMDZ6/branches/Amaury_dev/libf/phylmd/dyn1d/lmdz_1dutils.f90
r5153 r5158 4 4 disvert0, advect_vert, advect_va, lstendh, nudge_rht_init, nudge_uv_init, & 5 5 nudge_rht, nudge_uv, interp2_case_vertical 6 6 7 CONTAINS 7 8 REAL FUNCTION fq_sat(kelvin, millibar) … … 67 68 USE lmdz_fcs_gcssold, ONLY: imp_fcg_gcssold, ts_fcg_gcssold, Tp_fcg_gcssold, Tp_ini_gcssold, xTurb_fcg_gcssold 68 69 USE lmdz_tsoilnudge, ONLY: nudge_tsoil, isoil_nudge, Tsoil_nudge, tau_soil_nudge 70 USE lmdz_compar1d 71 72 IMPLICIT NONE 69 73 !----------------------------------------------------------------------- 70 74 ! Auteurs : A. Lahellec . 71 72 ! Declarations :73 ! --------------74 75 include "compar1d.h"76 include "fcg_racmo.h"77 78 79 ! local:80 ! ------81 82 ! CHARACTER ch1*72,ch2*72,ch3*72,ch4*1283 75 84 76 ! ------------------------------------------------------------------- … … 1148 1140 !--------------------------------------------------------------- 1149 1141 1150 dol = 1, llm1142 DO l = 1, llm 1151 1143 zw(l) = dt * w(l) 1152 1144 zm(l) = plev(l) - plev(l + 1) … … 1156 1148 zw(llm + 1) = 0. 1157 1149 1158 dol = 1, llm1150 DO l = 1, llm 1159 1151 qold = q(l) 1160 1152 q(l) = (q(l) * zm(l) + zwq(l + 1) - zwq(l)) / (zm(l) + zw(l + 1) - zw(l)) … … 1186 1178 REAL alpha, omgdown, omgup 1187 1179 1188 dol = 1, llm1180 DO l = 1, llm 1189 1181 IF(l==1) THEN 1190 1182 !si omgup pour la couche 1, alors tendance nulle … … 1271 1263 cor(:) = rkappa * temp * (1. + q(:, 1) * rv / rd) / (play * (1. + q(:, 1))) 1272 1264 1273 dok = 2, llm - 11265 DO k = 2, llm - 1 1274 1266 1275 1267 dph (k - 1) = (play(k) - play(k - 1)) … … 1286 1278 dtdp (llm) = dtdp (llm - 1) 1287 1279 1288 dok = 2, llm - 11280 DO k = 2, llm - 1 1289 1281 omdn = max(0.0, omega(k + 1)) 1290 1282 omup = min(0.0, omega(k)) … … 1325 1317 1326 1318 IMPLICIT NONE 1327 INCLUDE "FCTTRE.h"1319 INCLUDE "FCTTRE.h" 1328 1320 1329 1321 ! ======================================================== … … 1399 1391 1400 1392 IMPLICIT NONE 1401 INCLUDE "FCTTRE.h"1393 INCLUDE "FCTTRE.h" 1402 1394 1403 1395 ! ======================================================== … … 1593 1585 ! enddo 1594 1586 1595 dol = 1, llm1587 DO l = 1, llm 1596 1588 1597 1589 IF (play(l)>=plev_prof_cas(nlev_cas)) THEN … … 1602 1594 1603 1595 IF (play(l)<=plev_prof_cas(1)) THEN 1604 dok = 1, nlev_cas - 11596 DO k = 1, nlev_cas - 1 1605 1597 IF (play(l)<=plev_prof_cas(k).AND. play(l)>plev_prof_cas(k + 1)) THEN 1606 1598 k1 = k … … 1612 1604 WRITE(*, *) 'PB! k1, k2 = ', k1, k2 1613 1605 WRITE(*, *) 'l,play(l) = ', l, play(l) / 100 1614 dok = 1, nlev_cas - 11606 DO k = 1, nlev_cas - 1 1615 1607 WRITE(*, *) 'k,plev_prof_cas(k) = ', k, plev_prof_cas(k) / 100 1616 1608 enddo
Note: See TracChangeset
for help on using the changeset viewer.