Ignore:
Timestamp:
Jul 23, 2024, 3:29:36 PM (6 months ago)
Author:
abarral
Message:

Handle CPP_INLANDSIS in lmdz_cppkeys_wrapper.F90
Remove obsolete key wrgrads_thermcell, _ADV_HALO, _ADV_HALLO, isminmax
Remove redundant uses of CPPKEY_INCA (thanks acozic)
Remove obsolete misc/write_field.F90
Remove unused ioipsl_* wrappers
Remove calls to WriteField_u with wrong signature
Convert .F -> .[fF]90
(lint) uppercase fortran operators
[note: 1d and iso still broken - working on it]

Location:
LMDZ6/branches/Amaury_dev/libf/phylmd/Ocean_skin
Files:
5 edited

Legend:

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

    r5101 r5103  
    55contains
    66
    7   subroutine bulk_flux(tkt, tks, taur, dter, dser, t_int, s_int, ds_ns, dt_ns, &
     7  SUBROUTINE bulk_flux(tkt, tks, taur, dter, dser, t_int, s_int, ds_ns, dt_ns, &
    88       u, t_ocean_1, s1, rain, hf, hlb, rnl, tau, rhoa, xlv, rf, dtime, rns)
    99
     
    151151    s_int = s_subskin + dser
    152152
    153   end subroutine bulk_flux
     153  END SUBROUTINE bulk_flux
    154154
    155155end module bulk_flux_m
  • LMDZ6/branches/Amaury_dev/libf/phylmd/Ocean_skin/config_ocean_skin_m.F90

    r5101 r5103  
    2727contains
    2828
    29   subroutine config_ocean_skin
     29  SUBROUTINE config_ocean_skin
    3030
    3131#ifdef IN_LMDZ
     
    5858    select case (flag_ocean_skin)
    5959    case (0)
    60        jwarm = .false.
    61        jcool = .false.
    62        rain_effect = .false.
     60       jwarm = .FALSE.
     61       jcool = .FALSE.
     62       rain_effect = .FALSE.
    6363    case (1)
    64        jwarm = .false.
    65        jcool = .true.
    66        rain_effect = .false.
     64       jwarm = .FALSE.
     65       jcool = .TRUE.
     66       rain_effect = .FALSE.
    6767    case (2)
    68        jwarm = .true.
    69        jcool = .true.
    70        rain_effect = .false.
     68       jwarm = .TRUE.
     69       jcool = .TRUE.
     70       rain_effect = .FALSE.
    7171    case (3)
    72        jwarm = .true.
    73        jcool = .true.
    74        rain_effect = .true.
     72       jwarm = .TRUE.
     73       jcool = .TRUE.
     74       rain_effect = .TRUE.
    7575    case default
    7676       print *, "config_ocean_skin: bad value for flag_ocean_skin."
     
    7878    end select
    7979
    80   end subroutine config_ocean_skin
     80  END SUBROUTINE config_ocean_skin
    8181
    8282end module config_ocean_skin_m
  • LMDZ6/branches/Amaury_dev/libf/phylmd/Ocean_skin/const.F90

    r3816 r5103  
    33  implicit none
    44
    5   real, parameter:: beta = 0.756 / 1023.343
     5  real, parameter :: beta = 0.756 / 1023.343
    66  ! Salinity expansion coefficient. Derivative with respect to
    77  ! practical salinity, not mass fraction of salt. Value at 25 Celsius
     
    99  ! k0829, table A.3.1).
    1010
    11   real, parameter:: cpa = 1004.67
     11  real, parameter :: cpa = 1004.67
    1212  ! specific heat of dry air, in J / kg / K (Businger 1982)
    1313
    14   real, parameter:: cpw = 4000. ! specific heat of liquid water, in J / kg / K
    15   real, parameter:: grav = 9.780326772 ! constante de gravitation, m s-2
    16   real, parameter:: rhow = 1022. ! density of liquid water, in kg / m3
     14  real, parameter :: cpw = 4000. ! specific heat of liquid water, in J / kg / K
     15  real, parameter :: grav = 9.780326772 ! constante de gravitation, m s-2
     16  real, parameter :: rhow = 1022. ! density of liquid water, in kg / m3
    1717
    18   real, parameter:: rgas = 287.1
     18  real, parameter :: rgas = 287.1
    1919  ! specific ideal gas constant for dry air, in J / kg / K
    2020
    21   real, parameter:: von = 0.4 ! von Karman's "constant"
     21  real, parameter :: von = 0.4 ! von Karman's "constant"
    2222
    23   real, parameter:: eps_w = 0.62197
     23  real, parameter :: eps_w = 0.62197
    2424  ! molecular mass of water over molecular mass of dry air (Gill 1982
    2525  ! k0829, equation 3.1.13)
  • LMDZ6/branches/Amaury_dev/libf/phylmd/Ocean_skin/microlayer_m.F90

    r3834 r5103  
    55contains
    66
    7   subroutine Microlayer(dter, dser, tkt, tks, hlb, tau, s_subskin, al, &
     7  SUBROUTINE Microlayer(dter, dser, tkt, tks, hlb, tau, s_subskin, al, &
    88       xlv, taur, rf, rain, qcol)
    99
     
    102102         / (rhow * mu) ! eq. fresh skin
    103103
    104   end subroutine Microlayer
     104  END SUBROUTINE Microlayer
    105105
    106106end module Microlayer_m
  • LMDZ6/branches/Amaury_dev/libf/phylmd/Ocean_skin/near_surface_m.F90

    r3834 r5103  
    88contains
    99
    10   subroutine near_surface(al, t_subskin, s_subskin, ds_ns, dt_ns, tau, taur, &
     10  SUBROUTINE near_surface(al, t_subskin, s_subskin, ds_ns, dt_ns, tau, taur, &
    1111       hlb, rhoa, xlv, dtime, t_ocean_1, s1, rain, q_pwp)
    1212
     
    152152    s_subskin = s_fnd + ds_ns
    153153
    154   end subroutine Near_Surface
     154  END SUBROUTINE Near_Surface
    155155
    156156end module Near_Surface_m
Note: See TracChangeset for help on using the changeset viewer.