Ignore:
Timestamp:
Jun 17, 2022, 7:49:28 PM (2 years ago)
Author:
lguez
Message:

Polish

File:
1 edited

Legend:

Unmodified
Added
Removed
  • LMDZ6/trunk/libf/phylmd/Ocean_skin/sens_heat_rain_m.F90

    r3834 r4176  
    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.