Changeset 5141 for LMDZ6/branches/Amaury_dev/libf/phylmdiso
- Timestamp:
- Jul 29, 2024, 12:37:08 PM (3 months ago)
- Location:
- LMDZ6/branches/Amaury_dev/libf/phylmdiso
- Files:
-
- 1 deleted
- 9 edited
- 3 moved
Legend:
- Unmodified
- Added
- Removed
-
LMDZ6/branches/Amaury_dev/libf/phylmdiso/cv3_enthalpmix.F90
r5117 r5141 17 17 ! modified by : Filiberti M-A 06/2005 vectorisation * 18 18 ! ************************************************************** 19 USE lmdz_cvthermo 19 20 20 21 IMPLICIT NONE … … 29 30 ! =============================================================== 30 31 31 include "cvthermo.h"32 32 include "YOETHF.h" 33 33 include "YOMCST.h" -
LMDZ6/branches/Amaury_dev/libf/phylmdiso/cv3_estatmix.F90
r5117 r5141 18 18 ! modified by : Filiberti M-A 06/2005 vectorisation * 19 19 ! **************************************************************** 20 USE lmdz_cvthermo 20 21 21 22 IMPLICIT NONE … … 30 31 ! =============================================================== 31 32 32 include "cvthermo.h"33 33 include "YOETHF.h" 34 34 include "YOMCST.h" -
LMDZ6/branches/Amaury_dev/libf/phylmdiso/cv3_routines.F90
r5140 r5141 11 11 USE lmdz_conema3 12 12 USE lmdz_cvflag 13 USE lmdz_cv3param 13 14 14 15 IMPLICIT NONE … … 36 37 !*** APPROACH TO QUASI-EQUILIBRIUM *** 37 38 !*** IT MUST BE LESS THAN 0 *** 38 39 include "cv3param.h"40 39 41 40 INTEGER, INTENT(IN) :: nd … … 184 183 SUBROUTINE cv3_incrcount(len, nd, delt, sig) 185 184 USE lmdz_cvflag 185 USE lmdz_cv3param 186 186 187 187 IMPLICIT NONE … … 190 190 ! Increment the counter sig(nd) 191 191 ! ===================================================================== 192 193 include "cv3param.h"194 192 195 193 !inputs: … … 224 222 SUBROUTINE cv3_prelim(len, nd, ndp1, t, q, p, ph, & 225 223 lv, lf, cpn, tv, gz, h, hm, th) 224 USE lmdz_cvthermo 225 USE lmdz_cv3param 226 226 227 IMPLICIT NONE 227 228 … … 246 247 REAL tvx, tvy ! convect3 247 248 REAL cpx(len, nd) 248 249 include "cvthermo.h"250 include "cv3param.h"251 252 249 253 250 ! ori do 110 k=1,nlp … … 324 321 USE add_phys_tend_mod, ONLY: fl_cor_ebil 325 322 USE lmdz_print_control, ONLY: prt_level 323 USE lmdz_cvthermo 324 USE lmdz_cv3param 325 326 326 IMPLICIT NONE 327 327 … … 340 340 ! - A,B explicitely defined (!...) 341 341 ! ================================================================ 342 343 include "cv3param.h"344 include "cvthermo.h"345 342 346 343 !inputs: … … 699 696 #endif 700 697 #endif 698 USE lmdz_cvthermo 699 USE lmdz_cv3param 700 701 701 IMPLICIT NONE 702 702 … … 713 713 ! - if icbs=icb, compute also tp(icb+1),tvp(icb+1) & clw(icb+1) 714 714 ! ---------------------------------------------------------------- 715 716 include "cvthermo.h"717 include "cv3param.h"718 715 719 716 ! inputs: … … 1146 1143 SUBROUTINE cv3_trigger(len, nd, icb, plcl, p, th, tv, tvp, thnk, & 1147 1144 pbase, buoybase, iflag, sig, w0) 1145 USE lmdz_cv3param 1146 1148 1147 IMPLICIT NONE 1149 1148 … … 1162 1161 ! -> the buoyancy below cloud base not (yet) set to the cloud base buoyancy 1163 1162 ! ------------------------------------------------------------------- 1164 1165 include "cv3param.h"1166 1163 1167 1164 ! input: … … 1278 1275 #endif 1279 1276 #endif 1277 1278 USE lmdz_cv3param 1279 1280 1280 IMPLICIT NONE 1281 1282 include "cv3param.h"1283 1281 1284 1282 !inputs: … … 1487 1485 #endif 1488 1486 USE lmdz_cvflag 1487 USE lmdz_cvthermo 1488 USE lmdz_cv3param 1489 1489 1490 IMPLICIT NONE 1490 1491 … … 1507 1508 ! --------------------------------------------------------------------- 1508 1509 1509 include "cvthermo.h"1510 include "cv3param.h"1511 1510 include "YOMCST2.h" 1512 1511 … … 2509 2508 END SUBROUTINE cv3_undilute2 2510 2509 2511 SUBROUTINE cv3_closure(nloc, ncum, nd, icb, inb, & 2512 pbase, p, ph, tv, buoy, & 2510 SUBROUTINE cv3_closure(nloc, ncum, nd, icb, inb, pbase, p, ph, tv, buoy, & 2513 2511 sig, w0, cape, m, iflag) 2512 USE lmdz_cvthermo 2513 USE lmdz_cv3param 2514 2514 2515 IMPLICIT NONE 2515 2516 … … 2519 2520 ! vectorization: S. Bony 2520 2521 ! =================================================================== 2521 2522 include "cvthermo.h"2523 include "cv3param.h"2524 2522 2525 2523 !input: … … 2784 2782 #endif 2785 2783 USE lmdz_cvflag 2784 USE lmdz_cvthermo 2785 USE lmdz_cv3param 2786 2786 2787 IMPLICIT NONE 2787 2788 … … 2790 2791 ! - vectorisation de la partie normalisation des flux (do 789...) 2791 2792 ! --------------------------------------------------------------------- 2792 2793 include "cvthermo.h"2794 include "cv3param.h"2795 2793 2796 2794 !inputs: … … 3612 3610 #endif 3613 3611 USE lmdz_cvflag 3612 USE lmdz_cvthermo 3613 USE lmdz_cv3param 3614 3614 3615 IMPLICIT NONE 3615 3616 3617 include "cvthermo.h"3618 include "cv3param.h"3619 3616 3620 3617 !inputs: … … 4718 4715 #endif 4719 4716 USE lmdz_cvflag 4717 USE lmdz_cvthermo 4718 USE lmdz_cv3param 4719 4720 4720 IMPLICIT NONE 4721 4722 include "cvthermo.h"4723 include "cv3param.h"4724 4721 4725 4722 !inputs: … … 7274 7271 ep, Vprecip, elij, clw, epmlmMm, eplaMm, & 7275 7272 icb, inb) 7273 USE lmdz_cv3param 7274 7276 7275 IMPLICIT NONE 7277 7278 include "cv3param.h"7279 7276 7280 7277 !inputs: … … 7409 7406 #endif 7410 7407 #endif 7408 USE lmdz_cv3param 7409 7411 7410 IMPLICIT NONE 7412 7413 include "cv3param.h"7414 7411 7415 7412 !inputs: … … 7597 7594 USE lmdz_conema3 7598 7595 USE lmdz_cvflag 7596 USE lmdz_cvthermo 7597 USE lmdz_cv3param 7599 7598 7600 7599 IMPLICIT NONE … … 7605 7604 ! qui en depend 7606 7605 ! Toutes les autres variables fn de ep sont calculees plus bas. 7607 7608 include "cvthermo.h"7609 include "cv3param.h"7610 7606 7611 7607 ! inputs: -
LMDZ6/branches/Amaury_dev/libf/phylmdiso/cv3a_compress.F90
r5132 r5141 41 41 #endif 42 42 USE lmdz_abort_physic, ONLY: abort_physic 43 USE lmdz_cv3param 44 43 45 IMPLICIT NONE 44 45 include "cv3param.h"46 46 47 47 ! inputs: -
LMDZ6/branches/Amaury_dev/libf/phylmdiso/cv3a_uncompress.F90
r5117 r5141 56 56 USE infotrac_phy, ONLY: ntraciso=>ntiso 57 57 #endif 58 USE lmdz_cv3param 59 58 60 IMPLICIT NONE 59 60 include "cv3param.h"61 61 62 62 ! inputs: -
LMDZ6/branches/Amaury_dev/libf/phylmdiso/cv3p_mixing.F90
r5140 r5141 40 40 #endif 41 41 USE lmdz_cvflag 42 USE lmdz_cvthermo 43 USE lmdz_cv3param 44 42 45 IMPLICIT NONE 43 46 44 include "cvthermo.h"45 include "cv3param.h"46 47 include "YOMCST2.h" 47 48 -
LMDZ6/branches/Amaury_dev/libf/phylmdiso/cv_driver.F90
r5140 r5141 42 42 #endif 43 43 #endif 44 USE lmdz_cv30, ONLY: cv30_param, cv30_prelim, cv30_feed, cv30_undilute1, cv30_trigger, cv30_compress, cv30_undilute2, & 45 cv30_closure, cv30_epmax_fn_cape, cv30_mixing, cv30_unsat, cv30_yield, cv30_tracer, cv30_uncompress 46 44 47 IMPLICIT NONE 45 48 … … 1261 1264 ! ================================================================== 1262 1265 SUBROUTINE cv_thermo(iflag_con) 1266 USE lmdz_cvthermo 1267 1263 1268 IMPLICIT NONE 1264 1269 … … 1268 1273 1269 1274 include "YOMCST.h" 1270 include "cvthermo.h"1271 1275 1272 1276 INTEGER iflag_con -
LMDZ6/branches/Amaury_dev/libf/phylmdiso/cv_routines.F90
r5132 r5141 73 73 74 74 SUBROUTINE cv_prelim(len, nd, ndp1, t, q, p, ph, lv, cpn, tv, gz, h, hm) 75 USE lmdz_cvthermo 76 75 77 IMPLICIT NONE 76 78 … … 91 93 REAL cpx(len, nd) 92 94 93 include "cvthermo.h"94 95 include "cvparam.h" 95 96 … … 249 250 SUBROUTINE cv_undilute1(len, nd, t, q, qs, gz, p, nk, icb, icbmax, tp, tvp, & 250 251 clw) 252 USE lmdz_cvthermo 253 251 254 IMPLICIT NONE 252 255 253 include "cvthermo.h"254 256 include "cvparam.h" 255 257 … … 472 474 SUBROUTINE cv_undilute2(nloc, ncum, nd, icb, nk, tnk, qnk, gznk, t, q, qs, & 473 475 gz, p, dph, h, tv, lv, inb, inb1, tp, tvp, clw, hp, ep, sigp, frac) 476 USE lmdz_cvthermo 477 474 478 IMPLICIT NONE 475 479 … … 484 488 ! --------------------------------------------------------------------- 485 489 486 include "cvthermo.h"487 490 include "cvparam.h" 488 491 … … 752 755 SUBROUTINE cv_closure(nloc, ncum, nd, nk, icb, tv, tvp, p, ph, dph, plcl, & 753 756 cpn, iflag, cbmf) 757 USE lmdz_cvthermo 758 754 759 IMPLICIT NONE 755 760 … … 770 775 REAL work(nloc) 771 776 772 include "cvthermo.h"773 777 include "cvparam.h" 774 778 … … 834 838 h, lv, qnk, hp, tv, tvp, ep, clw, cbmf, m, ment, qent, uent, vent, nent, & 835 839 sij, elij) 840 USE lmdz_cvthermo 841 836 842 IMPLICIT NONE 837 843 838 include "cvthermo.h"839 844 include "cvparam.h" 840 845 … … 1083 1088 SUBROUTINE cv_unsat(nloc, ncum, nd, inb, t, q, qs, gz, u, v, p, ph, h, lv, & 1084 1089 ep, sigp, clw, m, ment, elij, iflag, mp, qp, up, vp, wt, water, evap) 1090 USE lmdz_cvthermo 1091 1085 1092 IMPLICIT NONE 1086 1093 1087 include "cvthermo.h"1088 1094 include "cvparam.h" 1089 1095 … … 1282 1288 ment, qent, uent, vent, nent, elij, tv, tvp, iflag, wd, qprime, tprime, & 1283 1289 precip, cbmf, ft, fq, fu, fv, ma, qcondc) 1290 USE lmdz_cvthermo 1291 1284 1292 IMPLICIT NONE 1285 1293 1286 include "cvthermo.h"1287 1294 include "cvparam.h" 1288 1295 -
LMDZ6/branches/Amaury_dev/libf/phylmdiso/lmdz_cv30.F90
r5140 r5141 1 ! $Id$ 2 3 MODULE lmdz_cv30 4 !------------------------------------------------------------ 5 ! Parameters for convectL, iflag_con=30: 6 ! (includes - microphysical parameters, 7 ! - parameters that control the rate of approach 8 ! to quasi-equilibrium) 9 ! - noff & minorig (previously in input of convect1) 10 !------------------------------------------------------------ 11 12 IMPLICIT NONE; PRIVATE 13 PUBLIC sigd, spfac, pbcrit, ptcrit, omtrain, dtovsh, dpbase, dttrig, dtcrit, & 14 tau, beta, alpha, delta, betad, noff, minorig, nl, nlp, nlm, & 15 cv30_param, cv30_prelim, cv30_feed, cv30_undilute1, cv30_trigger, & 16 cv30_compress, cv30_undilute2, cv30_closure, cv30_mixing, cv30_unsat, & 17 cv30_yield, cv30_tracer, cv30_uncompress, cv30_epmax_fn_cape 18 19 INTEGER noff, minorig, nl, nlp, nlm 20 REAL sigd, spfac 21 REAL pbcrit, ptcrit 22 REAL omtrain 23 REAL dtovsh, dpbase, dttrig 24 REAL dtcrit, tau, beta, alpha 25 REAL delta 26 REAL betad 27 28 !$OMP THREADPRIVATE(sigd, spfac, pbcrit, ptcrit, omtrain, dtovsh, dpbase, dttrig, dtcrit, & 29 !$OMP tau, beta, alpha, delta, betad, noff, minorig, nl, nlp, nlm) 30 CONTAINS 31 1 32 2 33 ! $Id$ … … 31 62 ! *** APPROACH TO QUASI-EQUILIBRIUM *** 32 63 ! *** IT MUST BE LESS THAN 0 *** 33 34 include "cv30param.h" 35 64 36 65 INTEGER nd 37 66 REAL delt ! timestep (seconds) … … 86 115 SUBROUTINE cv30_prelim(len, nd, ndp1, t, q, p, ph, lv, cpn, tv, gz, h, hm, & 87 116 th) 117 118 USE lmdz_cvthermo 88 119 IMPLICIT NONE 89 120 … … 108 139 REAL tvx, tvy ! convect3 109 140 REAL cpx(len, nd) 110 111 include "cvthermo.h"112 include "cv30param.h"113 141 114 142 … … 184 212 ! ================================================================ 185 213 186 include "cv30param.h"214 187 215 188 216 ! inputs: … … 389 417 #endif 390 418 #endif 419 USE lmdz_cvthermo 391 420 392 421 IMPLICIT NONE … … 405 434 ! ---------------------------------------------------------------- 406 435 407 include "cvthermo.h"408 include "cv30param.h"409 436 410 437 ! inputs: … … 851 878 ! ------------------------------------------------------------------- 852 879 853 include "cv30param.h"880 854 881 855 882 ! input: … … 961 988 IMPLICIT NONE 962 989 963 include "cv30param.h"990 964 991 965 992 ! inputs: … … 1154 1181 #endif 1155 1182 #endif 1183 USE lmdz_cvthermo 1156 1184 IMPLICIT NONE 1157 1185 … … 1173 1201 ! - no inb1, ONLY inb in output 1174 1202 ! --------------------------------------------------------------------- 1175 1176 include "cvthermo.h"1177 include "cv30param.h"1178 1203 1179 1204 ! inputs: … … 1618 1643 SUBROUTINE cv30_closure(nloc, ncum, nd, icb, inb, pbase, p, ph, tv, buoy, & 1619 1644 sig, w0, cape, m) 1645 USE lmdz_cvthermo 1646 1620 1647 IMPLICIT NONE 1621 1648 … … 1625 1652 ! vectorization: S. Bony 1626 1653 ! =================================================================== 1627 1628 include "cvthermo.h"1629 include "cv30param.h"1630 1654 1631 1655 ! input: … … 1854 1878 #endif 1855 1879 #endif 1880 USE lmdz_cvthermo 1881 1856 1882 IMPLICIT NONE 1857 1883 … … 1861 1887 ! - vectorisation de la partie normalisation des flux (do 789...) 1862 1888 ! --------------------------------------------------------------------- 1863 1864 include "cvthermo.h"1865 include "cv30param.h"1866 1889 1867 1890 ! inputs: … … 2670 2693 #endif 2671 2694 USE lmdz_cvflag 2695 USE lmdz_cvthermo 2672 2696 2673 2697 IMPLICIT NONE 2674 2675 2676 include "cvthermo.h"2677 include "cv30param.h"2678 2698 2679 2699 ! inputs: … … 3402 3422 #endif 3403 3423 USE lmdz_cvflag 3424 USE lmdz_cvthermo 3404 3425 3405 3426 IMPLICIT NONE 3406 3407 include "cvthermo.h"3408 include "cv30param.h"3409 3410 3427 ! inputs: 3411 3428 INTEGER ncum, nd, na, ntra, nloc … … 5972 5989 IMPLICIT NONE 5973 5990 5974 include "cv30param.h"5991 5975 5992 5976 5993 ! inputs: … … 6114 6131 IMPLICIT NONE 6115 6132 6116 include "cv30param.h"6133 6117 6134 6118 6135 ! inputs: … … 6338 6355 USE lmdz_abort_physic, ONLY: abort_physic 6339 6356 USE lmdz_conema3 6357 USE lmdz_cvthermo 6340 6358 6341 6359 IMPLICIT NONE … … 6345 6363 ! qui en depend 6346 6364 ! Toutes les autres variables fn de ep sont calculees plus bas. 6347 6348 include "cvthermo.h"6349 include "cv30param.h"6350 6365 6351 6366 ! inputs: … … 6421 6436 6422 6437 6438 6439 6440 6441 6442 END MODULE lmdz_cv30 6443 6444 -
LMDZ6/branches/Amaury_dev/libf/phylmdiso/lmdz_cv3param.f90
r5140 r5141 1 link ../phylmd/ cv3param.h1 link ../phylmd/lmdz_cv3param.f90 -
LMDZ6/branches/Amaury_dev/libf/phylmdiso/lmdz_cvthermo.f90
r5140 r5141 1 link ../phylmd/ cvthermo.h1 link ../phylmd/lmdz_cvthermo.f90 -
LMDZ6/branches/Amaury_dev/libf/phylmdiso/lmdz_wake.F90
r5117 r5141 41 41 #endif 42 42 #endif 43 USE lmdz_cvthermo 44 43 45 IMPLICIT NONE 44 46 ! ============================================================================ … … 136 138 137 139 include "YOMCST.h" 138 include "cvthermo.h"139 140 140 141 ! Arguments en entree
Note: See TracChangeset
for help on using the changeset viewer.