Ignore:
Timestamp:
Jul 24, 2024, 2:54:37 PM (3 months ago)
Author:
abarral
Message:

rename modules properly lmdz_*
move ismin, ismax, minmax into new lmdz_libmath.f90
(lint) uppercase fortran keywords

File:
1 edited

Legend:

Unmodified
Added
Removed
  • LMDZ6/branches/Amaury_dev/libf/phylmd/Ocean_skin/bulk_flux_m.F90

    r5113 r5116  
    88       u, t_ocean_1, s1, rain, hf, hlb, rnl, tau, rhoa, xlv, rf, dtime, rns)
    99
    10     use config_ocean_skin_m, only: jwarm, jcool, rain_effect
    11     use Microlayer_m, only: Microlayer
    12     use mom_flux_rain_m, only: mom_flux_rain
    13     use Near_Surface_m, only: Near_Surface, depth
    14     use therm_expans_m, only: therm_expans
     10    use config_ocean_skin_m, ONLY: jwarm, jcool, rain_effect
     11    use Microlayer_m, ONLY: Microlayer
     12    use mom_flux_rain_m, ONLY: mom_flux_rain
     13    use Near_Surface_m, ONLY: Near_Surface, depth
     14    use therm_expans_m, ONLY: therm_expans
    1515
    1616    real, intent(out):: tkt(:)
     
    9797    !-------------------------------------------------------------------
    9898
    99     if (rain_effect) then
     99    if (rain_effect) THEN
    100100       taur = mom_flux_rain(u, rain)
    101101    else
     
    106106    if (jwarm .or. jcool) tau_with_min = tau + tau_0 * (1. - exp(- tau_0 / tau))
    107107
    108     if (Jwarm) then
    109        if (rain_effect) then
     108    if (Jwarm) THEN
     109       if (rain_effect) THEN
    110110          CALL Near_Surface(al, t_subskin, s_subskin, ds_ns, dt_ns, &
    111111               tau_with_min, taur, hlb, rhoa, xlv, dtime, t_ocean_1, s1, rain, &
     
    122122    end if
    123123
    124     if (Jcool) then
     124    if (Jcool) THEN
    125125       ! First guess:
    126126       tkt = 0.001
     
    131131          dels = rns * (0.065 + 11. * tkt - 6.6e-5 / tkt &
    132132               * (1. - exp(- tkt / 8e-4))) ! equation 16 Ohlmann
    133           if (rain_effect) then
     133          if (rain_effect) THEN
    134134             CALL Microlayer(dter, dser, tkt, tks, hlb, tau_with_min, &
    135135                  s_subskin, al, xlv, taur, rf, rain, &
Note: See TracChangeset for help on using the changeset viewer.