- Timestamp:
- Jan 6, 2017 4:01:15 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
palm/trunk/SOURCE/ls_forcing_mod.f90
r2101 r2104 20 20 ! Current revisions: 21 21 ! ------------------ 22 ! 22 ! Bugfix for approximation related flux input conversion 23 23 ! 24 24 ! Former revisions: … … 115 115 ONLY: p_surf, pt_surf, q_surf, qsws_surf, shf_surf, td_lsa_lpt, & 116 116 td_lsa_q, td_sub_lpt, td_sub_q, time_surf, time_vert, & 117 heatflux_input_conversion, waterflux_input_conversion, &118 117 ug_vert, vg_vert, wsubs_vert, zu 119 118 … … 226 225 CALL message( 'ls_forcing', 'PA0371', 0, 0, 0, 6, 0 ) 227 226 lsf_surf = .FALSE. 228 ELSE229 shf_surf = shf_surf * heatflux_input_conversion(nzb)230 qsws_surf = qsws_surf * waterflux_input_conversion(nzb)231 227 ENDIF 232 228 … … 358 354 USE arrays_3d, & 359 355 ONLY: p_surf, pt_surf, q_surf, qsws, qsws_surf, shf, shf_surf, & 356 heatflux_input_conversion, waterflux_input_conversion, & 360 357 time_surf, time_vert, ug, ug_vert, vg, vg_vert 361 358 … … 363 360 ONLY: bc_q_b, ibc_pt_b, ibc_q_b, pt_surface, q_surface, & 364 361 surface_pressure 362 363 USE indices, & 364 ONLY: nzb 365 365 366 366 USE kinds … … 395 395 !-- In case of Neumann boundary condition pt_surface is needed for 396 396 !-- calculation of reference density 397 shf = shf_surf(nt) + fac * ( shf_surf(nt+1) - shf_surf(nt) ) 397 shf = ( shf_surf(nt) + fac * ( shf_surf(nt+1) - shf_surf(nt) )& 398 ) * heatflux_input_conversion(nzb) 398 399 pt_surface = pt_surf(nt) + fac * ( pt_surf(nt+1) - pt_surf(nt) ) 399 400 … … 408 409 ELSEIF ( ibc_q_b == 1 ) THEN 409 410 410 qsws = qsws_surf(nt) + fac * ( qsws_surf(nt+1) - qsws_surf(nt) ) 411 qsws = ( qsws_surf(nt) + fac * ( qsws_surf(nt+1) - qsws_surf(nt) ) & 412 ) * waterflux_input_conversion(nzb) 411 413 412 414 ENDIF
Note: See TracChangeset
for help on using the changeset viewer.