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:
3 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
Note: See TracChangeset for help on using the changeset viewer.