Ignore:
Timestamp:
Sep 9, 2008, 3:22:23 PM (16 years ago)
Author:
lsce
Message:
  • Modifications liées au calcul des nouveau sous-fractions
  • Nettoyage de ocean slab : il reste uniquement la version avec glace de mer forcé
  • Nouveaux variables pour distiguer la version et type d'ocean : type_ocean=force/slab/couple, version_ocean=opa8/nemo pour couplé ou version_ocean=sicOBS pour slab

JG

File:
1 edited

Legend:

Unmodified
Added
Removed
  • LMDZ4/trunk/libf/phylmd/surf_ocean_mod.F90

    r888 r996  
    55
    66  USE dimphy
    7   USE surface_data, ONLY     : ocean
     7  USE surface_data, ONLY     : type_ocean
    88  USE ocean_forced_mod, ONLY : ocean_forced_noice
    99  USE ocean_slab_mod, ONLY   : ocean_slab_noice
     
    1717!
    1818  SUBROUTINE surf_ocean(rlon, rlat, swnet, lwnet, alb1, &
    19        rugos, windsp, rmu0, fder, &
     19       rugos, windsp, rmu0, fder, tsurf_in, &
    2020       itime, dtime, jour, knon, knindex, &
    2121       debut, &
     
    2525       snow, qsurf, agesno, &
    2626       z0_new, alb1_new, alb2_new, evap, fluxsens, fluxlat, &
    27        tsurf_new, dflux_s, dflux_l, pctsrf_oce)
     27       tsurf_new, dflux_s, dflux_l, lmt_bils)
    2828!
    2929! This subroutine will make a call to ocean_XXX_noice according to the ocean mode (force,
     
    4747    REAL, DIMENSION(klon), INTENT(IN)        :: rmu0 
    4848    REAL, DIMENSION(klon), INTENT(IN)        :: fder
     49    REAL, DIMENSION(klon), INTENT(IN)        :: tsurf_in
    4950    REAL, DIMENSION(klon), INTENT(IN)        :: p1lay
    5051    REAL, DIMENSION(klon), INTENT(IN)        :: tq_cdrag
     
    7475    REAL, DIMENSION(klon), INTENT(OUT)       :: tsurf_new
    7576    REAL, DIMENSION(klon), INTENT(OUT)       :: dflux_s, dflux_l     
    76     REAL, DIMENSION(klon), INTENT(OUT)       :: pctsrf_oce
    77 
     77    REAL, DIMENSION(klon), INTENT(OUT)       :: lmt_bils
    7878
    7979! Local variables
     
    9797! Switch according to type of ocean (couple, slab or forced)
    9898!****************************************************************************************
    99     SELECT CASE(ocean)
     99    SELECT CASE(type_ocean)
    100100    CASE('couple')
    101101       CALL ocean_cpl_noice( &
     
    106106            p1lay, tq_cdrag, precip_rain, precip_snow,temp_air,spechum,&
    107107            petAcoef, peqAcoef, petBcoef, peqBcoef, &
    108             ps, u1_lay, v1_lay, pctsrf, &
     108            ps, u1_lay, v1_lay, &
    109109            radsol, snow, agesno, &
    110110            qsurf, evap, fluxsens, fluxlat, &
    111             tsurf_new, dflux_s, dflux_l, pctsrf_oce)
     111            tsurf_new, dflux_s, dflux_l)
    112112
    113113    CASE('slab')
    114114       CALL ocean_slab_noice( &
    115             dtime, knon, knindex, &
     115            itime, dtime, jour, knon, knindex, &
    116116            p1lay, tq_cdrag, precip_rain, precip_snow, temp_air, spechum,&
    117117            petAcoef, peqAcoef, petBcoef, peqBcoef, &
    118             ps, u1_lay, v1_lay, &
     118            ps, u1_lay, v1_lay, tsurf_in, &
    119119            radsol, snow, agesno, &
    120120            qsurf, evap, fluxsens, fluxlat, &
    121             tsurf_new, dflux_s, dflux_l, pctsrf_oce)
     121            tsurf_new, dflux_s, dflux_l, lmt_bils)
    122122       
    123123    CASE('force')
     
    131131            radsol, snow, agesno, &
    132132            qsurf, evap, fluxsens, fluxlat, &
    133             tsurf_new, dflux_s, dflux_l, pctsrf_oce)
     133            tsurf_new, dflux_s, dflux_l)
    134134    END SELECT
    135135
Note: See TracChangeset for help on using the changeset viewer.