Changeset 3627 for LMDZ6/branches/Ocean_skin/libf/phylmd/ocean_cpl_mod.F90
- Timestamp:
- Feb 3, 2020, 2:27:46 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
LMDZ6/branches/Ocean_skin/libf/phylmd/ocean_cpl_mod.F90
r3463 r3627 55 55 radsol, snow, agesno, & 56 56 qsurf, evap, fluxsens, fluxlat, flux_u1, flux_v1, & 57 tsurf_new, dflux_s, dflux_l )57 tsurf_new, dflux_s, dflux_l, sss) 58 58 59 59 ! … … 63 63 ! 64 64 USE dimphy, ONLY : klon 65 USE cpl_mod66 65 USE calcul_fluxs_mod 67 66 USE indice_sol_mod 68 67 USE phys_output_var_mod, ONLY : sens_prec_liq_o, sens_prec_sol_o, lat_prec_liq_o, lat_prec_sol_o 69 USE cpl_mod, ONLY : gath2cpl 68 USE cpl_mod, ONLY : gath2cpl, cpl_receive_ocean_fields, & 69 cpl_send_ocean_fields 70 70 use config_ocean_skin_m, only: activate_ocean_skin 71 71 … … 106 106 REAL, DIMENSION(klon), INTENT(OUT) :: tsurf_new 107 107 REAL, DIMENSION(klon), INTENT(OUT) :: dflux_s, dflux_l 108 109 REAL, INTENT(OUT):: sss(:) ! (klon) 110 ! bulk salinity of the surface layer of the ocean, in ppt 108 111 109 112 … … 130 133 ! 131 134 !**************************************************************************************** 132 CALL cpl_receive_ocean_fields(knon, knindex, tsurf_cpl, u0_cpl, v0_cpl) 135 CALL cpl_receive_ocean_fields(knon, knindex, tsurf_cpl, u0_cpl, v0_cpl, & 136 sss) 133 137 134 138 !**************************************************************************************** … … 156 160 tsurf_new, evap, fluxlat, fluxsens, dflux_s, dflux_l, & 157 161 sens_prec_liq, sens_prec_sol, lat_prec_liq, lat_prec_sol) 158 if (activate_ocean_skin == 2) tsurf_new = tsurf_cpl 162 163 if (activate_ocean_skin == 2) then 164 ! tsurf_new was set to tsurf_in in calcul_flux, correct it to 165 ! the new bulk SST tsurf_cpl: 166 tsurf_new = tsurf_cpl 167 end if 168 169 ! assertion: tsurf_new == tsurf_cpl 159 170 160 171 do j = 1, knon … … 197 208 swnet, lwnet, fluxlat, fluxsens, & 198 209 precip_rain, precip_snow, evap, tsurf_new, fder_new, alb1, flux_u1, flux_v1, windsp,& 199 sens_prec_liq, sens_prec_sol, lat_prec_liq, lat_prec_sol )210 sens_prec_liq, sens_prec_sol, lat_prec_liq, lat_prec_sol, tsurf_in) 200 211 201 212
Note: See TracChangeset
for help on using the changeset viewer.