Ignore:
Timestamp:
Jan 23, 2025, 5:37:12 PM (8 days ago)
Author:
fhourdin
Message:

Modification SPLA pour résoudre redondance INCA

Location:
LMDZ6/trunk/libf/phylmd
Files:
1 added
2 edited
1 moved

Legend:

Unmodified
Added
Removed
  • LMDZ6/trunk/libf/phylmd/Dust/lmdz_spla_nightingale.f90

    r5504 r5505  
    1 SUBROUTINE nightingale(u, v, u_10m, v_10m, paprs, pplay, &
     1MODULE lmdz_spla_nightingale
     2CONTAINS
     3SUBROUTINE spla_nightingale(klon,klev,nbsrf,u, v, u_10m, v_10m, paprs, pplay, &
    24        cdragh, cdragm, t, q, ftsol, tsol, &
    35        pctsrf, lmt_dmsconc, lmt_dms)
    46  !
    5   USE dimphy
    6   USE indice_sol_mod
    7 USE yomcst_mod_h
     7USE lmdz_spla_ini, ONLY: is_oce, RNAVO
     8
    89IMPLICIT NONE
    910  !
    10 
    11 
     11INTEGER klon,klev,nbsrf
    1212  !
    13   REAL :: u(klon,klev), v(klon,klev)
    14   REAL :: u_10m(klon), v_10m(klon)
    15   REAL :: ftsol(klon,nbsrf)
    16   REAL :: tsol(klon)
    17   REAL :: paprs(klon,klev+1), pplay(klon,klev)
    18   REAL :: t(klon,klev)
    19   REAL :: q(klon,klev)
    20   REAL :: cdragh(klon), cdragm(klon)
    21   REAL :: pctsrf(klon,nbsrf)
    22   REAL :: lmt_dmsconc(klon)  ! concentration oceanique DMS
    23   REAL :: lmt_dms(klon)      ! flux de DMS
     13  REAL, dimension(klon,klev), intent(in) :: u, v
     14  REAL, dimension(klon), intent(in):: u_10m, v_10m
     15  REAL, dimension(klon,nbsrf), intent(in):: ftsol
     16  REAL, dimension(klon), intent(in) :: tsol
     17  REAL, dimension(klon,klev+1), intent(in) :: paprs
     18  REAL, dimension(klon,klev), intent(in) :: pplay
     19  REAL, dimension(klon,klev), intent(in) :: t
     20  REAL, dimension(klon,klev), intent(in) :: q
     21  REAL, dimension(klon), intent(in) :: cdragh, cdragm
     22  REAL, dimension(klon,nbsrf), intent(in) :: pctsrf
     23  REAL, dimension(klon), intent(out) :: lmt_dmsconc  ! concentration oceanique DMS
     24  REAL, dimension(klon), intent(out) :: lmt_dms      ! flux de DMS
    2425  !
    25   REAL :: ustar(klon), obklen(klon)
    26   REAL :: u10(klon), u10n(klon)
     26  REAL, dimension(klon) :: ustar, obklen
     27  REAL, dimension(klon) :: u10, u10n
    2728  REAL :: tvelocity, schmidt_corr
    2829  REAL :: t1, t2, t3, t4, viscosity_kin, diffusivity, schmidt
     
    8283  ENDDO
    8384  !
    84 END SUBROUTINE nightingale
     85END SUBROUTINE spla_nightingale
     86END MODULE lmdz_spla_nightingale
  • LMDZ6/trunk/libf/phylmd/Dust/precuremission.f90

    r5337 r5505  
    1616        source_tr,flux_tr,tr_seri)
    1717
     18USE lmdz_spla_nightingale, ONLY: spla_nightingale
    1819USE chem_spla_mod_h
    1920  USE chem_mod_h
     
    8485  REAL :: lmt_h2sbio(klon)        ! emissions de h2s bio
    8586
    86   EXTERNAL condsurfs, liss, nightingale
     87  EXTERNAL condsurfs, liss
    8788  !=========================================================================
    8889  ! Modifications introduced by NHL
     
    9697  !=========================================================================
    9798
    98      CALL nightingale(u_seri, v_seri, u10m_ec, v10m_ec, paprs, &
     99     CALL spla_nightingale(klon,klev,nbsrf,u_seri, v_seri, u10m_ec, v10m_ec, paprs, &
    99100           pplay, cdragh, cdragm, t_seri, q_seri, ftsol, &
    100101           tsol, pctsrf, lmt_dmsconc, lmt_dms)
  • LMDZ6/trunk/libf/phylmd/physiq_mod.F90

    r5500 r5505  
    132132    USE lmdz_xios, ONLY: xios_get_field_attr, xios_field_is_active, xios_context
    133133    USE lmdz_xios, ONLY: xios_set_current_context
    134     use wxios_mod, ONLY: missing_val, using_xios
     134    USE wxios_mod, ONLY: missing_val, using_xios
     135    USE lmdz_spla_ini, ONLY : spla_ini
    135136
    136137#ifndef CPP_XIOS
     
    18831884IF (CPPKEY_DUST) THEN
    18841885       ! Quand on utilise SPLA, on force iflag_phytrac=1
     1886       CALL spla_ini(is_oce,RNAVO)
    18851887       CALL phytracr_spl_out_init()
    18861888       CALL phys_output_write_spl(itap, pdtphys, paprs, pphis,                  &
Note: See TracChangeset for help on using the changeset viewer.