Changeset 704 for LMDZ4/branches/V3_test/libf/phylmd/conflx.F
- Timestamp:
- Aug 17, 2006, 5:41:51 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
LMDZ4/branches/V3_test/libf/phylmd/conflx.F
r703 r704 8 8 s kcbot, kctop, kdtop, pmflxr, pmflxs) 9 9 c 10 USE dimphy 10 11 IMPLICIT none 11 12 c====================================================================== … … 17 18 c et lessivage des traceurs passifs. 18 19 c====================================================================== 19 #include "dimensions.h"20 #include "dimphy.h"20 cym#include "dimensions.h" 21 cym#include "dimphy.h" 21 22 #include "YOMCST.h" 22 23 #include "YOETHF.h" … … 214 215 . pmfu, pmfd, pen_u, pde_u, pen_d, pde_d, 215 216 . dt_con, dq_con, pmflxr, pmflxs) 217 USE dimphy 216 218 IMPLICIT none 217 219 C ------------------------------------------------------------------ 218 #include "dimensions.h"219 #include "dimphy.h"220 cym#include "dimensions.h" 221 cym#include "dimphy.h" 220 222 #include "YOMCST.h" 221 223 #include "YOETHF.h" … … 265 267 SAVE firstcal 266 268 DATA firstcal / .TRUE. / 269 c$OMP THREADPRIVATE(firstcal) 267 270 C--------------------------------------------------------------------- 268 271 IF (firstcal) THEN … … 504 507 . pdmfdp, pmfu, pmfus, pmfuq, pdmfup, pdpmel, plu, plude, 505 508 . klab,pen_u, pde_u, pen_d, pde_d) 509 USE dimphy 506 510 IMPLICIT none 507 511 C---------------------------------------------------------------------- … … 510 514 C AND INITIALIZES VALUES FOR UPDRAFTS 511 515 C---------------------------------------------------------------------- 512 #include "dimensions.h"513 #include "dimphy.h"516 cym#include "dimensions.h" 517 cym#include "dimphy.h" 514 518 #include "YOMCST.h" 515 519 #include "YOETHF.h" … … 629 633 SUBROUTINE flxbase(ptenh, pqenh, pgeoh, paph, 630 634 * ptu, pqu, plu, ldcum, kcbot, klab) 635 USE dimphy 631 636 IMPLICIT none 632 637 C---------------------------------------------------------------------- … … 641 646 C (NON ENTRAINING PLUME,I.E.CONSTANT MASSFLUX) 642 647 C---------------------------------------------------------------------- 643 #include "dimensions.h"644 #include "dimphy.h"648 cym#include "dimensions.h" 649 cym#include "dimphy.h" 645 650 #include "YOMCST.h" 646 651 #include "YOETHF.h" … … 714 719 . pmful, plude, pdmfup, kcbot, kctop, kctop0, kcum, 715 720 . pen_u, pde_u) 721 USE dimphy 716 722 IMPLICIT none 717 723 C---------------------------------------------------------------------- … … 719 725 C FOR CUMULUS PARAMETERIZATION 720 726 C---------------------------------------------------------------------- 721 #include "dimensions.h"722 #include "dimphy.h"727 cym#include "dimensions.h" 728 cym#include "dimphy.h" 723 729 #include "YOMCST.h" 724 730 #include "YOETHF.h" … … 1018 1024 . , pten, prfl, psfl, pdpmel, ktopm2 1019 1025 . , pmflxr, pmflxs) 1026 USE dimphy 1020 1027 IMPLICIT none 1021 1028 C---------------------------------------------------------------------- … … 1023 1030 C FLUXES IN THE CLOUD LAYER AND IN THE SUBCLOUD LAYER 1024 1031 C---------------------------------------------------------------------- 1025 #include "dimensions.h"1026 #include "dimphy.h"1032 cym#include "dimensions.h" 1033 cym#include "dimphy.h" 1027 1034 #include "YOMCST.h" 1028 1035 #include "YOETHF.h" 1029 1036 #include "YOECUMF.h" 1030 1037 C 1031 REAL cevapcu(kl ev)1038 REAL cevapcu(klon,klev) 1032 1039 C ----------------------------------------------------------------- 1033 1040 REAL pqen(klon,klev), pqenh(klon,klev), pqsen(klon,klev) … … 1064 1071 c 1065 1072 DO 101 k=1,klev 1066 CEVAPCU(k)=1.93E-6*261.*SQRT(1.E3/(38.3*0.293) 1067 1 *SQRT(0.5*(paph(1,k)+paph(1,k+1))/paph(1,klev+1)) ) * 0.5/RG 1073 DO i=1,klon 1074 CEVAPCU(i,k)=1.93E-6*261.*SQRT(1.E3/(38.3*0.293) 1075 1 *SQRT(0.5*(paph(i,k)+paph(i,k+1))/paph(i,klev+1)) ) * 0.5/RG 1076 ENDDO 1068 1077 101 CONTINUE 1069 1078 c … … 1213 1222 IF (zrfl.GT.1.0E-20) THEN 1214 1223 zrnew=(MAX(0.,SQRT(zrfl/zcucov)- 1215 . CEVAPCU( k)*(paph(i,k+1)-paph(i,k))*1224 . CEVAPCU(i,k)*(paph(i,k+1)-paph(i,k))* 1216 1225 . MAX(0.,pqsen(i,k)-pqen(i,k))))**2*zcucov 1217 1226 zrmin=zrfl-zcucov*MAX(0.,0.8*pqsen(i,k)-pqen(i,k)) … … 1262 1271 . , pmfus, pmfds, pmfuq, pmfdq, pmful, pdmfup, pdmfdp 1263 1272 . , pdpmel, dt_con, dq_con) 1273 USE dimphy 1264 1274 IMPLICIT none 1265 1275 c---------------------------------------------------------------------- 1266 1276 c calculer les tendances T et Q 1267 1277 c---------------------------------------------------------------------- 1268 #include "dimensions.h"1269 #include "dimphy.h"1278 cym#include "dimensions.h" 1279 cym#include "dimphy.h" 1270 1280 #include "YOMCST.h" 1271 1281 #include "YOETHF.h" … … 1333 1343 . ldcum, kcbot, kctop, pmfub, prfl, ptd, pqd, 1334 1344 . pmfd, pmfds, pmfdq, pdmfdp, kdtop, lddraf) 1345 USE dimphy 1335 1346 IMPLICIT none 1336 1347 C … … 1350 1361 C MOIST ENVIRONMENTAL AIR AND CLOUD AIR. 1351 1362 C---------------------------------------------------------------------- 1352 #include "dimensions.h"1353 #include "dimphy.h"1363 cym#include "dimensions.h" 1364 cym#include "dimphy.h" 1354 1365 #include "YOMCST.h" 1355 1366 #include "YOETHF.h" … … 1444 1455 . ptd, pqd, pmfd, pmfds, pmfdq, pdmfdp, 1445 1456 . lddraf, pen_d, pde_d) 1457 USE dimphy 1446 1458 IMPLICIT none 1447 1459 C … … 1461 1473 C 1462 1474 C---------------------------------------------------------------------- 1463 #include "dimensions.h"1464 #include "dimphy.h"1475 cym#include "dimensions.h" 1476 cym#include "dimphy.h" 1465 1477 #include "YOMCST.h" 1466 1478 #include "YOETHF.h" … … 1559 1571 END 1560 1572 SUBROUTINE flxadjtq(pp, pt, pq, ldflag, kcall) 1573 USE dimphy 1561 1574 IMPLICIT none 1562 1575 c====================================================================== … … 1568 1581 C kcall=2 EVAPORATION IN DOWNDRAFTS (E.G. CUDLFS,CUDDRAF) 1569 1582 C 1570 #include "dimensions.h"1571 #include "dimphy.h"1583 cym#include "dimensions.h" 1584 cym#include "dimphy.h" 1572 1585 #include "YOMCST.h" 1573 1586 C
Note: See TracChangeset
for help on using the changeset viewer.