Changeset 5276
- Timestamp:
- Oct 25, 2024, 5:59:01 PM (4 weeks ago)
- Location:
- LMDZ6/trunk/libf
- Files:
-
- 19 edited
- 2 moved
Legend:
- Unmodified
- Added
- Removed
-
LMDZ6/trunk/libf/phylmd/cv30_routines.f90
r5275 r5276 5 5 6 6 SUBROUTINE cv30_param(nd, delt) 7 USE cvthermo_mod_h, ONLY: cpd, cpv, cl, ci, rrv, rrd, lv0, lf0, g, rowl, t0, clmcpv, clmcpd, cpdmcp, cpvmcpd, cpvmcl & 8 , clmci, eps, epsi, epsim1, ginv, hrd, grav 7 9 IMPLICIT NONE 8 10 … … 85 87 SUBROUTINE cv30_prelim(len, nd, ndp1, t, q, p, ph, lv, cpn, tv, gz, h, hm, & 86 88 th) 89 USE cvthermo_mod_h, ONLY: cpd, cpv, cl, ci, rrv, rrd, lv0, lf0, g, rowl, t0, clmcpv, clmcpd, cpdmcp, cpvmcpd, cpvmcl & 90 , clmci, eps, epsi, epsim1, ginv, hrd, grav 87 91 IMPLICIT NONE 88 92 … … 108 112 REAL cpx(len, nd) 109 113 110 include "cvthermo.h"111 114 include "cv30param.h" 112 115 … … 343 346 SUBROUTINE cv30_undilute1(len, nd, t, q, qs, gz, plcl, p, nk, icb, tp, tvp, & 344 347 clw, icbs) 348 USE cvthermo_mod_h, ONLY: cpd, cpv, cl, ci, rrv, rrd, lv0, lf0, g, rowl, t0, clmcpv, clmcpd, cpdmcp, cpvmcpd, cpvmcl & 349 , clmci, eps, epsi, epsim1, ginv, hrd, grav 345 350 IMPLICIT NONE 346 351 … … 357 362 ! - if icbs=icb, compute also tp(icb+1),tvp(icb+1) & clw(icb+1) 358 363 ! ---------------------------------------------------------------- 359 360 include "cvthermo.h"361 364 include "cv30param.h" 362 365 … … 839 842 ep, sigp, buoy) 840 843 ! epmax_cape: ajout arguments 844 USE cvthermo_mod_h, ONLY: cpd, cpv, cl, ci, rrv, rrd, lv0, lf0, g, rowl, t0, clmcpv, clmcpd, cpdmcp, cpvmcpd, cpvmcl & 845 , clmci, eps, epsi, epsim1, ginv, hrd, grav 841 846 IMPLICIT NONE 842 847 … … 859 864 ! --------------------------------------------------------------------- 860 865 861 include "cvthermo.h"862 866 include "cv30param.h" 863 867 include "conema3.h" … … 1212 1216 SUBROUTINE cv30_closure(nloc, ncum, nd, icb, inb, pbase, p, ph, tv, buoy, & 1213 1217 sig, w0, cape, m) 1218 USE cvthermo_mod_h, ONLY: cpd, cpv, cl, ci, rrv, rrd, lv0, lf0, g, rowl, t0, clmcpv, clmcpd, cpdmcp, cpvmcpd, cpvmcl & 1219 , clmci, eps, epsi, epsim1, ginv, hrd, grav 1214 1220 IMPLICIT NONE 1215 1221 … … 1220 1226 ! =================================================================== 1221 1227 1222 include "cvthermo.h"1223 1228 include "cv30param.h" 1224 1229 … … 1418 1423 u, v, tra, h, lv, qnk, hp, tv, tvp, ep, clw, m, sig, ment, qent, uent, & 1419 1424 vent, sij, elij, ments, qents, traent) 1425 USE cvthermo_mod_h, ONLY: cpd, cpv, cl, ci, rrv, rrd, lv0, lf0, g, rowl, t0, clmcpv, clmcpd, cpdmcp, cpvmcpd, cpvmcl & 1426 , clmci, eps, epsi, epsim1, ginv, hrd, grav 1420 1427 IMPLICIT NONE 1421 1428 … … 1426 1433 ! --------------------------------------------------------------------- 1427 1434 1428 include "cvthermo.h"1429 1435 include "cv30param.h" 1430 1436 … … 1816 1822 mp, rp, up, vp, trap, wt, water, evap, b & ! RomP-jyg 1817 1823 , wdtraina, wdtrainm) ! 26/08/10 RomP-jyg 1824 USE cvthermo_mod_h, ONLY: cpd, cpv, cl, ci, rrv, rrd, lv0, lf0, g, rowl, t0, clmcpv, clmcpd, cpdmcp, cpvmcpd, cpvmcl & 1825 , clmci, eps, epsi, epsim1, ginv, hrd, grav 1818 1826 USE cvflag_mod_h, ONLY: icvflag_Tpa, cvflag_grav, cvflag_ice, ok_optim_yield, ok_entrain, ok_homo_tend, & 1819 1827 ok_convstop, ok_intermittent, cvflag_prec_eject, qsat_depends_on_qt, adiab_ascent_mass_flux_depends_on_ejectliq, keepbug_ice_frac 1820 1828 IMPLICIT NONE 1821 include "cvthermo.h"1822 1829 include "cv30param.h" 1823 1830 … … 2183 2190 USE cvflag_mod_h, ONLY: icvflag_Tpa, cvflag_grav, cvflag_ice, ok_optim_yield, ok_entrain, ok_homo_tend, & 2184 2191 ok_convstop, ok_intermittent, cvflag_prec_eject, qsat_depends_on_qt, adiab_ascent_mass_flux_depends_on_ejectliq, keepbug_ice_frac 2192 USE cvthermo_mod_h, ONLY: cpd, cpv, cl, ci, rrv, rrd, lv0, lf0, g, rowl, t0, clmcpv, clmcpd, cpdmcp, cpvmcpd, cpvmcl & 2193 , clmci, eps, epsi, epsim1, ginv, hrd, grav 2185 2194 IMPLICIT NONE 2186 2195 2187 include "cvthermo.h"2188 2196 include "cv30param.h" 2189 2197 include "conema3.h" … … 3274 3282 ,cape,ep,hp,icb,inb,clw,nk,t,h,lv & 3275 3283 ,epmax_diag) 3284 USE cvthermo_mod_h, ONLY: cpd, cpv, cl, ci, rrv, rrd, lv0, lf0, g, rowl, t0, clmcpv, clmcpd, cpdmcp, cpvmcpd, cpvmcl & 3285 , clmci, eps, epsi, epsim1, ginv, hrd, grav 3276 3286 implicit none 3277 3287 … … 3281 3291 ! Toutes les autres variables fn de ep sont calcul�es plus bas. 3282 3292 3283 INCLUDE "cvthermo.h"3284 3293 INCLUDE "cv30param.h" 3285 3294 INCLUDE "conema3.h" -
LMDZ6/trunk/libf/phylmd/cv3_buoy.f90
r5268 r5276 10 10 ! ************************************************************** 11 11 12 USE cvthermo_mod_h, ONLY: cpd, cpv, cl, ci, rrv, rrd, lv0, lf0, g, rowl, t0, clmcpv, clmcpd, cpdmcp, cpvmcpd, cpvmcl & 13 , clmci, eps, epsi, epsim1, ginv, hrd, grav 12 14 IMPLICIT NONE 13 15 14 include "cvthermo.h"15 16 include "cv3param.h" 16 17 include "YOMCST2.h" -
LMDZ6/trunk/libf/phylmd/cv3_cine.f90
r5274 r5276 15 15 ! ************************************************************** 16 16 17 USE cvthermo_mod_h, ONLY: cpd, cpv, cl, ci, rrv, rrd, lv0, lf0, g, rowl, t0, clmcpv, clmcpd, cpdmcp, cpvmcpd, cpvmcl & 18 , clmci, eps, epsi, epsim1, ginv, hrd, grav 17 19 USE yomcst_mod_h, ONLY: RPI, RCLUM, RHPLA, RKBOL, RNAVO & 18 20 , RDAY, REA, REPSM, RSIYEA, RSIDAY, ROMEGA & … … 30 32 31 33 32 include "cvthermo.h"33 34 include "cv3param.h" 34 35 ! input: -
LMDZ6/trunk/libf/phylmd/cv3_enthalpmix.f90
r5274 r5276 11 11 ! ************************************************************** 12 12 13 USE cvthermo_mod_h, ONLY: cpd, cpv, cl, ci, rrv, rrd, lv0, lf0, g, rowl, t0, clmcpv, clmcpd, cpdmcp, cpvmcpd, cpvmcl & 14 , clmci, eps, epsi, epsim1, ginv, hrd, grav 13 15 USE yomcst_mod_h, ONLY: RPI, RCLUM, RHPLA, RKBOL, RNAVO & 14 16 , RDAY, REA, REPSM, RSIYEA, RSIDAY, ROMEGA & … … 34 36 ! =============================================================== 35 37 36 include "cvthermo.h"37 38 include "YOETHF.h" 38 39 -
LMDZ6/trunk/libf/phylmd/cv3_estatmix.f90
r5274 r5276 12 12 ! **************************************************************** 13 13 14 USE cvthermo_mod_h, ONLY: cpd, cpv, cl, ci, rrv, rrd, lv0, lf0, g, rowl, t0, clmcpv, clmcpd, cpdmcp, cpvmcpd, cpvmcl & 15 , clmci, eps, epsi, epsim1, ginv, hrd, grav 14 16 USE yomcst_mod_h, ONLY: RPI, RCLUM, RHPLA, RKBOL, RNAVO & 15 17 , RDAY, REA, REPSM, RSIYEA, RSIDAY, ROMEGA & … … 35 37 ! =============================================================== 36 38 37 include "cvthermo.h"38 39 include "YOETHF.h" 39 40 -
LMDZ6/trunk/libf/phylmd/cv3_routines.f90
r5275 r5276 184 184 SUBROUTINE cv3_incrcount(len, nd, delt, sig) 185 185 186 USE cvflag_mod_h, ONLY: icvflag_Tpa, cvflag_grav, cvflag_ice, ok_optim_yield, ok_entrain, ok_homo_tend, & 186 USE cvthermo_mod_h, ONLY: cpd, cpv, cl, ci, rrv, rrd, lv0, lf0, g, rowl, t0, clmcpv, clmcpd, cpdmcp, cpvmcpd, cpvmcl & 187 , clmci, eps, epsi, epsim1, ginv, hrd, grav 188 USE cvflag_mod_h, ONLY: icvflag_Tpa, cvflag_grav, cvflag_ice, ok_optim_yield, ok_entrain, ok_homo_tend, & 187 189 ok_convstop, ok_intermittent, cvflag_prec_eject, qsat_depends_on_qt, adiab_ascent_mass_flux_depends_on_ejectliq, keepbug_ice_frac 188 190 IMPLICIT NONE … … 225 227 SUBROUTINE cv3_prelim(len, nd, ndp1, t, q, p, ph, & 226 228 lv, lf, cpn, tv, gz, h, hm, th) 229 USE cvthermo_mod_h, ONLY: cpd, cpv, cl, ci, rrv, rrd, lv0, lf0, g, rowl, t0, clmcpv, clmcpd, cpdmcp, cpvmcpd, cpvmcl & 230 , clmci, eps, epsi, epsim1, ginv, hrd, grav 227 231 IMPLICIT NONE 228 232 … … 248 252 REAL cpx(len, nd) 249 253 250 include "cvthermo.h"251 254 include "cv3param.h" 252 255 … … 314 317 USE add_phys_tend_mod, ONLY: fl_cor_ebil 315 318 USE print_control_mod, ONLY: prt_level 319 USE cvthermo_mod_h, ONLY: cpd, cpv, cl, ci, rrv, rrd, lv0, lf0, g, rowl, t0, clmcpv, clmcpd, cpdmcp, cpvmcpd, cpvmcl & 320 , clmci, eps, epsi, epsim1, ginv, hrd, grav 316 321 IMPLICIT NONE 317 322 … … 332 337 333 338 include "cv3param.h" 334 include "cvthermo.h"335 339 336 340 !inputs: … … 605 609 SUBROUTINE cv3_undilute1(len, nd, t, qs, gz, plcl, p, icb, tnk, qnk, gznk, & 606 610 tp, tvp, clw, icbs) 611 USE cvthermo_mod_h, ONLY: cpd, cpv, cl, ci, rrv, rrd, lv0, lf0, g, rowl, t0, clmcpv, clmcpd, cpdmcp, cpvmcpd, cpvmcl & 612 , clmci, eps, epsi, epsim1, ginv, hrd, grav 607 613 USE cvflag_mod_h, ONLY: icvflag_Tpa, cvflag_grav, cvflag_ice, ok_optim_yield, ok_entrain, ok_homo_tend, & 608 614 ok_convstop, ok_intermittent, cvflag_prec_eject, qsat_depends_on_qt, adiab_ascent_mass_flux_depends_on_ejectliq, keepbug_ice_frac … … 622 628 ! ---------------------------------------------------------------- 623 629 624 include "cvthermo.h"625 630 include "cv3param.h" 626 631 … … 1141 1146 USE cvflag_mod_h, ONLY: icvflag_Tpa, cvflag_grav, cvflag_ice, ok_optim_yield, ok_entrain, ok_homo_tend, & 1142 1147 ok_convstop, ok_intermittent, cvflag_prec_eject, qsat_depends_on_qt, adiab_ascent_mass_flux_depends_on_ejectliq, keepbug_ice_frac 1148 USE cvthermo_mod_h, ONLY: cpd, cpv, cl, ci, rrv, rrd, lv0, lf0, g, rowl, t0, clmcpv, clmcpd, cpdmcp, cpvmcpd, cpvmcl & 1149 , clmci, eps, epsi, epsim1, ginv, hrd, grav 1143 1150 IMPLICIT NONE 1144 1151 … … 1161 1168 ! --------------------------------------------------------------------- 1162 1169 1163 include "cvthermo.h"1164 1170 include "cv3param.h" 1165 1171 include "conema3.h" … … 2050 2056 pbase, p, ph, tv, buoy, & 2051 2057 sig, w0, cape, m, iflag) 2058 USE cvthermo_mod_h, ONLY: cpd, cpv, cl, ci, rrv, rrd, lv0, lf0, g, rowl, t0, clmcpv, clmcpd, cpdmcp, cpvmcpd, cpvmcl & 2059 , clmci, eps, epsi, epsim1, ginv, hrd, grav 2052 2060 USE cvflag_mod_h, ONLY: icvflag_Tpa, cvflag_grav, cvflag_ice, ok_optim_yield, ok_entrain, ok_homo_tend, & 2053 2061 ok_convstop, ok_intermittent, cvflag_prec_eject, qsat_depends_on_qt, adiab_ascent_mass_flux_depends_on_ejectliq, keepbug_ice_frac … … 2060 2068 ! =================================================================== 2061 2069 2062 include "cvthermo.h"2063 2070 include "cv3param.h" 2064 2071 … … 2296 2303 USE cvflag_mod_h, ONLY: icvflag_Tpa, cvflag_grav, cvflag_ice, ok_optim_yield, ok_entrain, ok_homo_tend, & 2297 2304 ok_convstop, ok_intermittent, cvflag_prec_eject, qsat_depends_on_qt, adiab_ascent_mass_flux_depends_on_ejectliq, keepbug_ice_frac 2305 USE cvthermo_mod_h, ONLY: cpd, cpv, cl, ci, rrv, rrd, lv0, lf0, g, rowl, t0, clmcpv, clmcpd, cpdmcp, cpvmcpd, cpvmcl & 2306 , clmci, eps, epsi, epsim1, ginv, hrd, grav 2298 2307 IMPLICIT NONE 2299 2308 … … 2303 2312 ! --------------------------------------------------------------------- 2304 2313 2305 include "cvthermo.h"2306 2314 include "cv3param.h" 2307 2315 … … 2717 2725 faci, b, sigd, & 2718 2726 wdtrainA, wdtrainS, wdtrainM) ! RomP 2727 USE cvthermo_mod_h, ONLY: cpd, cpv, cl, ci, rrv, rrd, lv0, lf0, g, rowl, t0, clmcpv, clmcpd, cpdmcp, cpvmcpd, cpvmcl & 2728 , clmci, eps, epsi, epsim1, ginv, hrd, grav 2719 2729 USE cvflag_mod_h, ONLY: icvflag_Tpa, cvflag_grav, cvflag_ice, ok_optim_yield, ok_entrain, ok_homo_tend, & 2720 2730 ok_convstop, ok_intermittent, cvflag_prec_eject, qsat_depends_on_qt, adiab_ascent_mass_flux_depends_on_ejectliq, keepbug_ice_frac … … 2722 2732 IMPLICIT NONE 2723 2733 2724 include "cvthermo.h"2725 2734 include "cv3param.h" 2726 2735 include "nuage.h" … … 3466 3475 USE cvflag_mod_h, ONLY: icvflag_Tpa, cvflag_grav, cvflag_ice, ok_optim_yield, ok_entrain, ok_homo_tend, & 3467 3476 ok_convstop, ok_intermittent, cvflag_prec_eject, qsat_depends_on_qt, adiab_ascent_mass_flux_depends_on_ejectliq, keepbug_ice_frac 3468 3477 USE cvthermo_mod_h, ONLY: cpd, cpv, cl, ci, rrv, rrd, lv0, lf0, g, rowl, t0, clmcpv, clmcpd, cpdmcp, cpvmcpd, cpvmcl & 3478 , clmci, eps, epsi, epsim1, ginv, hrd, grav 3469 3479 IMPLICIT NONE 3470 3480 3471 include "cvthermo.h"3472 3481 include "cv3param.h" 3473 3482 include "conema3.h" … … 4961 4970 ep, Vprecip, elij, clw, epmlmMm, eplaMm, & 4962 4971 icb, inb) 4972 USE cvthermo_mod_h, ONLY: cpd, cpv, cl, ci, rrv, rrd, lv0, lf0, g, rowl, t0, clmcpv, clmcpd, cpdmcp, cpvmcpd, cpvmcl & 4973 , clmci, eps, epsi, epsim1, ginv, hrd, grav 4963 4974 USE cvflag_mod_h, ONLY: icvflag_Tpa, cvflag_grav, cvflag_ice, ok_optim_yield, ok_entrain, ok_homo_tend, & 4964 4975 ok_convstop, ok_intermittent, cvflag_prec_eject, qsat_depends_on_qt, adiab_ascent_mass_flux_depends_on_ejectliq, keepbug_ice_frac … … 5151 5162 USE cvflag_mod_h, ONLY: icvflag_Tpa, cvflag_grav, cvflag_ice, ok_optim_yield, ok_entrain, ok_homo_tend, & 5152 5163 ok_convstop, ok_intermittent, cvflag_prec_eject, qsat_depends_on_qt, adiab_ascent_mass_flux_depends_on_ejectliq, keepbug_ice_frac 5164 USE cvthermo_mod_h, ONLY: cpd, cpv, cl, ci, rrv, rrd, lv0, lf0, g, rowl, t0, clmcpv, clmcpd, cpdmcp, cpvmcpd, cpvmcl & 5165 , clmci, eps, epsi, epsim1, ginv, hrd, grav 5153 5166 implicit none 5154 5167 … … 5158 5171 ! Toutes les autres variables fn de ep sont calcul�es plus bas. 5159 5172 5160 include "cvthermo.h"5161 5173 include "cv3param.h" 5162 5174 include "conema3.h" -
LMDZ6/trunk/libf/phylmd/cv3p1_closure.f90
r5274 r5276 19 19 ! ************************************************************** 20 20 21 USE cvthermo_mod_h, ONLY: cpd, cpv, cl, ci, rrv, rrd, lv0, lf0, g, rowl, t0, clmcpv, clmcpd, cpdmcp, cpvmcpd, cpvmcl & 22 , clmci, eps, epsi, epsim1, ginv, hrd, grav 21 23 USE print_control_mod, ONLY: prt_level, lunout 22 24 USE yomcst_mod_h, ONLY: RPI, RCLUM, RHPLA, RKBOL, RNAVO & … … 34 36 IMPLICIT NONE 35 37 36 include "cvthermo.h"37 38 include "cv3param.h" 38 39 include "YOMCST2.h" -
LMDZ6/trunk/libf/phylmd/cv3p2_closure.f90
r5275 r5276 18 18 ! ************************************************************** 19 19 20 USE cvthermo_mod_h, ONLY: cpd, cpv, cl, ci, rrv, rrd, lv0, lf0, g, rowl, t0, clmcpv, clmcpd, cpdmcp, cpvmcpd, cpvmcl & 21 , clmci, eps, epsi, epsim1, ginv, hrd, grav 20 22 USE cvflag_mod_h, ONLY: icvflag_Tpa, cvflag_grav, cvflag_ice, ok_optim_yield, ok_entrain, ok_homo_tend, & 21 23 ok_convstop, ok_intermittent, cvflag_prec_eject, qsat_depends_on_qt, adiab_ascent_mass_flux_depends_on_ejectliq, keepbug_ice_frac … … 35 37 IMPLICIT NONE 36 38 37 include "cvthermo.h"38 39 include "cv3param.h" 39 40 include "YOMCST2.h" -
LMDZ6/trunk/libf/phylmd/cv3p_mixing.f90
r5275 r5276 13 13 ! ************************************************************** 14 14 15 USE cvthermo_mod_h, ONLY: cpd, cpv, cl, ci, rrv, rrd, lv0, lf0, g, rowl, t0, clmcpv, clmcpd, cpdmcp, cpvmcpd, cpvmcl & 16 , clmci, eps, epsi, epsim1, ginv, hrd, grav 15 17 USE cvflag_mod_h, ONLY: icvflag_Tpa, cvflag_grav, cvflag_ice, ok_optim_yield, ok_entrain, ok_homo_tend, & 16 18 ok_convstop, ok_intermittent, cvflag_prec_eject, qsat_depends_on_qt, adiab_ascent_mass_flux_depends_on_ejectliq, keepbug_ice_frac … … 21 23 IMPLICIT NONE 22 24 23 include "cvthermo.h"24 25 include "cv3param.h" 25 26 include "YOMCST2.h" -
LMDZ6/trunk/libf/phylmd/cv_driver.F90
r5275 r5276 682 682 SUBROUTINE cv_flag(iflag_ice_thermo) 683 683 684 USE cvthermo_mod_h, ONLY: cpd, cpv, cl, ci, rrv, rrd, lv0, lf0, g, rowl, t0, clmcpv, clmcpd, cpdmcp, cpvmcpd, cpvmcl & 685 , clmci, eps, epsi, epsim1, ginv, hrd, grav 684 686 USE cvflag_mod_h, ONLY: icvflag_Tpa, cvflag_grav, cvflag_ice, ok_optim_yield, ok_entrain, ok_homo_tend, & 685 687 ok_convstop, ok_intermittent, cvflag_prec_eject, qsat_depends_on_qt, adiab_ascent_mass_flux_depends_on_ejectliq, keepbug_ice_frac … … 699 701 ! 700 702 ! si icvflag_Tpa=0, alors la fraction de glace dans l'ascendance adiabatique est 701 ! fonction de la temperature de l'environnement et la temperature de l'ascendance est 702 ! calculee en deux it�rations, une en supposant qu'il n'y a pas de glace et l'autre 703 ! fonction de la temperature de l'environnement et la temperature de l'ascendance est 704 ! calculee en deux it�rations, une en supposant qu'il n'y a pas de glace et l'autre 703 705 ! en ajoutant la glace (ancien sch�ma d'Arnaud Jam). 704 706 ! si icvflag_Tpa=1, alors la fraction de glace dans l'ascendance adiabatique est 705 ! fonction de la temperature de l'environnement et la temperature de l'ascendance est 707 ! fonction de la temperature de l'environnement et la temperature de l'ascendance est 706 708 ! calculee en une seule iteration. 707 709 ! si icvflag_Tpa=2, alors la fraction de glace dans l'ascendance adiabatique est 708 ! fonction de la temperature de l'ascendance et la temperature de l'ascendance est 710 ! fonction de la temperature de l'ascendance et la temperature de l'ascendance est 709 711 ! calculee en une seule iteration. 710 icvflag_Tpa=0 712 icvflag_Tpa=0 711 713 call getin_p('icvflag_Tpa', icvflag_Tpa) 712 714 … … 728 730 , RESTT, RALPW, RBETW, RGAMW, RALPS, RBETS, RGAMS & 729 731 , RALPD, RBETD, RGAMD 732 USE cvthermo_mod_h, ONLY: cpd, cpv, cl, ci, rrv, rrd, lv0, lf0, g, rowl, t0, clmcpv, clmcpd, cpdmcp, cpvmcpd, cpvmcl & 733 , clmci, eps, epsi, epsim1, ginv, hrd, grav 730 734 IMPLICIT NONE 731 735 … … 735 739 736 740 737 include "cvthermo.h"738 741 739 742 INTEGER iflag_con -
LMDZ6/trunk/libf/phylmd/cv_routines.f90
r5268 r5276 3 3 4 4 SUBROUTINE cv_param(nd) 5 USE cvthermo_mod_h, ONLY: cpd, cpv, cl, ci, rrv, rrd, lv0, lf0, g, rowl, t0, clmcpv, clmcpd, cpdmcp, cpvmcpd, cpvmcl & 6 , clmci, eps, epsi, epsim1, ginv, hrd, grav 5 7 IMPLICIT NONE 6 8 … … 75 77 76 78 SUBROUTINE cv_prelim(len, nd, ndp1, t, q, p, ph, lv, cpn, tv, gz, h, hm) 79 USE cvthermo_mod_h, ONLY: cpd, cpv, cl, ci, rrv, rrd, lv0, lf0, g, rowl, t0, clmcpv, clmcpd, cpdmcp, cpvmcpd, cpvmcl & 80 , clmci, eps, epsi, epsim1, ginv, hrd, grav 77 81 IMPLICIT NONE 78 82 … … 93 97 REAL cpx(len, nd) 94 98 95 include "cvthermo.h"96 99 include "cvparam.h" 97 100 … … 254 257 SUBROUTINE cv_undilute1(len, nd, t, q, qs, gz, p, nk, icb, icbmax, tp, tvp, & 255 258 clw) 259 USE cvthermo_mod_h, ONLY: cpd, cpv, cl, ci, rrv, rrd, lv0, lf0, g, rowl, t0, clmcpv, clmcpd, cpdmcp, cpvmcpd, cpvmcl & 260 , clmci, eps, epsi, epsim1, ginv, hrd, grav 256 261 IMPLICIT NONE 257 262 258 include "cvthermo.h"259 263 include "cvparam.h" 260 264 … … 481 485 SUBROUTINE cv_undilute2(nloc, ncum, nd, icb, nk, tnk, qnk, gznk, t, q, qs, & 482 486 gz, p, dph, h, tv, lv, inb, inb1, tp, tvp, clw, hp, ep, sigp, frac) 487 USE cvthermo_mod_h, ONLY: cpd, cpv, cl, ci, rrv, rrd, lv0, lf0, g, rowl, t0, clmcpv, clmcpd, cpdmcp, cpvmcpd, cpvmcl & 488 , clmci, eps, epsi, epsim1, ginv, hrd, grav 483 489 IMPLICIT NONE 484 490 … … 492 498 ! FIND THE LEVEL OF NEUTRAL BUOYANCY 493 499 ! --------------------------------------------------------------------- 494 495 include "cvthermo.h"496 500 include "cvparam.h" 497 501 … … 764 768 SUBROUTINE cv_closure(nloc, ncum, nd, nk, icb, tv, tvp, p, ph, dph, plcl, & 765 769 cpn, iflag, cbmf) 770 USE cvthermo_mod_h, ONLY: cpd, cpv, cl, ci, rrv, rrd, lv0, lf0, g, rowl, t0, clmcpv, clmcpd, cpdmcp, cpvmcpd, cpvmcl & 771 , clmci, eps, epsi, epsim1, ginv, hrd, grav 766 772 IMPLICIT NONE 767 773 … … 781 787 REAL dtpbl(nloc), dtmin(nloc), tvpplcl(nloc), tvaplcl(nloc) 782 788 REAL work(nloc) 783 784 include "cvthermo.h"785 789 include "cvparam.h" 786 790 … … 847 851 h, lv, qnk, hp, tv, tvp, ep, clw, cbmf, m, ment, qent, uent, vent, nent, & 848 852 sij, elij) 853 USE cvthermo_mod_h, ONLY: cpd, cpv, cl, ci, rrv, rrd, lv0, lf0, g, rowl, t0, clmcpv, clmcpd, cpdmcp, cpvmcpd, cpvmcl & 854 , clmci, eps, epsi, epsim1, ginv, hrd, grav 849 855 IMPLICIT NONE 850 856 851 include "cvthermo.h"852 857 include "cvparam.h" 853 858 … … 1098 1103 SUBROUTINE cv_unsat(nloc, ncum, nd, inb, t, q, qs, gz, u, v, p, ph, h, lv, & 1099 1104 ep, sigp, clw, m, ment, elij, iflag, mp, qp, up, vp, wt, water, evap) 1105 USE cvthermo_mod_h, ONLY: cpd, cpv, cl, ci, rrv, rrd, lv0, lf0, g, rowl, t0, clmcpv, clmcpd, cpdmcp, cpvmcpd, cpvmcl & 1106 , clmci, eps, epsi, epsim1, ginv, hrd, grav 1100 1107 IMPLICIT NONE 1101 1102 1103 include "cvthermo.h"1104 1108 include "cvparam.h" 1105 1109 … … 1301 1305 ment, qent, uent, vent, nent, elij, tv, tvp, iflag, wd, qprime, tprime, & 1302 1306 precip, cbmf, ft, fq, fu, fv, ma, qcondc) 1307 USE cvthermo_mod_h, ONLY: cpd, cpv, cl, ci, rrv, rrd, lv0, lf0, g, rowl, t0, clmcpv, clmcpd, cpdmcp, cpvmcpd, cpvmcl & 1308 , clmci, eps, epsi, epsim1, ginv, hrd, grav 1303 1309 IMPLICIT NONE 1304 1310 1305 include "cvthermo.h"1306 1311 include "cvparam.h" 1307 1312 -
LMDZ6/trunk/libf/phylmd/cvthermo_mod_h.f90
r5275 r5276 1 ! 2 ! $Header$ 3 ! 4 ! Thermodynamical constants for convectL: 1 ! Replaces cvthermo.h 5 2 6 real cpd, cpv, cl, ci, rrv, rrd, lv0, lf0, g, rowl, t0 7 real clmcpv, clmcpd, cpdmcp, cpvmcpd, cpvmcl, clmci 8 real eps, epsi, epsim1 9 real ginv, hrd 10 real grav 3 MODULE cvthermo_mod_h 4 IMPLICIT NONE; PRIVATE 5 PUBLIC cpd, cpv, cl, ci, rrv, rrd, lv0, lf0, g, rowl, t0, clmcpv, clmcpd, cpdmcp, cpvmcpd, cpvmcl & 6 , clmci, eps, epsi, epsim1, ginv, hrd, grav 11 7 12 COMMON /cvthermo/ cpd, cpv, cl, ci, rrv, rrd, lv0, lf0, g, rowl & 13 ,t0, clmcpv, clmcpd, cpdmcp, cpvmcpd, cpvmcl & 14 ,clmci, eps, epsi, epsim1, ginv, hrd, grav 8 ! Thermodynamical constants for convectL: 9 REAL cpd, cpv, cl, ci, rrv, rrd, lv0, lf0, g, rowl, t0 10 REAL clmcpv, clmcpd, cpdmcp, cpvmcpd, cpvmcl, clmci 11 REAL eps, epsi, epsim1 12 REAL ginv, hrd 13 REAL grav 15 14 16 !$OMP THREADPRIVATE(/cvthermo/) 15 !$OMP THREADPRIVATE(cpd, cpv, cl, ci, rrv, rrd, lv0, lf0, g, rowl, t0, clmcpv, clmcpd, cpdmcp, cpvmcpd, cpvmcl & 16 !$OMP , clmci, eps, epsi, epsim1, ginv, hrd, grav) 17 END MODULE cvthermo_mod_h -
LMDZ6/trunk/libf/phylmdiso/cv30_routines.F90
r5275 r5276 5 5 6 6 SUBROUTINE cv30_param(nd, delt) 7 USE cvthermo_mod_h, ONLY: cpd, cpv, cl, ci, rrv, rrd, lv0, lf0, g, rowl, t0, clmcpv, clmcpd, cpdmcp, cpvmcpd, cpvmcl & 8 , clmci, eps, epsi, epsim1, ginv, hrd, grav 7 9 IMPLICIT NONE 8 10 … … 85 87 SUBROUTINE cv30_prelim(len, nd, ndp1, t, q, p, ph, lv, cpn, tv, gz, h, hm, & 86 88 th) 89 USE cvthermo_mod_h, ONLY: cpd, cpv, cl, ci, rrv, rrd, lv0, lf0, g, rowl, t0, clmcpv, clmcpd, cpdmcp, cpvmcpd, cpvmcl & 90 , clmci, eps, epsi, epsim1, ginv, hrd, grav 87 91 IMPLICIT NONE 88 92 … … 108 112 REAL cpx(len, nd) 109 113 110 include "cvthermo.h"111 114 include "cv30param.h" 112 115 … … 389 392 #endif 390 393 394 USE cvthermo_mod_h, ONLY: cpd, cpv, cl, ci, rrv, rrd, lv0, lf0, g, rowl, t0, clmcpv, clmcpd, cpdmcp, cpvmcpd, cpvmcl & 395 , clmci, eps, epsi, epsim1, ginv, hrd, grav 391 396 IMPLICIT NONE 392 397 … … 404 409 ! ---------------------------------------------------------------- 405 410 406 include "cvthermo.h"407 411 include "cv30param.h" 408 412 … … 1150 1154 #endif 1151 1155 #endif 1156 USE cvthermo_mod_h, ONLY: cpd, cpv, cl, ci, rrv, rrd, lv0, lf0, g, rowl, t0, clmcpv, clmcpd, cpdmcp, cpvmcpd, cpvmcl & 1157 , clmci, eps, epsi, epsim1, ginv, hrd, grav 1152 1158 IMPLICIT NONE 1153 1159 … … 1170 1176 ! --------------------------------------------------------------------- 1171 1177 1172 include "cvthermo.h"1173 1178 include "cv30param.h" 1174 1179 include "conema3.h" … … 1615 1620 SUBROUTINE cv30_closure(nloc, ncum, nd, icb, inb, pbase, p, ph, tv, buoy, & 1616 1621 sig, w0, cape, m) 1622 USE cvthermo_mod_h, ONLY: cpd, cpv, cl, ci, rrv, rrd, lv0, lf0, g, rowl, t0, clmcpv, clmcpd, cpdmcp, cpvmcpd, cpvmcl & 1623 , clmci, eps, epsi, epsim1, ginv, hrd, grav 1617 1624 IMPLICIT NONE 1618 1625 … … 1623 1630 ! =================================================================== 1624 1631 1625 include "cvthermo.h"1626 1632 include "cv30param.h" 1627 1633 … … 1851 1857 #endif 1852 1858 #endif 1859 USE cvthermo_mod_h, ONLY: cpd, cpv, cl, ci, rrv, rrd, lv0, lf0, g, rowl, t0, clmcpv, clmcpd, cpdmcp, cpvmcpd, cpvmcl & 1860 , clmci, eps, epsi, epsim1, ginv, hrd, grav 1853 1861 IMPLICIT NONE 1854 1862 … … 1859 1867 ! --------------------------------------------------------------------- 1860 1868 1861 include "cvthermo.h"1862 1869 include "cv30param.h" 1863 1870 … … 2668 2675 #endif 2669 2676 2677 USE cvthermo_mod_h, ONLY: cpd, cpv, cl, ci, rrv, rrd, lv0, lf0, g, rowl, t0, clmcpv, clmcpd, cpdmcp, cpvmcpd, cpvmcl & 2678 , clmci, eps, epsi, epsim1, ginv, hrd, grav 2670 2679 USE cvflag_mod_h, ONLY: icvflag_Tpa, cvflag_grav, cvflag_ice, ok_optim_yield, ok_entrain, ok_homo_tend, & 2671 2680 ok_convstop, ok_intermittent, cvflag_prec_eject, qsat_depends_on_qt, adiab_ascent_mass_flux_depends_on_ejectliq, keepbug_ice_frac … … 2673 2682 2674 2683 2675 include "cvthermo.h"2676 2684 include "cv30param.h" 2677 2685 … … 3403 3411 #endif 3404 3412 3413 USE cvthermo_mod_h, ONLY: cpd, cpv, cl, ci, rrv, rrd, lv0, lf0, g, rowl, t0, clmcpv, clmcpd, cpdmcp, cpvmcpd, cpvmcl & 3414 , clmci, eps, epsi, epsim1, ginv, hrd, grav 3405 3415 USE cvflag_mod_h, ONLY: icvflag_Tpa, cvflag_grav, cvflag_ice, ok_optim_yield, ok_entrain, ok_homo_tend, & 3406 3416 ok_convstop, ok_intermittent, cvflag_prec_eject, qsat_depends_on_qt, adiab_ascent_mass_flux_depends_on_ejectliq, keepbug_ice_frac 3407 3417 IMPLICIT NONE 3408 3418 3409 include "cvthermo.h"3410 3419 include "cv30param.h" 3411 3420 include "conema3.h" … … 6355 6364 ,cape,ep,hp,icb,inb,clw,nk,t,h,lv & 6356 6365 ,epmax_diag) 6357 implicit none 6366 USE cvthermo_mod_h, ONLY: cpd, cpv, cl, ci, rrv, rrd, lv0, lf0, g, rowl, t0, clmcpv, clmcpd, cpdmcp, cpvmcpd, cpvmcl & 6367 , clmci, eps, epsi, epsim1, ginv, hrd, grav 6368 implicit none 6358 6369 6359 6370 ! On fait varier epmax en fn de la cape … … 6362 6373 ! Toutes les autres variables fn de ep sont calculees plus bas. 6363 6374 6364 INCLUDE "cvthermo.h"6365 6375 INCLUDE "cv30param.h" 6366 6376 INCLUDE "conema3.h" -
LMDZ6/trunk/libf/phylmdiso/cv3_enthalpmix.F90
r5274 r5276 18 18 ! ************************************************************** 19 19 20 USE cvthermo_mod_h, ONLY: cpd, cpv, cl, ci, rrv, rrd, lv0, lf0, g, rowl, t0, clmcpv, clmcpd, cpdmcp, cpvmcpd, cpvmcl & 21 , clmci, eps, epsi, epsim1, ginv, hrd, grav 20 22 USE yomcst_mod_h, ONLY: RPI, RCLUM, RHPLA, RKBOL, RNAVO & 21 23 , RDAY, REA, REPSM, RSIYEA, RSIDAY, ROMEGA & … … 41 43 ! =============================================================== 42 44 43 include "cvthermo.h"44 45 include "YOETHF.h" 45 46 -
LMDZ6/trunk/libf/phylmdiso/cv3_estatmix.F90
r5274 r5276 19 19 ! **************************************************************** 20 20 21 USE cvthermo_mod_h, ONLY: cpd, cpv, cl, ci, rrv, rrd, lv0, lf0, g, rowl, t0, clmcpv, clmcpd, cpdmcp, cpvmcpd, cpvmcl & 22 , clmci, eps, epsi, epsim1, ginv, hrd, grav 21 23 USE yomcst_mod_h, ONLY: RPI, RCLUM, RHPLA, RKBOL, RNAVO & 22 24 , RDAY, REA, REPSM, RSIYEA, RSIDAY, ROMEGA & … … 42 44 ! =============================================================== 43 45 44 include "cvthermo.h"45 46 include "YOETHF.h" 46 47 -
LMDZ6/trunk/libf/phylmdiso/cv3_routines.F90
r5275 r5276 185 185 SUBROUTINE cv3_incrcount(len, nd, delt, sig) 186 186 187 USE cvflag_mod_h, ONLY: icvflag_Tpa, cvflag_grav, cvflag_ice, ok_optim_yield, ok_entrain, ok_homo_tend, & 187 USE cvthermo_mod_h, ONLY: cpd, cpv, cl, ci, rrv, rrd, lv0, lf0, g, rowl, t0, clmcpv, clmcpd, cpdmcp, cpvmcpd, cpvmcl & 188 , clmci, eps, epsi, epsim1, ginv, hrd, grav 189 USE cvflag_mod_h, ONLY: icvflag_Tpa, cvflag_grav, cvflag_ice, ok_optim_yield, ok_entrain, ok_homo_tend, & 188 190 ok_convstop, ok_intermittent, cvflag_prec_eject, qsat_depends_on_qt, adiab_ascent_mass_flux_depends_on_ejectliq, keepbug_ice_frac 189 191 IMPLICIT NONE … … 226 228 SUBROUTINE cv3_prelim(len, nd, ndp1, t, q, p, ph, & 227 229 lv, lf, cpn, tv, gz, h, hm, th) 230 USE cvthermo_mod_h, ONLY: cpd, cpv, cl, ci, rrv, rrd, lv0, lf0, g, rowl, t0, clmcpv, clmcpd, cpdmcp, cpvmcpd, cpvmcl & 231 , clmci, eps, epsi, epsim1, ginv, hrd, grav 228 232 IMPLICIT NONE 229 233 … … 249 253 REAL cpx(len, nd) 250 254 251 include "cvthermo.h"252 255 include "cv3param.h" 253 256 … … 323 326 #endif 324 327 328 USE cvthermo_mod_h, ONLY: cpd, cpv, cl, ci, rrv, rrd, lv0, lf0, g, rowl, t0, clmcpv, clmcpd, cpdmcp, cpvmcpd, cpvmcl & 329 , clmci, eps, epsi, epsim1, ginv, hrd, grav 325 330 USE mod_phys_lmdz_transfert_para, ONLY : bcast 326 331 USE add_phys_tend_mod, ONLY: fl_cor_ebil … … 344 349 345 350 include "cv3param.h" 346 include "cvthermo.h"347 351 348 352 !inputs: … … 701 705 #endif 702 706 #endif 707 USE cvthermo_mod_h, ONLY: cpd, cpv, cl, ci, rrv, rrd, lv0, lf0, g, rowl, t0, clmcpv, clmcpd, cpdmcp, cpvmcpd, cpvmcl & 708 , clmci, eps, epsi, epsim1, ginv, hrd, grav 703 709 IMPLICIT NONE 704 710 … … 716 722 ! ---------------------------------------------------------------- 717 723 718 include "cvthermo.h"719 724 include "cv3param.h" 720 725 … … 1484 1489 #endif 1485 1490 #endif 1491 USE cvthermo_mod_h, ONLY: cpd, cpv, cl, ci, rrv, rrd, lv0, lf0, g, rowl, t0, clmcpv, clmcpd, cpdmcp, cpvmcpd, cpvmcl & 1492 , clmci, eps, epsi, epsim1, ginv, hrd, grav 1486 1493 USE cvflag_mod_h, ONLY: icvflag_Tpa, cvflag_grav, cvflag_ice, ok_optim_yield, ok_entrain, ok_homo_tend, & 1487 1494 ok_convstop, ok_intermittent, cvflag_prec_eject, qsat_depends_on_qt, adiab_ascent_mass_flux_depends_on_ejectliq, keepbug_ice_frac … … 1506 1513 ! --------------------------------------------------------------------- 1507 1514 1508 include "cvthermo.h"1509 1515 include "cv3param.h" 1510 1516 include "conema3.h" … … 2513 2519 pbase, p, ph, tv, buoy, & 2514 2520 sig, w0, cape, m, iflag) 2521 USE cvthermo_mod_h, ONLY: cpd, cpv, cl, ci, rrv, rrd, lv0, lf0, g, rowl, t0, clmcpv, clmcpd, cpdmcp, cpvmcpd, cpvmcl & 2522 , clmci, eps, epsi, epsim1, ginv, hrd, grav 2515 2523 IMPLICIT NONE 2516 2524 … … 2521 2529 ! =================================================================== 2522 2530 2523 include "cvthermo.h"2524 2531 include "cv3param.h" 2525 2532 … … 2784 2791 #endif 2785 2792 #endif 2793 USE cvthermo_mod_h, ONLY: cpd, cpv, cl, ci, rrv, rrd, lv0, lf0, g, rowl, t0, clmcpv, clmcpd, cpdmcp, cpvmcpd, cpvmcl & 2794 , clmci, eps, epsi, epsim1, ginv, hrd, grav 2786 2795 USE cvflag_mod_h, ONLY: icvflag_Tpa, cvflag_grav, cvflag_ice, ok_optim_yield, ok_entrain, ok_homo_tend, & 2787 2796 ok_convstop, ok_intermittent, cvflag_prec_eject, qsat_depends_on_qt, adiab_ascent_mass_flux_depends_on_ejectliq, keepbug_ice_frac … … 2793 2802 ! --------------------------------------------------------------------- 2794 2803 2795 include "cvthermo.h"2796 2804 include "cv3param.h" 2797 2805 … … 3612 3620 #endif 3613 3621 #endif 3622 USE cvthermo_mod_h, ONLY: cpd, cpv, cl, ci, rrv, rrd, lv0, lf0, g, rowl, t0, clmcpv, clmcpd, cpdmcp, cpvmcpd, cpvmcl & 3623 , clmci, eps, epsi, epsim1, ginv, hrd, grav 3614 3624 USE cvflag_mod_h, ONLY: icvflag_Tpa, cvflag_grav, cvflag_ice, ok_optim_yield, ok_entrain, ok_homo_tend, & 3615 3625 ok_convstop, ok_intermittent, cvflag_prec_eject, qsat_depends_on_qt, adiab_ascent_mass_flux_depends_on_ejectliq, keepbug_ice_frac … … 3617 3627 3618 3628 3619 include "cvthermo.h"3620 3629 include "cv3param.h" 3621 3630 include "nuage.h" … … 4725 4734 #endif 4726 4735 #endif 4736 USE cvthermo_mod_h, ONLY: cpd, cpv, cl, ci, rrv, rrd, lv0, lf0, g, rowl, t0, clmcpv, clmcpd, cpdmcp, cpvmcpd, cpvmcl & 4737 , clmci, eps, epsi, epsim1, ginv, hrd, grav 4727 4738 USE cvflag_mod_h, ONLY: icvflag_Tpa, cvflag_grav, cvflag_ice, ok_optim_yield, ok_entrain, ok_homo_tend, & 4728 4739 ok_convstop, ok_intermittent, cvflag_prec_eject, qsat_depends_on_qt, adiab_ascent_mass_flux_depends_on_ejectliq, keepbug_ice_frac 4729 4740 IMPLICIT NONE 4730 4741 4731 include "cvthermo.h"4732 4742 include "cv3param.h" 4733 4743 include "conema3.h" … … 7615 7625 , pbase, p, ph, tv, buoy, sig, w0,iflag & 7616 7626 , epmax_diag) 7617 USE cvflag_mod_h, ONLY: icvflag_Tpa, cvflag_grav, cvflag_ice, ok_optim_yield, ok_entrain, ok_homo_tend, & 7627 USE cvthermo_mod_h, ONLY: cpd, cpv, cl, ci, rrv, rrd, lv0, lf0, g, rowl, t0, clmcpv, clmcpd, cpdmcp, cpvmcpd, cpvmcl & 7628 , clmci, eps, epsi, epsim1, ginv, hrd, grav 7629 USE cvflag_mod_h, ONLY: icvflag_Tpa, cvflag_grav, cvflag_ice, ok_optim_yield, ok_entrain, ok_homo_tend, & 7618 7630 ok_convstop, ok_intermittent, cvflag_prec_eject, qsat_depends_on_qt, adiab_ascent_mass_flux_depends_on_ejectliq, keepbug_ice_frac 7619 7631 implicit none … … 7624 7636 ! Toutes les autres variables fn de ep sont calculees plus bas. 7625 7637 7626 include "cvthermo.h"7627 7638 include "cv3param.h" 7628 7639 include "conema3.h" -
LMDZ6/trunk/libf/phylmdiso/cv3p_mixing.F90
r5275 r5276 39 39 #endif 40 40 #endif 41 USE cvthermo_mod_h, ONLY: cpd, cpv, cl, ci, rrv, rrd, lv0, lf0, g, rowl, t0, clmcpv, clmcpd, cpdmcp, cpvmcpd, cpvmcl & 42 , clmci, eps, epsi, epsim1, ginv, hrd, grav 41 43 USE cvflag_mod_h, ONLY: icvflag_Tpa, cvflag_grav, cvflag_ice, ok_optim_yield, ok_entrain, ok_homo_tend, & 42 44 ok_convstop, ok_intermittent, cvflag_prec_eject, qsat_depends_on_qt, adiab_ascent_mass_flux_depends_on_ejectliq, keepbug_ice_frac 43 45 IMPLICIT NONE 44 46 45 include "cvthermo.h"46 47 include "cv3param.h" 47 48 include "YOMCST2.h" -
LMDZ6/trunk/libf/phylmdiso/cv_driver.F90
r5275 r5276 1229 1229 SUBROUTINE cv_flag(iflag_ice_thermo) 1230 1230 1231 USE cvthermo_mod_h, ONLY: cpd, cpv, cl, ci, rrv, rrd, lv0, lf0, g, rowl, t0, clmcpv, clmcpd, cpdmcp, cpvmcpd, cpvmcl & 1232 , clmci, eps, epsi, epsim1, ginv, hrd, grav 1231 1233 USE cvflag_mod_h, ONLY: icvflag_Tpa, cvflag_grav, cvflag_ice, ok_optim_yield, ok_entrain, ok_homo_tend, & 1232 1234 ok_convstop, ok_intermittent, cvflag_prec_eject, qsat_depends_on_qt, adiab_ascent_mass_flux_depends_on_ejectliq, keepbug_ice_frac … … 1287 1289 , RESTT, RALPW, RBETW, RGAMW, RALPS, RBETS, RGAMS & 1288 1290 , RALPD, RBETD, RGAMD 1291 USE cvthermo_mod_h, ONLY: cpd, cpv, cl, ci, rrv, rrd, lv0, lf0, g, rowl, t0, clmcpv, clmcpd, cpdmcp, cpvmcpd, cpvmcl & 1292 , clmci, eps, epsi, epsim1, ginv, hrd, grav 1289 1293 IMPLICIT NONE 1290 1294 … … 1292 1296 ! Set thermodynamical constants for convectL 1293 1297 ! ------------------------------------------------------------- 1294 include "cvthermo.h"1295 1298 1296 1299 INTEGER iflag_con -
LMDZ6/trunk/libf/phylmdiso/cv_routines.f90
r5268 r5276 3 3 4 4 SUBROUTINE cv_param(nd) 5 USE cvthermo_mod_h, ONLY: cpd, cpv, cl, ci, rrv, rrd, lv0, lf0, g, rowl, t0, clmcpv, clmcpd, cpdmcp, cpvmcpd, cpvmcl & 6 , clmci, eps, epsi, epsim1, ginv, hrd, grav 5 7 IMPLICIT NONE 6 8 … … 75 77 76 78 SUBROUTINE cv_prelim(len, nd, ndp1, t, q, p, ph, lv, cpn, tv, gz, h, hm) 79 USE cvthermo_mod_h, ONLY: cpd, cpv, cl, ci, rrv, rrd, lv0, lf0, g, rowl, t0, clmcpv, clmcpd, cpdmcp, cpvmcpd, cpvmcl & 80 , clmci, eps, epsi, epsim1, ginv, hrd, grav 77 81 IMPLICIT NONE 78 82 … … 93 97 REAL cpx(len, nd) 94 98 95 include "cvthermo.h"96 99 include "cvparam.h" 97 100 … … 254 257 SUBROUTINE cv_undilute1(len, nd, t, q, qs, gz, p, nk, icb, icbmax, tp, tvp, & 255 258 clw) 259 USE cvthermo_mod_h, ONLY: cpd, cpv, cl, ci, rrv, rrd, lv0, lf0, g, rowl, t0, clmcpv, clmcpd, cpdmcp, cpvmcpd, cpvmcl & 260 , clmci, eps, epsi, epsim1, ginv, hrd, grav 256 261 IMPLICIT NONE 257 258 include "cvthermo.h"259 262 include "cvparam.h" 260 263 … … 481 484 SUBROUTINE cv_undilute2(nloc, ncum, nd, icb, nk, tnk, qnk, gznk, t, q, qs, & 482 485 gz, p, dph, h, tv, lv, inb, inb1, tp, tvp, clw, hp, ep, sigp, frac) 486 USE cvthermo_mod_h, ONLY: cpd, cpv, cl, ci, rrv, rrd, lv0, lf0, g, rowl, t0, clmcpv, clmcpd, cpdmcp, cpvmcpd, cpvmcl & 487 , clmci, eps, epsi, epsim1, ginv, hrd, grav 483 488 IMPLICIT NONE 484 489 … … 492 497 ! FIND THE LEVEL OF NEUTRAL BUOYANCY 493 498 ! --------------------------------------------------------------------- 494 495 include "cvthermo.h"496 499 include "cvparam.h" 497 500 … … 764 767 SUBROUTINE cv_closure(nloc, ncum, nd, nk, icb, tv, tvp, p, ph, dph, plcl, & 765 768 cpn, iflag, cbmf) 769 USE cvthermo_mod_h, ONLY: cpd, cpv, cl, ci, rrv, rrd, lv0, lf0, g, rowl, t0, clmcpv, clmcpd, cpdmcp, cpvmcpd, cpvmcl & 770 , clmci, eps, epsi, epsim1, ginv, hrd, grav 766 771 IMPLICIT NONE 767 772 … … 782 787 REAL work(nloc) 783 788 784 include "cvthermo.h"785 789 include "cvparam.h" 786 790 … … 847 851 h, lv, qnk, hp, tv, tvp, ep, clw, cbmf, m, ment, qent, uent, vent, nent, & 848 852 sij, elij) 853 USE cvthermo_mod_h, ONLY: cpd, cpv, cl, ci, rrv, rrd, lv0, lf0, g, rowl, t0, clmcpv, clmcpd, cpdmcp, cpvmcpd, cpvmcl & 854 , clmci, eps, epsi, epsim1, ginv, hrd, grav 849 855 IMPLICIT NONE 850 856 851 include "cvthermo.h"852 857 include "cvparam.h" 853 858 … … 1098 1103 SUBROUTINE cv_unsat(nloc, ncum, nd, inb, t, q, qs, gz, u, v, p, ph, h, lv, & 1099 1104 ep, sigp, clw, m, ment, elij, iflag, mp, qp, up, vp, wt, water, evap) 1105 USE cvthermo_mod_h, ONLY: cpd, cpv, cl, ci, rrv, rrd, lv0, lf0, g, rowl, t0, clmcpv, clmcpd, cpdmcp, cpvmcpd, cpvmcl & 1106 , clmci, eps, epsi, epsim1, ginv, hrd, grav 1100 1107 IMPLICIT NONE 1101 1108 1102 1103 include "cvthermo.h"1104 1109 include "cvparam.h" 1105 1110 … … 1301 1306 ment, qent, uent, vent, nent, elij, tv, tvp, iflag, wd, qprime, tprime, & 1302 1307 precip, cbmf, ft, fq, fu, fv, ma, qcondc) 1308 USE cvthermo_mod_h, ONLY: cpd, cpv, cl, ci, rrv, rrd, lv0, lf0, g, rowl, t0, clmcpv, clmcpd, cpdmcp, cpvmcpd, cpvmcl & 1309 , clmci, eps, epsi, epsim1, ginv, hrd, grav 1303 1310 IMPLICIT NONE 1304 1311 1305 include "cvthermo.h"1306 1312 include "cvparam.h" 1307 1313 -
LMDZ6/trunk/libf/phylmdiso/cvthermo_mod_h.f90
r5275 r5276 1 link ../phylmd/cvthermo .h1 link ../phylmd/cvthermo_mod_h.f90 -
LMDZ6/trunk/libf/phylmdiso/lmdz_wake.F90
r5274 r5276 55 55 , RESTT, RALPW, RBETW, RGAMW, RALPS, RBETS, RGAMS & 56 56 , RALPD, RBETD, RGAMD 57 USE cvthermo_mod_h, ONLY: cpd, cpv, cl, ci, rrv, rrd, lv0, lf0, g, rowl, t0, clmcpv, clmcpd, cpdmcp, cpvmcpd, cpvmcl & 58 , clmci, eps, epsi, epsim1, ginv, hrd, grav 57 59 IMPLICIT NONE 58 60 ! ============================================================================ … … 144 146 ! Cgw : vitesse de propagation de onde de gravité 145 147 ! LL : distance entre 2 poches 146 147 ! -------------------------------------------------------------------------148 ! Déclaration de variables149 ! -------------------------------------------------------------------------150 include "cvthermo.h"151 148 152 149 ! Arguments en entree
Note: See TracChangeset
for help on using the changeset viewer.