Changeset 996 for LMDZ4/trunk/libf/phylmd/surf_ocean_mod.F90
- Timestamp:
- Sep 9, 2008, 3:22:23 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
LMDZ4/trunk/libf/phylmd/surf_ocean_mod.F90
r888 r996 5 5 6 6 USE dimphy 7 USE surface_data, ONLY : ocean7 USE surface_data, ONLY : type_ocean 8 8 USE ocean_forced_mod, ONLY : ocean_forced_noice 9 9 USE ocean_slab_mod, ONLY : ocean_slab_noice … … 17 17 ! 18 18 SUBROUTINE surf_ocean(rlon, rlat, swnet, lwnet, alb1, & 19 rugos, windsp, rmu0, fder, &19 rugos, windsp, rmu0, fder, tsurf_in, & 20 20 itime, dtime, jour, knon, knindex, & 21 21 debut, & … … 25 25 snow, qsurf, agesno, & 26 26 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) 28 28 ! 29 29 ! This subroutine will make a call to ocean_XXX_noice according to the ocean mode (force, … … 47 47 REAL, DIMENSION(klon), INTENT(IN) :: rmu0 48 48 REAL, DIMENSION(klon), INTENT(IN) :: fder 49 REAL, DIMENSION(klon), INTENT(IN) :: tsurf_in 49 50 REAL, DIMENSION(klon), INTENT(IN) :: p1lay 50 51 REAL, DIMENSION(klon), INTENT(IN) :: tq_cdrag … … 74 75 REAL, DIMENSION(klon), INTENT(OUT) :: tsurf_new 75 76 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 78 78 79 79 ! Local variables … … 97 97 ! Switch according to type of ocean (couple, slab or forced) 98 98 !**************************************************************************************** 99 SELECT CASE( ocean)99 SELECT CASE(type_ocean) 100 100 CASE('couple') 101 101 CALL ocean_cpl_noice( & … … 106 106 p1lay, tq_cdrag, precip_rain, precip_snow,temp_air,spechum,& 107 107 petAcoef, peqAcoef, petBcoef, peqBcoef, & 108 ps, u1_lay, v1_lay, pctsrf,&108 ps, u1_lay, v1_lay, & 109 109 radsol, snow, agesno, & 110 110 qsurf, evap, fluxsens, fluxlat, & 111 tsurf_new, dflux_s, dflux_l , pctsrf_oce)111 tsurf_new, dflux_s, dflux_l) 112 112 113 113 CASE('slab') 114 114 CALL ocean_slab_noice( & 115 dtime, knon, knindex, &115 itime, dtime, jour, knon, knindex, & 116 116 p1lay, tq_cdrag, precip_rain, precip_snow, temp_air, spechum,& 117 117 petAcoef, peqAcoef, petBcoef, peqBcoef, & 118 ps, u1_lay, v1_lay, &118 ps, u1_lay, v1_lay, tsurf_in, & 119 119 radsol, snow, agesno, & 120 120 qsurf, evap, fluxsens, fluxlat, & 121 tsurf_new, dflux_s, dflux_l, pctsrf_oce)121 tsurf_new, dflux_s, dflux_l, lmt_bils) 122 122 123 123 CASE('force') … … 131 131 radsol, snow, agesno, & 132 132 qsurf, evap, fluxsens, fluxlat, & 133 tsurf_new, dflux_s, dflux_l , pctsrf_oce)133 tsurf_new, dflux_s, dflux_l) 134 134 END SELECT 135 135
Note: See TracChangeset
for help on using the changeset viewer.