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

fixing bug about previous commit on SSO activation

File:
1 edited

Legend:

Unmodified
Added
Removed
  • LMDZ6/trunk/libf/phylmdiso/physiq_mod.F90

    r4458 r4466  
    58095809          ! zpmm_orodr_t and zstd_orodr_t are activation thresholds set by F. Lott to
    58105810          ! earn computation time but they are not physical.
    5811           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
     5811          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
    58125812             itest(i)=1
    58135813             igwd=igwd+1
     
    58665866          !    such as ice sheets (work by V. Wiener)
    58675867          zrel_oro(i)=zstd(i)/(max(zsig(i),1.E-8)*sqrt(cell_area(i)))
    5868           IF (((zpic(i)-zmea(i)).GT.zpmm_orolf_t).AND.(zrel_oro(i).GE.zrel_oro_t)) THEN
     5868          IF (((zpic(i)-zmea(i)).GT.zpmm_orolf_t).AND.(zrel_oro(i).LE.zrel_oro_t)) THEN
    58695869             itest(i)=1
    58705870             igwd=igwd+1
     
    60826082! car on peut s'attendre a ce que les petites echelles produisent aussi de la TKE
    60836083! Mais attention, cela ne va pas dans le sens de la conservation de l'energie!
    6084           IF ((zstd(i).GT.1.0).AND.(zrel_oro(i).GE.zrel_oro_t)) THEN
     6084          IF ((zstd(i).GT.1.0).AND.(zrel_oro(i).LE.zrel_oro_t)) THEN
    60856085             itest(i)=1
    60866086             igwd=igwd+1
     
    60946094       DO i=1,klon
    60956095          itest(i)=0
    6096         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
     6096        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
    60976097             itest(i)=1
    60986098             igwd=igwd+1
Note: See TracChangeset for help on using the changeset viewer.