Ignore:
Timestamp:
Mar 9, 2023, 10:34:39 PM (21 months ago)
Author:
evignon
Message:

fixing bug about previous commit on SSO activation

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

Legend:

Unmodified
Added
Removed
  • LMDZ6/trunk/libf/phylmd/conf_phys_m.F90

    r4458 r4466  
    903903    !Config  Key  =  zrel_oro_t
    904904    !Config  Desc = zrel_oro_t
    905     !Config  Def  = 0.
     905    !Config  Def  = 9999.
    906906    !Config  Help = Connais pas !
    907     zrel_oro_t_omp = 0.
     907    zrel_oro_t_omp = 9999.
    908908    CALL getin('zrel_oro_t', zrel_oro_t_omp)
    909909
  • LMDZ6/trunk/libf/phylmd/physiq_mod.F90

    r4458 r4466  
    45374537          ! zpmm_orodr_t and zstd_orodr_t are activation thresholds set by F. Lott to
    45384538          ! earn computation time but they are not physical.
    4539           IF (((zpic(i)-zmea(i)).GT.zpmm_orodr_t).AND.(zstd(i).GT.zstd_orodr_t).AND.(zrel_oro(i).GE.zrel_oro_t)) THEN
     4539          IF (((zpic(i)-zmea(i)).GT.zpmm_orodr_t).AND.(zstd(i).GT.zstd_orodr_t).AND.(zrel_oro(i).LE.zrel_oro_t)) THEN
    45404540             itest(i)=1
    45414541             igwd=igwd+1
     
    45904590          !    such as ice sheets (work by V. Wiener)
    45914591          zrel_oro(i)=zstd(i)/(max(zsig(i),1.E-8)*sqrt(cell_area(i)))
    4592           IF (((zpic(i)-zmea(i)).GT.zpmm_orolf_t).AND.(zrel_oro(i).GE.zrel_oro_t)) THEN
     4592          IF (((zpic(i)-zmea(i)).GT.zpmm_orolf_t).AND.(zrel_oro(i).LE.zrel_oro_t)) THEN
    45934593             itest(i)=1
    45944594             igwd=igwd+1
     
    47804780! car on peut s'attendre a ce que les petites echelles produisent aussi de la TKE
    47814781! Mais attention, cela ne va pas dans le sens de la conservation de l'energie!
    4782           IF ((zstd(i).GT.1.0) .AND.(zrel_oro(i).GE.zrel_oro_t)) THEN
     4782          IF ((zstd(i).GT.1.0) .AND.(zrel_oro(i).LE.zrel_oro_t)) THEN
    47834783             itest(i)=1
    47844784             igwd=igwd+1
     
    47924792       DO i=1,klon
    47934793          itest(i)=0
    4794         IF (((zpic(i)-zmea(i)).GT.zpmm_orodr_t).AND.(zstd(i).GT.zstd_orodr_t).AND.(zrel_oro(i).GE.zrel_oro_t)) THEN
     4794        IF (((zpic(i)-zmea(i)).GT.zpmm_orodr_t).AND.(zstd(i).GT.zstd_orodr_t).AND.(zrel_oro(i).LE.zrel_oro_t)) THEN
    47954795             itest(i)=1
    47964796             igwd=igwd+1
Note: See TracChangeset for help on using the changeset viewer.