Changeset 4441 for palm/trunk/SOURCE/salsa_mod.f90
- Timestamp:
- Mar 4, 2020 7:20:35 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
palm/trunk/SOURCE/salsa_mod.f90
r4417 r4441 21 21 ! Current revisions: 22 22 ! ----------------- 23 ! 23 ! Change order of dimension in surface array %frac to allow for better 24 ! vectorization. 24 25 ! 25 26 ! Former revisions: … … 2712 2713 ! 2713 2714 !-- Vegetation (LSM): 2714 IF ( surf%frac( ind_veg_wall,m) > 0 ) THEN2715 IF ( surf%frac(m,ind_veg_wall) > 0 ) THEN 2715 2716 veg_type_palm = surf%vegetation_type(m) 2716 2717 SELECT CASE ( veg_type_palm ) … … 2758 2759 ! 2759 2760 !-- Pavement (LSM): 2760 IF ( surf%frac( ind_pav_green,m) > 0 ) THEN2761 IF ( surf%frac(m,ind_pav_green) > 0 ) THEN 2761 2762 pav_type_palm = surf%pavement_type(m) 2762 2763 IF ( pav_type_palm == 0 ) THEN ! error … … 2769 2770 ! 2770 2771 !-- Water (LSM): 2771 IF ( surf%frac( ind_wat_win,m) > 0 ) THEN2772 IF ( surf%frac(m,ind_wat_win) > 0 ) THEN 2772 2773 wat_type_palm = surf%water_type(m) 2773 2774 IF ( wat_type_palm == 0 ) THEN ! error … … 2784 2785 ! 2785 2786 !-- Wall surfaces (USM): 2786 IF ( surf%frac( ind_veg_wall,m) > 0 ) THEN2787 IF ( surf%frac(m,ind_veg_wall) > 0 ) THEN 2787 2788 match_veg_wall(m) = 15 ! urban in Z01 2788 2789 ENDIF 2789 2790 ! 2790 2791 !-- Green walls and roofs (USM): 2791 IF ( surf%frac( ind_pav_green,m) > 0 ) THEN2792 IF ( surf%frac(m,ind_pav_green) > 0 ) THEN 2792 2793 match_pav_green(m) = 6 ! (short) grass in Z01 2793 2794 ENDIF 2794 2795 ! 2795 2796 !-- Windows (USM): 2796 IF ( surf%frac( ind_wat_win,m) > 0 ) THEN2797 IF ( surf%frac(m,ind_wat_win) > 0 ) THEN 2797 2798 match_wat_win(m) = 15 ! urban in Z01 2798 2799 ENDIF … … 4386 4387 END SELECT 4387 4388 ENDDO 4388 depo_sum = depo_sum + surf%frac( ind_pav_green,m) * depo4389 depo_sum = depo_sum + surf%frac(m,ind_pav_green) * depo 4389 4390 ENDIF 4390 4391 … … 4417 4418 END SELECT 4418 4419 ENDDO 4419 depo_sum = depo_sum + surf%frac( ind_veg_wall,m) * depo4420 depo_sum = depo_sum + surf%frac(m,ind_veg_wall) * depo 4420 4421 ENDIF 4421 4422 … … 4448 4449 END SELECT 4449 4450 ENDDO 4450 depo_sum = depo_sum + surf%frac( ind_wat_win,m) * depo4451 depo_sum = depo_sum + surf%frac(m,ind_wat_win) * depo 4451 4452 ENDIF 4452 4453
Note: See TracChangeset
for help on using the changeset viewer.