- Timestamp:
- Jan 11, 2021, 11:24:08 PM (3 years ago)
- Location:
- LMDZ6/branches/Ocean_skin
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
LMDZ6/branches/Ocean_skin
-
LMDZ6/branches/Ocean_skin/libf/phylmd/ocean_forced_mod.F90
r3687 r3798 39 39 INCLUDE "YOMCST.h" 40 40 INCLUDE "clesphys.h" 41 41 INCLUDE "flux_arp.h" 42 42 43 43 ! Input arguments … … 96 96 !!jyg if (knon.eq.1) then ! single-column model 97 97 if (klon_glo.eq.1) then ! single-column model 98 CALL read_tsurf1d(knon,tsurf_lim) ! new 98 ! EV: now surface Tin flux_arp.h 99 !CALL read_tsurf1d(knon,tsurf_lim) ! new 100 DO i = 1, knon 101 tsurf_lim(i) = tg 102 ENDDO 103 99 104 else ! GCM 100 105 CALL limit_read_sst(knon,knindex,tsurf_lim) … … 108 113 !**************************************************************************************** 109 114 ! Set some variables for calcul_fluxs 110 cal = 0. 111 beta = 1. 112 dif_grnd = 0. 115 !cal = 0. 116 !beta = 1. 117 !dif_grnd = 0. 118 119 120 ! EV: use calbeta to calculate beta 121 ! Need to initialize qsurf for calbeta but it is not modified by this routine 122 qsurf(:)=0. 123 CALL calbeta(dtime, is_oce, knon, snow, qsurf, beta, cal, dif_grnd) 124 125 113 126 alb_neig(:) = 0. 114 127 agesno(:) = 0. … … 174 187 USE phys_output_var_mod, ONLY : sens_prec_liq_o, sens_prec_sol_o, lat_prec_liq_o, lat_prec_sol_o 175 188 176 ! 189 ! INCLUDE "indicesol.h" 177 190 INCLUDE "dimsoil.h" 178 191 INCLUDE "YOMCST.h" 179 192 INCLUDE "clesphys.h" 193 INCLUDE "flux_arp.h" 180 194 181 195 ! Input arguments … … 240 254 tsurf_tmp(:) = tsurf_in(:) 241 255 242 ! calculate the parameters cal, beta, capsol and dif_grnd 256 ! calculate the parameters cal, beta, capsol and dif_grnd and then recalculate cal 243 257 CALL calbeta(dtime, is_sic, knon, snow, qsol, beta, capsol, dif_grnd) 244 258 … … 256 270 ENDIF 257 271 258 beta = 1.0272 ! beta = 1.0 259 273 lat_prec_liq = 0.; lat_prec_sol = 0. 260 274 … … 314 328 ! 1D case 315 329 !************************************************************************ 316 SUBROUTINE read_tsurf1d(knon,sst_out)317 330 ! SUBROUTINE read_tsurf1d(knon,sst_out) 331 ! 318 332 ! This subroutine specifies the surface temperature to be used in 1D simulations 319 320 USE dimphy, ONLY : klon321 322 INTEGER, INTENT(IN) :: knon ! nomber of points on compressed grid323 REAL, DIMENSION(klon), INTENT(OUT) :: sst_out ! tsurf used to force the single-column model324 325 INTEGER :: i333 ! 334 ! USE dimphy, ONLY : klon 335 ! 336 ! INTEGER, INTENT(IN) :: knon ! nomber of points on compressed grid 337 ! REAL, DIMENSION(klon), INTENT(OUT) :: sst_out ! tsurf used to force the single-column model 338 ! 339 ! INTEGER :: i 326 340 ! COMMON defined in lmdz1d.F: 327 real ts_cur328 common /sst_forcing/ts_cur329 330 DO i = 1, knon331 sst_out(i) = ts_cur332 ENDDO333 334 END SUBROUTINE read_tsurf1d335 341 ! real ts_cur 342 ! common /sst_forcing/ts_cur 343 ! 344 ! DO i = 1, knon 345 ! sst_out(i) = ts_cur 346 ! ENDDO 347 ! 348 ! END SUBROUTINE read_tsurf1d 349 ! 336 350 ! 337 351 !************************************************************************ 338 !339 352 END MODULE ocean_forced_mod 340 353
Note: See TracChangeset
for help on using the changeset viewer.