Ignore:
Timestamp:
Aug 2, 2024, 2:12:03 PM (3 months ago)
Author:
abarral
Message:

Add missing klon on strataer_emiss_mod.F90
Correct various missing explicit declarations
Replace tabs by spaces (tabs are not part of the fortran charset)
Continue cleaning modules
Removed unused arguments and variables

File:
1 edited

Legend:

Unmodified
Added
Removed
  • LMDZ6/branches/Amaury_dev/libf/phylmd/ecrad.v1.5.1/radiation_overlap.F90

    r3908 r5158  
    9494    ! multiply by "factor"
    9595    denominator = 1.0_jprb
    96     do jreg = 1,nreg
     96    DO jreg = 1,nreg
    9797      op_x_frac_min(jreg) = op(jreg) &
    9898           &  * min(frac_upper(jreg), frac_lower(jreg))
     
    103103      factor = 1.0_jprb / denominator
    104104      ! Create the random part of the overlap matrix
    105       do jupper = 1,nreg
    106         do jlower = 1,nreg
     105      DO jupper = 1,nreg
     106        DO jlower = 1,nreg
    107107          overlap_matrix(jupper,jlower) = factor &
    108108               &  * (frac_lower(jlower)-op_x_frac_min(jlower)) &
     
    115115   
    116116    ! Add on the maximum part of the overlap matrix
    117     do jreg = 1,nreg
     117    DO jreg = 1,nreg
    118118      overlap_matrix(jreg,jreg) = overlap_matrix(jreg,jreg) &
    119119           &  + op_x_frac_min(jreg)
     
    368368
    369369    ! Loop through each atmospheric column
    370     do jcol = istartcol, iendcol
     370    DO jcol = istartcol, iendcol
    371371      ! For this column, outer space is treated as one clear-sky
    372372      ! region, so the fractions are assigned as such
     
    381381      ! half-level starting at 1 for the top-of-atmosphere, as well
    382382      ! as indexing each level starting at 1 for the top-most level.
    383       do jlev = 1,nlev+1
     383      DO jlev = 1,nlev+1
    384384        ! Fraction of each region just below the interface
    385385        if (jlev > nlev) then
     
    426426
    427427        ! Convert to directional overlap matrices
    428         do jupper = 1,nreg
    429           do jlower = 1,nreg
     428        DO jupper = 1,nreg
     429          DO jlower = 1,nreg
    430430            if (frac_lower(jlower) >= frac_threshold) then
    431431              u_matrix(jupper,jlower,jlev,jcol) = overlap_matrix(jupper,jlower) &
Note: See TracChangeset for help on using the changeset viewer.