Changeset 4466


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

fixing bug about previous commit on SSO activation

Location:
LMDZ6/trunk/libf
Files:
3 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
  • 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.