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

fixing bug about previous commit on SSO activation

File:
1 edited

Legend:

Unmodified
Added
Removed
  • 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.