- Timestamp:
- Jun 5, 2020 9:52:00 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
palm/trunk/SOURCE/radiation_model_mod.f90
r4552 r4555 28 28 ! ----------------- 29 29 ! $Id$ 30 ! Bugfix in averaging PC and MRT related quantities 31 ! 32 ! 4552 2020-06-02 20:33:29Z moh.hefny 30 33 ! Bugfix in IF statement in the emissivity coupling parameter for radiation-RTM 31 34 ! … … 9863 9866 9864 9867 INTEGER(iwp) :: i !< 9868 INTEGER(iwp) :: imrt !< index of MRT 9865 9869 INTEGER(iwp) :: j !< 9866 9870 INTEGER(iwp) :: k !< 9867 9871 INTEGER(iwp) :: l, m !< index of current surface element 9868 9872 9869 9873 INTEGER(iwp) :: ids, idsint_u, idsint_l, isurf 9870 9874 CHARACTER(LEN=varnamelength) :: var … … 10719 10723 CASE ( 'rtm_rad_pc_inlw' ) 10720 10724 DO l = 1, npcbl 10721 pcbinlw_av( :) = pcbinlw_av(:) / REAL( average_count_3d, kind=wp )10725 pcbinlw_av(l) = pcbinlw_av(l) / REAL( average_count_3d, kind=wp ) 10722 10726 ENDDO 10723 10727 10724 10728 CASE ( 'rtm_rad_pc_insw' ) 10725 10729 DO l = 1, npcbl 10726 pcbinsw_av( :) = pcbinsw_av(:) / REAL( average_count_3d, kind=wp )10730 pcbinsw_av(l) = pcbinsw_av(l) / REAL( average_count_3d, kind=wp ) 10727 10731 ENDDO 10728 10732 10729 10733 CASE ( 'rtm_rad_pc_inswdir' ) 10730 10734 DO l = 1, npcbl 10731 pcbinswdir_av( :) = pcbinswdir_av(:) / REAL( average_count_3d, kind=wp )10735 pcbinswdir_av(l) = pcbinswdir_av(l) / REAL( average_count_3d, kind=wp ) 10732 10736 ENDDO 10733 10737 10734 10738 CASE ( 'rtm_rad_pc_inswdif' ) 10735 10739 DO l = 1, npcbl 10736 pcbinswdif_av( :) = pcbinswdif_av(:) / REAL( average_count_3d, kind=wp )10740 pcbinswdif_av(l) = pcbinswdif_av(l) / REAL( average_count_3d, kind=wp ) 10737 10741 ENDDO 10738 10742 10739 10743 CASE ( 'rtm_rad_pc_inswref' ) 10740 10744 DO l = 1, npcbl 10741 pcbinswref_av( :) = pcbinswref_av(:) / REAL( average_count_3d, kind=wp )10745 pcbinswref_av(l) = pcbinswref_av(l) / REAL( average_count_3d, kind=wp ) 10742 10746 ENDDO 10743 10747 10744 10748 CASE ( 'rad_mrt_lw' ) 10745 10749 IF ( ALLOCATED( mrtinlw_av ) ) THEN 10746 mrtinlw_av(:) = mrtinlw_av(:) / REAL( average_count_3d, KIND=wp ) 10750 DO imrt = 1, nmrtbl 10751 mrtinlw_av(imrt) = mrtinlw_av(imrt) / REAL( average_count_3d, KIND=wp ) 10752 ENDDO 10747 10753 ENDIF 10748 10754 10749 10755 CASE ( 'rad_mrt' ) 10750 10756 IF ( ALLOCATED( mrt_av ) ) THEN 10751 mrt_av(:) = mrt_av(:) / REAL( average_count_3d, KIND=wp ) 10757 DO imrt = 1, nmrtbl 10758 mrt_av(imrt) = mrt_av(imrt) / REAL( average_count_3d, KIND=wp ) 10759 ENDDO 10752 10760 ENDIF 10753 10761
Note: See TracChangeset
for help on using the changeset viewer.