Ignore:
Timestamp:
Jun 11, 2015, 8:06:49 PM (9 years ago)
Author:
fhourdin
Message:

Introduction d'un seuil sur la probabilité de non déclenchement
stochastique random_notrig_max
Si le tirage aleatoire uniforme entre 0 et 1 est > random_notrig_max
on ne déclenche pas.
random_notrig_max=1-epsilon avec epsilon petit.

Corrections dans grid_atob_m.F90 pour la compilation Linux.
A vérifier.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • LMDZ5/trunk/libf/phylmd/physiq.F90

    r2278 r2294  
    6060  USE YOERAD   , ONLY : NRADLP
    6161#endif
     62  USE ioipsl_getin_p_mod, ONLY : getin_p
     63
    6264
    6365  !IM stations CFMIP
     
    440442  integer :: tau_trig(klon)
    441443
     444  REAL,SAVE :: random_notrig_max=1.01
     445  !$OMP THREADPRIVATE(random_notrig_max)
     446
    442447  !--------Statistical Boundary Layer Closure: ALP_BL--------
    443448  !---Profils de TKE dans et hors du thermique
     
    993998  IF (debut) THEN
    994999     CALL suphel ! initialiser constantes et parametres phys.
     1000     CALL getin_p('random_notrig_max',random_notrig_max)
    9951001  ENDIF
    9961002
     
    27342740              proba_notrig(i)=1.
    27352741              random_notrig(i)=1e6*ale_bl_stat(i)-int(1e6*ale_bl_stat(i))
     2742              if ( random_notrig(i) > random_notrig_max ) random_notrig(i)=1.1
    27362743              if ( ale_bl_trig(i) .lt. abs(cin(i))+1.e-10 ) then
    27372744                 tau_trig(i)=tau_trig_shallow
Note: See TracChangeset for help on using the changeset viewer.