- Timestamp:
- Aug 2, 2024, 2:12:03 PM (3 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
LMDZ6/branches/Amaury_dev/libf/phylmd/ecrad.v1.5.1/radiation_overlap.F90
r3908 r5158 94 94 ! multiply by "factor" 95 95 denominator = 1.0_jprb 96 dojreg = 1,nreg96 DO jreg = 1,nreg 97 97 op_x_frac_min(jreg) = op(jreg) & 98 98 & * min(frac_upper(jreg), frac_lower(jreg)) … … 103 103 factor = 1.0_jprb / denominator 104 104 ! Create the random part of the overlap matrix 105 dojupper = 1,nreg106 dojlower = 1,nreg105 DO jupper = 1,nreg 106 DO jlower = 1,nreg 107 107 overlap_matrix(jupper,jlower) = factor & 108 108 & * (frac_lower(jlower)-op_x_frac_min(jlower)) & … … 115 115 116 116 ! Add on the maximum part of the overlap matrix 117 dojreg = 1,nreg117 DO jreg = 1,nreg 118 118 overlap_matrix(jreg,jreg) = overlap_matrix(jreg,jreg) & 119 119 & + op_x_frac_min(jreg) … … 368 368 369 369 ! Loop through each atmospheric column 370 dojcol = istartcol, iendcol370 DO jcol = istartcol, iendcol 371 371 ! For this column, outer space is treated as one clear-sky 372 372 ! region, so the fractions are assigned as such … … 381 381 ! half-level starting at 1 for the top-of-atmosphere, as well 382 382 ! as indexing each level starting at 1 for the top-most level. 383 dojlev = 1,nlev+1383 DO jlev = 1,nlev+1 384 384 ! Fraction of each region just below the interface 385 385 if (jlev > nlev) then … … 426 426 427 427 ! Convert to directional overlap matrices 428 dojupper = 1,nreg429 dojlower = 1,nreg428 DO jupper = 1,nreg 429 DO jlower = 1,nreg 430 430 if (frac_lower(jlower) >= frac_threshold) then 431 431 u_matrix(jupper,jlower,jlev,jcol) = overlap_matrix(jupper,jlower) &
Note: See TracChangeset
for help on using the changeset viewer.