- Timestamp:
- Feb 21, 2023, 3:26:41 PM (20 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
LMDZ6/branches/LMDZ_ECRad/libf/phylmd/ecrad/radiation_liquid_optics_socrates.F90
r3908 r4444 52 52 real(jprb), intent(out) :: od(nb), scat_od(nb), g(nb) 53 53 54 integer :: jb 54 55 ! Local effective radius (m), after applying bounds 55 56 real(jprb) :: re … … 62 63 re = max(MinEffectiveRadius, min(re_in, MaxEffectiveRadius)) 63 64 64 od = lwp * (coeff(1:nb,1) + re*(coeff(1:nb,2) + re*coeff(1:nb,3))) & 65 & / (1.0_jprb + re*(coeff(1:nb,4) + re*(coeff(1:nb,5) & 66 & + re*coeff(1:nb,6)))) 67 scat_od = od * (1.0_jprb & 68 & - (coeff(1:nb,7) + re*(coeff(1:nb,8) + re*coeff(1:nb,9))) & 69 & / (1.0_jprb + re*(coeff(1:nb,10) + re*coeff(1:nb,11)))) 70 g = (coeff(1:nb,12) + re*(coeff(1:nb,13) + re*coeff(1:nb,14))) & 71 & / (1.0_jprb + re*(coeff(1:nb,15) + re*coeff(1:nb,16))) 65 ! Added for DWD (2020) 66 !NEC$ shortloop 67 do jb = 1, nb 68 od(jb) = lwp * (coeff(jb,1) + re*(coeff(jb,2) + re*coeff(jb,3))) & 69 & / (1.0_jprb + re*(coeff(jb,4) + re*(coeff(jb,5) & 70 & + re*coeff(jb,6)))) 71 scat_od(jb) = od(jb) * (1.0_jprb & 72 & - (coeff(jb,7) + re*(coeff(jb,8) + re*coeff(jb,9))) & 73 & / (1.0_jprb + re*(coeff(jb,10) + re*coeff(jb,11)))) 74 g(jb) = (coeff(jb,12) + re*(coeff(jb,13) + re*coeff(jb,14))) & 75 & / (1.0_jprb + re*(coeff(jb,15) + re*coeff(jb,16))) 76 end do 72 77 73 78 !if (lhook) call dr_hook('radiation_liquid_optics_socrates:calc_liq_optics_socrates',1,hook_handle)
Note: See TracChangeset
for help on using the changeset viewer.