Changeset 996 for LMDZ4/trunk/libf/phylmd/surf_seaice_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_seaice_mod.F90
r888 r996 5 5 6 6 USE dimphy 7 USE surface_data, ONLY : ocean 8 USE ocean_slab_mod, ONLY : ocean_slab_ice 7 USE surface_data 9 8 USE ocean_forced_mod, ONLY : ocean_forced_ice 10 9 USE ocean_cpl_mod, ONLY : ocean_cpl_ice … … 24 23 snow, qsurf, qsol, agesno, tsoil, & 25 24 z0_new, alb1_new, alb2_new, evap, fluxsens, fluxlat, & 26 tsurf_new, dflux_s, dflux_l , pctsrf_sic)25 tsurf_new, dflux_s, dflux_l) 27 26 ! 28 27 ! This subroutine will make a call to ocean_XXX_ice according to the ocean mode (force, … … 70 69 REAL, DIMENSION(klon), INTENT(OUT) :: tsurf_new 71 70 REAL, DIMENSION(klon), INTENT(OUT) :: dflux_s, dflux_l 72 REAL, DIMENSION(klon), INTENT(OUT) :: pctsrf_sic73 71 74 72 ! Local arguments … … 91 89 ! 92 90 !**************************************************************************************** 93 SELECT CASE(ocean)94 CASE('couple')91 IF (type_ocean == 'couple') THEN 92 95 93 CALL ocean_cpl_ice( & 96 rlon, rlat, swnet, lwnet, alb1, & 97 fder, & 98 itime, dtime, knon, knindex, & 99 lafin,& 100 p1lay, tq_cdrag, precip_rain, precip_snow, temp_air, spechum,& 101 petAcoef, peqAcoef, petBcoef, peqBcoef, & 102 ps, u1_lay, v1_lay, pctsrf, & 103 radsol, snow, qsurf, & 104 alb1_new, alb2_new, evap, fluxsens, fluxlat, & 105 tsurf_new, dflux_s, dflux_l, pctsrf_sic) 94 rlon, rlat, swnet, lwnet, alb1, & 95 fder, & 96 itime, dtime, knon, knindex, & 97 lafin,& 98 p1lay, tq_cdrag, precip_rain, precip_snow, temp_air, spechum,& 99 petAcoef, peqAcoef, petBcoef, peqBcoef, & 100 ps, u1_lay, v1_lay, pctsrf, & 101 radsol, snow, qsurf, & 102 alb1_new, alb2_new, evap, fluxsens, fluxlat, & 103 tsurf_new, dflux_s, dflux_l) 104 105 ELSE IF (type_ocean == 'force' .OR. (type_ocean == 'slab' .AND. version_ocean=='sicOBS')) THEN 106 CALL ocean_forced_ice(itime, dtime, jour, knon, knindex, & 107 debut, & 108 tsurf, p1lay, tq_cdrag, precip_rain, precip_snow, temp_air, spechum,& 109 petAcoef, peqAcoef, petBcoef, peqBcoef, & 110 ps, u1_lay, v1_lay, & 111 radsol, snow, qsol, agesno, tsoil, & 112 qsurf, alb1_new, alb2_new, evap, fluxsens, fluxlat, & 113 tsurf_new, dflux_s, dflux_l) 106 114 107 CASE('slab') 108 CALL ocean_slab_ice( & 109 itime, dtime, jour, knon, knindex, & 110 debut, & 111 tsurf, p1lay, tq_cdrag, precip_rain, precip_snow, temp_air, spechum,& 112 petAcoef, peqAcoef, petBcoef, peqBcoef, & 113 ps, u1_lay, v1_lay, & 114 radsol, snow, qsurf, qsol, agesno, tsoil, & 115 alb1_new, alb2_new, evap, fluxsens, fluxlat, & 116 tsurf_new, dflux_s, dflux_l, pctsrf_sic) 117 118 CASE('force') 119 CALL ocean_forced_ice(itime, dtime, jour, knon, knindex, & 120 debut, & 121 tsurf, p1lay, tq_cdrag, precip_rain, precip_snow, temp_air, spechum,& 122 petAcoef, peqAcoef, petBcoef, peqBcoef, & 123 ps, u1_lay, v1_lay, & 124 radsol, snow, qsol, agesno, tsoil, & 125 qsurf, alb1_new, alb2_new, evap, fluxsens, fluxlat, & 126 tsurf_new, dflux_s, dflux_l, pctsrf_sic) 127 END SELECT 115 ELSE IF (type_ocean == 'slab') THEN 116 !!$ CALL ocean_slab_ice( & 117 !!$ itime, dtime, jour, knon, knindex, & 118 !!$ debut, & 119 !!$ tsurf, p1lay, tq_cdrag, precip_rain, precip_snow, temp_air, spechum,& 120 !!$ petAcoef, peqAcoef, petBcoef, peqBcoef, & 121 !!$ ps, u1_lay, v1_lay, pctsrf, & 122 !!$ radsol, snow, qsurf, qsol, agesno, tsoil, & 123 !!$ alb1_new, alb2_new, evap, fluxsens, fluxlat, & 124 !!$ tsurf_new, dflux_s, dflux_l) 125 126 END IF 128 127 129 128 !****************************************************************************************
Note: See TracChangeset
for help on using the changeset viewer.