Changeset 1660 for palm/trunk/SOURCE/header.f90
- Timestamp:
- Sep 21, 2015 8:15:16 AM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
palm/trunk/SOURCE/header.f90
r1592 r1660 20 20 ! Current revisions: 21 21 ! ----------------- 22 ! Bugfix: Definition of building/street canyon height if vertical grid stretching 23 ! starts below the maximum topography height. 22 24 ! 23 25 ! … … 196 198 197 199 USE arrays_3d, & 198 ONLY: pt_init, qsws, q_init, sa_init, shf, ug, vg, w_subs, zu 200 ONLY: pt_init, qsws, q_init, sa_init, shf, ug, vg, w_subs, zu, zw 199 201 200 202 USE control_parameters … … 754 756 blx = INT( building_length_x / dx ) 755 757 bly = INT( building_length_y / dy ) 756 bh = INT( building_height / dz ) 758 DO k = 0, nzt 759 IF ( building_height .GT. zw(k) ) THEN 760 bh = k+1 761 ENDIF 762 ENDDO 757 763 758 764 IF ( building_wall_left == 9999999.9_wp ) THEN … … 772 778 773 779 CASE ( 'single_street_canyon' ) 774 ch = NINT( canyon_height / dz ) 780 DO k = 0, nzt 781 IF ( canyon_height .GT. zw(k) ) THEN 782 ch = k+1 783 ENDIF 784 ENDDO 775 785 IF ( canyon_width_x /= 9999999.9_wp ) THEN 776 786 !
Note: See TracChangeset
for help on using the changeset viewer.