Changeset 5141 for LMDZ6/branches/Amaury_dev/libf/phylmdiso/lmdz_cv30.F90
- Timestamp:
- Jul 29, 2024, 12:37:08 PM (8 weeks ago)
- File:
-
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
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
Note: See TracChangeset
for help on using the changeset viewer.