Changeset 4671 for palm/trunk/SOURCE/init_3d_model.f90
- Timestamp:
- Sep 9, 2020 8:27:58 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
palm/trunk/SOURCE/init_3d_model.f90
r4648 r4671 24 24 ! ----------------- 25 25 ! $Id$ 26 ! Implementation of downward facing USM and LSM surfaces 27 ! 28 ! 4648 2020-08-25 07:52:08Z raasch 26 29 ! file re-formatted to follow the PALM coding standard 27 30 ! … … 1631 1634 IF ( use_surface_fluxes .AND. constant_heatflux .AND. random_heatflux ) THEN 1632 1635 IF ( surf_def_h(0)%ns >= 1 ) CALL disturb_heatflux( surf_def_h(0) ) 1633 IF ( surf_lsm_h %ns >= 1 ) CALL disturb_heatflux( surf_lsm_h)1634 IF ( surf_usm_h %ns >= 1 ) CALL disturb_heatflux( surf_usm_h)1636 IF ( surf_lsm_h(0)%ns >= 1 ) CALL disturb_heatflux( surf_lsm_h(0) ) 1637 IF ( surf_usm_h(0)%ns >= 1 ) CALL disturb_heatflux( surf_usm_h(0) ) 1635 1638 ENDIF 1636 1639 ENDIF … … 1673 1676 mean_surface_level_height_l(sr) = mean_surface_level_height_l(sr) + zw(k-1) 1674 1677 ENDIF 1675 IF ( surf_lsm_h %start_index(j,i) <= surf_lsm_h%end_index(j,i) ) THEN1676 m = surf_lsm_h %start_index(j,i)1677 k = surf_lsm_h %k(m)1678 IF ( surf_lsm_h(0)%start_index(j,i) <= surf_lsm_h(0)%end_index(j,i) ) THEN 1679 m = surf_lsm_h(0)%start_index(j,i) 1680 k = surf_lsm_h(0)%k(m) 1678 1681 mean_surface_level_height_l(sr) = mean_surface_level_height_l(sr) + zw(k-1) 1679 1682 ENDIF 1680 IF ( surf_usm_h %start_index(j,i) <= surf_usm_h%end_index(j,i) ) THEN1681 m = surf_usm_h %start_index(j,i)1682 k = surf_usm_h %k(m)1683 IF ( surf_usm_h(0)%start_index(j,i) <= surf_usm_h(0)%end_index(j,i) ) THEN 1684 m = surf_usm_h(0)%start_index(j,i) 1685 k = surf_usm_h(0)%k(m) 1683 1686 mean_surface_level_height_l(sr) = mean_surface_level_height_l(sr) + zw(k-1) 1684 1687 ENDIF
Note: See TracChangeset
for help on using the changeset viewer.