Changeset 5502
- Timestamp:
- Jan 22, 2025, 7:40:40 PM (4 hours ago)
- Location:
- LMDZ6/trunk/libf/phylmd
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
LMDZ6/trunk/libf/phylmd/cv3_routines.f90
r5487 r5502 11 11 use mod_phys_lmdz_para 12 12 USE conema3_mod_h 13 USE lmdz_cv_ini, ONLY : alpha,alpha1,beta,betad,coef_peel,cv_flag_feed,delta,dpbase,dtcrit,dtovsh,dttrig,ejectice,ejectliq,elcrit,flag_epkeorig,flag_wb,minorig,nl,nlm,nlp,noconv_stop,noff,omtrain,pbcrit,ptcrit,sigdz,spfac,t_top_max,tau,tau_stop,tlcrit,wbmax 13 USE lmdz_cv_ini, ONLY : alpha,alpha1,beta,betad,coef_peel,cv_flag_feed,delta,dpbase,dtcrit,dtovsh,dttrig,ejectice,ejectliq,elcrit,flag_epkeorig,flag_wb,minorig,nl,nlm,nlp,noconv_stop,noff,omtrain,pbcrit,ptcrit,sigdz,spfac,t_top_max,tau,tau_stop,tlcrit,wbmax,keep_bug_indices_cv3_tracer 14 14 15 15 … … 139 139 keepbug_ice_frac = .TRUE. 140 140 CALL getin_p('keepbug_ice_frac', keepbug_ice_frac) 141 keep_bug_indices_cv3_tracer = .FALSE. 142 CALL getin_p('keep_bug_indices_cv3_tracer', keep_bug_indices_cv3_tracer) 143 141 144 142 145 WRITE (*, *) 't_top_max=', t_top_max … … 164 167 WRITE (*, *) 'adiab_ascent_mass_flux_depends_on_ejectliq =', adiab_ascent_mass_flux_depends_on_ejectliq 165 168 WRITE (*, *) 'keepbug_ice_frac =', keepbug_ice_frac 169 WRITE (*, *) 'keep_bug_indices_cv3_tracer =', keep_bug_indices_cv3_tracer 166 170 167 171 first = .FALSE. … … 4936 4940 ep, Vprecip, elij, clw, epmlmMm, eplaMm, & 4937 4941 icb, inb) 4938 USE lmdz_cv_ini, ONLY : nl4942 USE lmdz_cv_ini, ONLY : nl,keep_bug_indices_cv3_tracer 4939 4943 USE cvflag_mod_h 4940 4944 USE ioipsl_getin_p_mod, ONLY : getin_p … … 4961 4965 REAL epm(nloc, na, na) 4962 4966 ! 4963 LOGICAL,SAVE :: first=.TRUE.4964 LOGICAL,SAVE :: keep_bug_indices_cv3_tracer4965 !$OMP THREADPRIVATE(first, keep_bug_indices_cv3_tracer)4966 4967 4967 ! variables d'Emanuel : du second indice au troisieme 4968 4968 ! ---> tab(i,k,j) -> de l origine k a l arrivee j … … 4972 4972 ! phi, phi2, epm, epmlmMm 4973 4973 4974 IF (first) THEN4975 keep_bug_indices_cv3_tracer = .FALSE.4976 CALL getin_p('keep_bug_indices_cv3_tracer', keep_bug_indices_cv3_tracer)4977 first = .FALSE.4978 ENDIF ! (first)4979 ! initialisations4980 4974 4981 4975 da(:, :) = 0. -
LMDZ6/trunk/libf/phylmd/lmdz_cv_ini.f90
r5348 r5502 14 14 nl, nlp, nlm 15 15 PUBLIC cpd, cpv, cl, ci, rrv, rrd, lv0, lf0, g, rowl, t0, clmcpv, clmcpd, cpdmcp, cpvmcpd, cpvmcl & 16 , clmci, eps, epsi, epsim1, ginv, hrd, grav 16 , clmci, eps, epsi, epsim1, ginv, hrd, grav, keep_bug_indices_cv3_tracer 17 17 18 18 … … 69 69 !$OMP , dtmax, cu, damp) 70 70 71 LOGICAL keep_bug_indices_cv3_tracer 72 !$OMP THREADPRIVATE( keep_bug_indices_cv3_tracer) 73 71 74 END MODULE lmdz_cv_ini
Note: See TracChangeset
for help on using the changeset viewer.