- Timestamp:
- Mar 31, 2023, 8:42:57 PM (20 months ago)
- Location:
- LMDZ6/trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
LMDZ6/trunk
- Property svn:mergeinfo changed
/LMDZ6/branches/LMDZ_ECRad (added) merged: 4175,4177-4183,4188,4192,4200-4203,4355,4366,4387-4388,4390,4444,4482,4486,4488
- Property svn:mergeinfo changed
-
LMDZ6/trunk/libf/phylmd/ecrad/radiation_ice_optics_fu.F90
r3908 r4489 61 61 real (jprb) :: iwp_gm_2 62 62 63 integer :: jb 63 64 !real(jprb) :: hook_handle 64 65 … … 70 71 iwp_gm_2 = ice_wp * 1000.0_jprb 71 72 72 od = iwp_gm_2 * (coeff(1:nb,1) + coeff(1:nb,2) * inv_de_um) 73 scat_od = od * (1.0_jprb - (coeff(1:nb,3) + de_um*(coeff(1:nb,4) & 74 & + de_um*(coeff(1:nb,5) + de_um*coeff(1:nb,6))))) 75 g = min(coeff(1:nb,7) + de_um*(coeff(1:nb,8) & 76 & + de_um*(coeff(1:nb,9) + de_um*coeff(1:nb,10))), & 73 ! Added for DWD (2020) 74 !NEC$ shortloop 75 do jb = 1, nb 76 od(jb) = iwp_gm_2 * (coeff(jb,1) + coeff(jb,2) * inv_de_um) 77 scat_od(jb) = od(jb) * (1.0_jprb - (coeff(jb,3) + de_um*(coeff(jb,4) & 78 & + de_um*(coeff(jb,5) + de_um*coeff(jb,6))))) 79 g(jb) = min(coeff(jb,7) + de_um*(coeff(jb,8) & 80 & + de_um*(coeff(jb,9) + de_um*coeff(jb,10))), & 77 81 & MaxAsymmetryFactor) 82 end do 78 83 79 84 !if (lhook) call dr_hook('radiation_ice_optics:calc_ice_optics_fu_sw',1,hook_handle) … … 106 111 real (jprb) :: iwp_gm_2 107 112 113 integer :: jb 108 114 !real(jprb) :: hook_handle 109 115 … … 116 122 iwp_gm_2 = ice_wp * 1000.0_jprb 117 123 118 od = iwp_gm_2 * (coeff(1:nb,1) + inv_de_um*(coeff(1:nb,2) & 119 & + inv_de_um*coeff(1:nb,3))) 120 scat_od = od - iwp_gm_2*inv_de_um*(coeff(1:nb,4) + de_um*(coeff(1:nb,5) & 121 & + de_um*(coeff(1:nb,6) + de_um*coeff(1:nb,7)))) 122 g = min(coeff(1:nb,8) + de_um*(coeff(1:nb,9) & 123 & + de_um*(coeff(1:nb,10) + de_um*coeff(1:nb,11))), & 124 ! Added for DWD (2020) 125 !NEC$ shortloop 126 do jb = 1, nb 127 od(jb) = iwp_gm_2 * (coeff(jb,1) + inv_de_um*(coeff(jb,2) & 128 & + inv_de_um*coeff(jb,3))) 129 scat_od(jb) = od(jb) - iwp_gm_2*inv_de_um*(coeff(jb,4) + de_um*(coeff(jb,5) & 130 & + de_um*(coeff(jb,6) + de_um*coeff(jb,7)))) 131 g(jb) = min(coeff(jb,8) + de_um*(coeff(jb,9) & 132 & + de_um*(coeff(jb,10) + de_um*coeff(jb,11))), & 124 133 & MaxAsymmetryFactor) 134 end do 125 135 126 136 !if (lhook) call dr_hook('radiation_ice_optics:calc_ice_optics_fu_lw',1,hook_handle)
Note: See TracChangeset
for help on using the changeset viewer.