Changeset 5502


Ignore:
Timestamp:
Jan 22, 2025, 7:40:40 PM (4 hours ago)
Author:
fhourdin
Message:

Flag moved to lmdz_cv_ini/cv3_param.

Location:
LMDZ6/trunk/libf/phylmd
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • LMDZ6/trunk/libf/phylmd/cv3_routines.f90

    r5487 r5502  
    1111  use mod_phys_lmdz_para
    1212  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
    1414
    1515
     
    139139     keepbug_ice_frac = .TRUE.
    140140     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
    141144
    142145    WRITE (*, *) 't_top_max=', t_top_max
     
    164167    WRITE (*, *) 'adiab_ascent_mass_flux_depends_on_ejectliq =', adiab_ascent_mass_flux_depends_on_ejectliq
    165168    WRITE (*, *) 'keepbug_ice_frac =', keepbug_ice_frac
     169    WRITE (*, *) 'keep_bug_indices_cv3_tracer =', keep_bug_indices_cv3_tracer
    166170
    167171    first = .FALSE.
     
    49364940                      ep, Vprecip, elij, clw, epmlmMm, eplaMm, &
    49374941                      icb, inb)
    4938    USE lmdz_cv_ini, ONLY : nl
     4942  USE lmdz_cv_ini, ONLY : nl,keep_bug_indices_cv3_tracer
    49394943  USE cvflag_mod_h
    49404944  USE ioipsl_getin_p_mod, ONLY : getin_p
     
    49614965  REAL epm(nloc, na, na)
    49624966!
    4963   LOGICAL,SAVE   ::  first=.TRUE.
    4964   LOGICAL,SAVE   ::  keep_bug_indices_cv3_tracer
    4965 !$OMP THREADPRIVATE(first, keep_bug_indices_cv3_tracer)
    4966 
    49674967! variables d'Emanuel : du second indice au troisieme
    49684968! --->    tab(i,k,j) -> de l origine k a l arrivee j
     
    49724972! phi, phi2, epm, epmlmMm
    49734973
    4974   IF (first) THEN
    4975     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 ! initialisations
    49804974
    49814975  da(:, :) = 0.
  • LMDZ6/trunk/libf/phylmd/lmdz_cv_ini.f90

    r5348 r5502  
    1414          nl, nlp, nlm
    1515  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
    1717
    1818
     
    6969  !$OMP          , dtmax, cu, damp)
    7070
     71LOGICAL keep_bug_indices_cv3_tracer
     72 !$OMP THREADPRIVATE( keep_bug_indices_cv3_tracer)
     73
    7174END MODULE lmdz_cv_ini
Note: See TracChangeset for help on using the changeset viewer.