Ignore:
Timestamp:
Jul 19, 2022, 1:33:28 PM (2 years ago)
Author:
lguez
Message:

Sync latest trunk changes to branch LMDZ_ECRad.

Location:
LMDZ6/branches/LMDZ_ECRad
Files:
7 edited

Legend:

Unmodified
Added
Removed
  • LMDZ6/branches/LMDZ_ECRad

  • LMDZ6/branches/LMDZ_ECRad/libf/phylmd/Ocean_skin/config_ocean_skin_m.F90

    r3834 r4203  
    1111  ! the depth of a sensor, or the depth at the middle of the first
    1212  ! layer of an ocean model (half the depth of the first layer). In
    13   ! m. Setting depth_1 to any value >= depth has the same effect as
    14   ! setting depth_1 to depth.
     13  ! m. Setting depth_1 to any value >= depth (named constant defined
     14  ! in module `near_Surface_m`) has the same effect as setting depth_1
     15  ! to depth.
    1516
    1617  !$omp threadprivate(jcool, jwarm, rain_effect, depth_1)
  • LMDZ6/branches/LMDZ_ECRad/libf/phylmd/Ocean_skin/sens_heat_rain_m.F90

    r3834 r4203  
    55contains
    66
     7#ifdef IN_LMDZ
    78  real function sens_heat_rain(rain, t, q, rhoa, xlv, t_int, p)
     9#else
     10  elemental real function sens_heat_rain(rain, t, q, rhoa, xlv, t_int, p)
     11#endif
    812
    913    ! Computes heat flux due to rainfall, in W m-2, positive
    1014    ! upward.
    1115
    12     ! Do not declare this function as elemental because it may include
    13     ! YOMCST.h, which contains an OpenMP directive, and that only
    14     ! works in OpenMP 5.0.
     16    ! If in LMDZ, do not declare this function as elemental because
     17    ! YOMCST.h contains an OpenMP directive, and that only works in
     18    ! OpenMP 5.0.
    1519
    1620    use const, only: cpa, cpw, rgas
  • LMDZ6/branches/LMDZ_ECRad/libf/phylmd/aero_mod.F90

    r4147 r4203  
    5555       "ASBCM  ", & ! Accumulation-mode Soluble Black Carbon Mass
    5656       "ASPOMM ", & ! Accumulation-mode Soluble Particle Organic Matter Mass
    57        "SO4    ", & ! Sulfate
     57       "SO4    ", & ! Accumulation-mode Soluble Sulfate
    5858       "CSSO4M ", & ! Coarse-mode Soluble Sulfate Mass
    5959       "SSSSM  ", & ! Super-coarse mode Soluble Sea-Salt Mass
  • LMDZ6/branches/LMDZ_ECRad/libf/phylmd/infotrac_phy.F90

    r4172 r4203  
    162162
    163163   type_trac = type_trac_
    164    IF(strParse(type_trac, '|', types_trac)) CALL abort_gcm(modname,'can''t parse "type_trac = '//TRIM(type_trac)//'"',1)
     164   IF(strParse(type_trac, '|', types_trac)) CALL abort_physic(modname,'can''t parse "type_trac = '//TRIM(type_trac)//'"',1)
    165165   tracers   = tracers_
    166166   isotopes  = isotopes_
  • LMDZ6/branches/LMDZ_ECRad/libf/phylmd/phys_output_write_mod.F90

    r4188 r4203  
    25512551           CALL histwrite_phy(o_flx_co2_bb,    fco2_bb)
    25522552
    2553          ELSE IF (ANY(types_trac=='lmdz') .OR. ANY(types_trac=='coag')) THEN
     2553         ELSE IF ((ANY(types_trac=='lmdz') .OR. ANY(types_trac=='coag')) .AND. ALL(types_trac /= 'inca')) THEN
    25542554           itr = 0
    25552555           DO iq = 1, nqtot
  • LMDZ6/branches/LMDZ_ECRad/libf/phylmd/rrtm/rrtm_taumol2.F90

    r2871 r4203  
    2222 & FORREF   ,SELFREF , REFPARAM 
    2323USE YOERRTBG2, ONLY : CORR1  ,CORR2
     24
     25USE print_control_mod, ONLY: mydebug=>debug , lunout, prt_level, &
     26 & alert_first_call, call_alert, prt_alerte
    2427
    2528!  Input
     
    6568!      EQUIVALENCE (TAUAERL(1,2),TAUAER)
    6669
     70    CHARACTER (LEN=20) :: modname='rrtm_taumol2'
     71    CHARACTER*80 message
     72
    6773!     Compute the optical depth by interpolating in ln(pressure) and
    6874!     temperature.  Below LAYTROP, the water vapor self-continuum is
     
    115121! C'est evidemment une correction suspecte
    116122  IF (IFP>200) THEN
     123   IF (call_alert) THEN
     124      message='WARNING IFP='
     125      CALL prt_alerte(message,modname,1)
    117126      PRINT*,'WARNING IFP=',IFP,' 2.E2_JPRB*Z_FP+0.5_JPRB avec Z_FP=',Z_FP
    118127      IFP=200
     128   ENDIF
    119129  ENDIF
    120130
     
    156166  IF (IFP <= 0) IFP=0
    157167  IF (IFP>200) THEN
     168   IF (call_alert) THEN
     169      message='WARNING IFP='
     170      CALL prt_alerte(message,modname,1)
    158171      PRINT*,'WARNING IFP=',IFP,' 2.E2_JPRB*Z_FP+0.5_JPRB avec Z_FP=',Z_FP
    159172      IFP=200
     173   ENDIF
    160174  ENDIF
    161175
Note: See TracChangeset for help on using the changeset viewer.