Changeset 4089 for LMDZ6/trunk/libf/phylmd/thermcell_plume.F90
- Timestamp:
- Mar 10, 2022, 7:23:47 PM (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
LMDZ6/trunk/libf/phylmd/thermcell_plume.F90
r3451 r4089 21 21 ! = 29 : an other way to compute the modified buoyancy (to be tested) 22 22 !-------------------------------------------------------------------------- 23 USE IOIPSL, ONLY : getin 24 USE ioipsl_getin_p_mod, ONLY : getin_p 25 26 USE print_control_mod, ONLY: prt_level 23 USE thermcell_ini_mod, ONLY: prt_level,fact_thermals_ed_dz,iflag_thermals_ed,RLvCP,RETV,RG 24 USE thermcell_ini_mod, ONLY: fact_epsilon, betalpha, afact, fact_shell 25 USE thermcell_ini_mod, ONLY: detr_min, entr_min, detr_q_coef, detr_q_power 26 USE thermcell_ini_mod, ONLY: mix0, thermals_flag_alim 27 28 27 29 IMPLICIT NONE 28 29 #include "YOMCST.h"30 #include "YOETHF.h"31 #include "FCTTRE.h"32 #include "thermcell.h"33 30 34 31 INTEGER itap … … 101 98 real zbetalpha, coefzlmel 102 99 real eps 103 REAL REPS,RLvCp,DDT0104 PARAMETER (DDT0=.01)105 100 logical Zsat 106 101 LOGICAL active(ngrid),activetmp(ngrid) 107 102 REAL fact_gamma,fact_gamma2,fact_epsilon2 108 103 109 REAL, SAVE :: fact_epsilon=0.002110 REAL, SAVE :: betalpha=0.9111 REAL, SAVE :: afact=2./3.112 REAL, SAVE :: fact_shell=1.113 REAL,SAVE :: detr_min=1.e-5114 REAL,SAVE :: entr_min=1.e-5115 REAL,SAVE :: detr_q_coef=0.012116 REAL,SAVE :: detr_q_power=0.5117 REAL,SAVE :: mix0=0.118 INTEGER,SAVE :: thermals_flag_alim=0119 120 !$OMP THREADPRIVATE(fact_epsilon, betalpha, afact, fact_shell)121 !$OMP THREADPRIVATE(detr_min, entr_min, detr_q_coef, detr_q_power)122 !$OMP THREADPRIVATE( mix0, thermals_flag_alim)123 124 LOGICAL, SAVE :: first=.true.125 !$OMP THREADPRIVATE(first)126 127 104 128 105 REAL c2(ngrid,klev) … … 132 109 ! Initialisation 133 110 134 RLvCp = RLVTT/RCPD135 IF (first) THEN136 137 CALL getin_p('thermals_fact_epsilon',fact_epsilon)138 CALL getin_p('thermals_betalpha',betalpha)139 CALL getin_p('thermals_afact',afact)140 CALL getin_p('thermals_fact_shell',fact_shell)141 CALL getin_p('thermals_detr_min',detr_min)142 CALL getin_p('thermals_entr_min',entr_min)143 CALL getin_p('thermals_detr_q_coef',detr_q_coef)144 CALL getin_p('thermals_detr_q_power',detr_q_power)145 CALL getin_p('thermals_mix0',mix0)146 CALL getin_p('thermals_flag_alim',thermals_flag_alim)147 148 149 first=.false.150 ENDIF151 111 152 112 zbetalpha=betalpha/(1.+betalpha)
Note: See TracChangeset
for help on using the changeset viewer.