- Timestamp:
- May 18, 2018 11:12:35 AM (7 years ago)
- Location:
- palm/trunk/SOURCE
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
palm/trunk/SOURCE/advec_ws.f90
r2731 r3022 25 25 ! ----------------- 26 26 ! $Id$ 27 ! Bugfix in calculation of left-sided fluxes for u-component in OpenMP case. 28 ! 29 ! 2731 2018-01-09 17:44:02Z suehring 27 30 ! Enable loop vectorization by splitting the k-loop 28 31 ! … … 1743 1746 1744 1747 USE indices, & 1745 ONLY: nxl, nx r, nyn, nys, nzb, nzb_max, nzt, advc_flags_11748 ONLY: nxl, nxlu, nxr, nyn, nys, nzb, nzb_max, nzt, advc_flags_1 1746 1749 1747 1750 USE kinds … … 1849 1852 ! 1850 1853 !-- Compute leftside fluxes for the respective boundary of PE 1851 IF ( i == i_omp ) THEN1854 IF ( i == i_omp .OR. i == nxlu ) THEN 1852 1855 1853 1856 DO k = nzb+1, nzb_max -
palm/trunk/SOURCE/plant_canopy_model_mod.f90
r3014 r3022 25 25 ! ----------------- 26 26 ! $Id$ 27 ! Bugfix in allocation of transpiration rate 28 ! 29 ! 3014 2018-05-09 08:42:38Z maronga 27 30 ! Bugfix: nzb_do and nzt_do were not used for 3d data output 28 31 ! Added pc_transpiration_rate … … 894 897 895 898 ALLOCATE( cum_lai_hf(nzb:nzt+1,nysg:nyng,nxlg:nxrg), & 896 pc_heating_rate(nzb:nzt+1,nysg:nyng,nxlg:nxrg), & 897 pc_transpiration_rate(nzb:nzt+1,nysg:nyng,nxlg:nxrg) ) 899 pc_heating_rate(nzb:nzt+1,nysg:nyng,nxlg:nxrg) ) 898 900 ! 899 901 !-- Piecewise calculation of the cumulative leaf area index by vertical … … 962 964 DO k = 1, pch_index_ji(j,i) 963 965 IF ( cum_lai_hf(0,j,i) /= 0.0_wp ) THEN 964 pc_heating_rate(k,j,i) = cthf * 965 ( exp(-ext_coef*cum_lai_hf(k,j,i)) - 966 pc_heating_rate(k,j,i) = cthf * & 967 ( exp(-ext_coef*cum_lai_hf(k,j,i)) - & 966 968 exp(-ext_coef*cum_lai_hf(k-1,j,i) ) ) / dzw(k) 967 969 ENDIF … … 971 973 972 974 ENDIF 975 ! 976 !-- Allocate transpiration rate 977 IF ( humidity ) & 978 ALLOCATE( pc_transpiration_rate(nzb:nzt+1,nysg:nyng,nxlg:nxrg) ) 973 979 974 980 -
palm/trunk/SOURCE/pmc_interface_mod.f90
r3021 r3022 25 25 ! ----------------- 26 26 ! $Id$ 27 ! Minor fix - working precision added to real number 28 ! 29 ! 3021 2018-05-16 08:14:20Z maronga 27 30 ! Bugfix: variable lcr was defined as INTENT(OUT) instead of INTENT(INOUT) 28 31 ! … … 2715 2718 more = .TRUE. 2716 2719 ELSE 2717 lcr(lcorr) = 1.0 2720 lcr(lcorr) = 1.0_wp 2718 2721 more = .FALSE. 2719 2722 ENDIF -
palm/trunk/SOURCE/prognostic_equations.f90
r3021 r3022 25 25 ! ----------------- 26 26 ! $Id$ 27 ! Revise recent bugfix for nesting 28 ! 29 ! 3021 2018-05-16 08:14:20Z maronga 27 30 ! Bugfix in IF clause for nesting 28 31 ! … … 298 301 intermediate_timestep_count_max, large_scale_forcing, & 299 302 large_scale_subsidence, microphysics_morrison, & 300 microphysics_seifert, microphysics_sat_adjust, nest_bound_s, & 301 neutral, nudging, & 303 microphysics_seifert, microphysics_sat_adjust, neutral, nudging,& 302 304 ocean, outflow_l, outflow_s, passive_scalar, plant_canopy, & 303 305 prho_reference, prho_reference, & … … 527 529 DO j = nys, nyn 528 530 ! 529 !-- Tendency terms for u-velocity component 530 IF ( .NOT. outflow_l .OR. i > nxl ) THEN 531 !-- Tendency terms for u-velocity component. Please note, in case of 532 !-- non-cyclic boundary conditions the grid point i=0 is excluded from 533 !-- the prognostic equations for the u-component. 534 IF ( i >= nxlu ) THEN 531 535 532 536 tend(:,j,i) = 0.0_wp … … 598 602 599 603 ENDIF 600 601 ! 602 !-- Tendency terms for v-velocity component 603 IF ( (.NOT. outflow_s .AND. .NOT. nest_bound_s ) .OR. j > nys ) THEN 604 ! 605 !-- Tendency terms for v-velocity component. Please note, in case of 606 !-- non-cyclic boundary conditions the grid point j=0 is excluded from 607 !-- the prognostic equations for the v-component. !-- 608 IF ( j >= nysv ) THEN 604 609 605 610 tend(:,j,i) = 0.0_wp
Note: See TracChangeset
for help on using the changeset viewer.