- Timestamp:
- Jul 22, 2024, 9:29:09 PM (4 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
LMDZ6/branches/Amaury_dev/libf/phylmd/phys_local_var_mod.F90
r5098 r5099 1 ! 1 2 2 ! $Id$ 3 ! 3 4 4 MODULE phys_local_var_mod 5 5 USE lmdz_cppkeys_wrapper, ONLY : CPPKEY_STRATAER 6 6 ! Variables locales pour effectuer les appels en serie 7 7 !====================================================================== 8 ! 9 ! 8 9 10 10 !====================================================================== 11 11 ! Declaration des variables … … 206 206 REAL, SAVE, ALLOCATABLE :: ZFSDN0(:, :), ZFSUP0(:, :) ! diag 207 207 !$OMP THREADPRIVATE(ZFSDN0,ZFSUP0) 208 ! 208 209 209 REAL, SAVE, ALLOCATABLE :: stratomask(:, :) 210 210 !$OMP THREADPRIVATE(stratomask) … … 389 389 REAL, ALLOCATABLE, SAVE, DIMENSION(:) :: s_lcl, s_pblh, s_pblt, s_therm 390 390 !$OMP THREADPRIVATE(s_lcl, s_pblh, s_pblt, s_therm) 391 ! 391 392 392 !nrlmd+jyg< 393 393 REAL, ALLOCATABLE, SAVE, DIMENSION(:) :: s_pblh_x, s_pblh_w … … 396 396 !$OMP THREADPRIVATE(s_lcl_x, s_lcl_w) 397 397 !>nrlmd+jyg 398 ! 398 399 399 REAL, ALLOCATABLE, SAVE, DIMENSION(:) :: slab_wfbils 400 400 !$OMP THREADPRIVATE(slab_wfbils) … … 426 426 !$OMP THREADPRIVATE(xtrain_lsc) 427 427 #endif 428 ! 428 429 429 !jyg+nrlmd< 430 430 !!!ccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc … … 476 476 !$OMP THREADPRIVATE(ratqsc) 477 477 !>jyg+nrlmd 478 ! 478 479 479 REAL, ALLOCATABLE, SAVE, DIMENSION(:) :: wbeff, convoccur, zmax_th, zq2m, zt2m 480 480 !$OMP THREADPRIVATE(wbeff, convoccur, zmax_th, zq2m, zt2m) … … 503 503 REAL, ALLOCATABLE, SAVE, DIMENSION(:) :: epmax_diag ! epmax_cape 504 504 !$OMP THREADPRIVATE(epmax_diag) 505 ! 505 506 506 ! Deep convective variables used in phytrac 507 507 REAL, ALLOCATABLE, SAVE, DIMENSION(:, :) :: ep ! epmax_cape … … 577 577 #endif 578 578 #endif 579 ! 579 580 580 ! REAL,ALLOCATABLE,SAVE,DIMENSION(:,:) :: coefh, coefm, lambda_th 581 581 REAL, ALLOCATABLE, SAVE, DIMENSION(:, :) :: lambda_th … … 713 713 !$OMP THREADPRIVATE(dqsfreez) 714 714 715 716 717 718 719 !720 715 ! variables for stratospheric aerosol 721 716 REAL, ALLOCATABLE, SAVE, DIMENSION(:, :) :: d_q_emiss … … 773 768 REAL, ALLOCATABLE, SAVE, DIMENSION(:, :, :) :: nd_mode 774 769 !$OMP THREADPRIVATE(nd_mode) 775 ! 770 776 771 !---3D budget variables 777 772 REAL, ALLOCATABLE, SAVE, DIMENSION(:, :) :: budg_3D_nucl … … 787 782 REAL, ALLOCATABLE, SAVE, DIMENSION(:, :) :: budg_3D_backgr_so2 788 783 !$OMP THREADPRIVATE(budg_3D_backgr_so2) 789 ! 784 790 785 !---2D budget variables 791 786 REAL, ALLOCATABLE, SAVE, DIMENSION(:) :: budg_dep_dry_ocs … … 920 915 ZFLDN0 = 0. 921 916 ALLOCATE(ZFLUP0(klon, klev + 1), ZFSDN0(klon, klev + 1), ZFSUP0(klon, klev + 1)) 922 ! 917 923 918 ALLOCATE(topswad_aero(klon), solswad_aero(klon)) 924 919 ALLOCATE(topswai_aero(klon), solswai_aero(klon)) … … 1040 1035 ALLOCATE(s_lcl(klon)) 1041 1036 ALLOCATE(s_pblh(klon), s_pblt(klon), s_therm(klon)) 1042 ! 1037 1043 1038 !nrlmd+jyg< 1044 1039 ALLOCATE(s_pblh_x(klon), s_pblh_w(klon)) 1045 1040 ALLOCATE(s_lcl_x(klon), s_lcl_w(klon)) 1046 1041 !>nrlmd+jyg 1047 ! 1042 1048 1043 ALLOCATE(slab_wfbils(klon), tpot(klon), tpote(klon), ue(klon)) 1049 1044 ALLOCATE(uq(klon), ve(klon), vq(klon), zxffonte(klon)) … … 1057 1052 ALLOCATE(rain_num(klon)) 1058 1053 ALLOCATE(qlth(klon, klev), qith(klon, klev), qsith(klon, klev), wiceth(klon, klev)) 1059 ! 1054 1060 1055 #ifdef ISO 1061 1056 ALLOCATE(xtevap(ntraciso,klon)) … … 1070 1065 runoff_diag(:)=0. ; xtrunoff_diag(:,:)=0. ! because variables are only given values on knon grid points 1071 1066 #endif 1072 ! 1067 1073 1068 ALLOCATE(sens_x(klon), sens_w(klon)) 1074 1069 ALLOCATE(zxfluxlat_x(klon), zxfluxlat_w(klon)) … … 1093 1088 ALLOCATE(xt_therm(ntraciso,klon,klev)) 1094 1089 #endif 1095 ! 1090 1096 1091 ALLOCATE(ptconv(klon, klev)) 1097 1092 ALLOCATE(ratqsc(klon, klev)) 1098 ! 1093 1099 1094 ALLOCATE(wbeff(klon), convoccur(klon), zmax_th(klon)) 1100 1095 ALLOCATE(zq2m(klon), zt2m(klon), weak_inversion(klon)) … … 1131 1126 ! FC 1132 1127 ALLOCATE(zxfluxq(klon, klev), zxfluxt(klon, klev)) 1133 ! 1128 1134 1129 ! Deep convective variables used in phytrac 1135 1130 ALLOCATE(pmflxr(klon, klev + 1), pmflxs(klon, klev + 1)) … … 1436 1431 DEALLOCATE(tal1, pal1, pab1, pab2) 1437 1432 DEALLOCATE(ptstar, pt0, slp) 1438 ! 1433 1439 1434 DEALLOCATE(alp_wake) 1440 1435 DEALLOCATE(wake_h, wake_k) … … 1454 1449 DEALLOCATE(d_deltaxt_vdf) 1455 1450 #endif 1456 ! 1451 1457 1452 DEALLOCATE(bils) 1458 1453 DEALLOCATE(cdragm, cdragh, cldh, cldl) … … 1462 1457 DEALLOCATE(prw, prlw, prsw, prbsw, water_budget, zustar, zu10m, zv10m, rh2m, s_lcl) 1463 1458 DEALLOCATE(s_pblh, s_pblt, s_therm) 1464 ! 1459 1465 1460 !nrlmd+jyg< 1466 1461 DEALLOCATE(s_pblh_x, s_pblh_w) 1467 1462 DEALLOCATE(s_lcl_x, s_lcl_w) 1468 1463 !>nrlmd+jyg 1469 ! 1464 1470 1465 DEALLOCATE(slab_wfbils, tpot, tpote, ue) 1471 1466 DEALLOCATE(uq, ve, vq, zxffonte) … … 1478 1473 DEALLOCATE(rain_num) 1479 1474 DEALLOCATE(qlth, qith, qsith, wiceth) 1480 ! 1475 1481 1476 DEALLOCATE(sens_x, sens_w) 1482 1477 DEALLOCATE(zxfluxlat_x, zxfluxlat_w) … … 1503 1498 DEALLOCATE(h1_diag,runoff_diag,xtrunoff_diag) 1504 1499 #endif 1505 ! 1500 1506 1501 DEALLOCATE(ptconv) 1507 1502 DEALLOCATE(ratqsc) 1508 ! 1503 1509 1504 DEALLOCATE(wbeff, convoccur, zmax_th) 1510 1505 DEALLOCATE(zq2m, zt2m, weak_inversion)
Note: See TracChangeset
for help on using the changeset viewer.