Changeset 4644 for palm/trunk/SOURCE/radiation_model_mod.f90
- Timestamp:
- Aug 22, 2020 3:05:46 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
palm/trunk/SOURCE/radiation_model_mod.f90
r4643 r4644 28 28 ! ----------------- 29 29 ! $Id$ 30 ! Bugfix: remove invalid reordering of vertical surfaces in RTM 31 ! 32 ! 4643 2020-08-17 09:19:42Z pavelkrc 30 33 ! - Bugfix: typo in index of surf%* arrays 31 34 ! … … 5831 5834 IMPLICIT NONE 5832 5835 5833 INTEGER(iwp) :: i, j, k, kk, d, refstep, m, mm, l , ll5836 INTEGER(iwp) :: i, j, k, kk, d, refstep, m, mm, l 5834 5837 INTEGER(iwp) :: isurf, isurfsrc, isvf, icsf, ipcgb 5835 5838 INTEGER(iwp) :: imrt, imrtf 5836 5839 INTEGER(iwp) :: isd !< solar direction number 5837 5840 INTEGER(iwp) :: pc_box_dimshift !< transform for best accuracy 5838 INTEGER(iwp), DIMENSION(0:3) :: reorder = (/ 1, 0, 3, 2 /)5839 5841 5840 5842 REAL(wp), DIMENSION(3,3) :: mrot !< grid rotation matrix (zyx) … … 5962 5964 pabs_surf_lwdifl = 0.0_wp 5963 5965 pabs_pc_lwdifl = 0.0_wp 5964 5966 ! 5965 5967 !-- Set up thermal radiation from surfaces 5966 !-- emiss_surf is defined only for surfaces for which energy balance is calculated5967 !-- Workaround: reorder surface data type back on 1D array including all surfaces,5968 !-- which implies to reorder horizontal and vertical surfaces5969 !5970 5968 !-- Horizontal walls 5971 5969 mm = 1 … … 6004 6002 DO i = nxl, nxr 6005 6003 DO j = nys, nyn 6006 DO ll = 0, 3 6007 l = reorder(ll) 6004 DO l = 0, 3 6008 6005 ! 6009 6006 !-- urban
Note: See TracChangeset
for help on using the changeset viewer.