Changeset 4750 for palm/trunk/SOURCE/urban_surface_mod.f90
- Timestamp:
- Oct 16, 2020 2:27:48 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
palm/trunk/SOURCE/urban_surface_mod.f90
r4747 r4750 27 27 ! ----------------- 28 28 ! $Id$ 29 ! - bugfix in openmp directive 30 ! - make t_green_h and t_green_v public (required in indoor model) 31 ! 32 ! 4747 2020-10-16 09:19:57Z pavelkrc 29 33 ! Fix window absorptivity calculation (correctly account for 2-sided reflection) 30 34 ! … … 880 884 nzb_wall, & 881 885 nzt_wall, & 886 t_green_h, & 887 t_green_v, & 882 888 t_wall_h, & 883 889 t_wall_v, & … … 5149 5155 IMPLICIT NONE 5150 5156 5157 LOGICAL :: during_spinup !< if true, no calculation of window temperatures 5151 5158 LOGICAL :: horizontal !< Flag indicating horizontal or vertical surfaces 5159 5160 INTEGER(iwp) :: kw !< grid index - wall depth 5152 5161 INTEGER(iwp) :: l !< direction index 5153 LOGICAL :: during_spinup !< if true, no calculation of window temperatures 5154 5155 INTEGER(iwp) :: i,j,k,kw, m !< running indices 5162 INTEGER(iwp) :: m !< running index for surface elements 5156 5163 5157 5164 REAL(wp) :: win_absorp !< absorption coefficient from transmissivity … … 5197 5204 ! 5198 5205 !-- Cycle for all surfaces in given direction 5199 !$OMP PARALLEL DO PRIVATE (m, i, j, k, kw, wtend, wintend, win_absorp, wall_mod) SCHEDULE (STATIC)5206 !$OMP PARALLEL DO PRIVATE (m, kw, wtend, wintend, win_absorp) SCHEDULE (STATIC) 5200 5207 DO m = 1, surf%ns 5201 !5202 !-- Obtain indices5203 i = surf%i(m)5204 j = surf%j(m)5205 k = surf%k(m)5206 5208 ! 5207 5209 !-- Prognostic equation for ground/roof temperature t_wall
Note: See TracChangeset
for help on using the changeset viewer.