Ignore:
Timestamp:
Aug 2, 2024, 2:12:03 PM (7 weeks 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/radiation/radiation_flux.F90

    r4853 r5158  
    423423             &               config%i_band_from_reordered_g_sw, &
    424424             &               this%sw_dn_surf_band, istartcol, iendcol)
    425         do jcol = istartcol,iendcol
     425        DO jcol = istartcol,iendcol
    426426          this%sw_dn_surf_band(:,jcol) &
    427427               &  = this%sw_dn_surf_band(:,jcol) &
     
    429429        end do
    430430      else
    431         do jcol = istartcol,iendcol
     431        DO jcol = istartcol,iendcol
    432432          call indexed_sum(this%sw_dn_direct_surf_g(:,jcol), &
    433433               &           config%i_band_from_reordered_g_sw, &
     
    450450               &               config%i_band_from_reordered_g_sw, &
    451451               &               this%sw_dn_surf_clear_band, istartcol, iendcol)
    452           do jcol = istartcol,iendcol
     452          DO jcol = istartcol,iendcol
    453453            this%sw_dn_surf_clear_band(:,jcol) &
    454454                 &  = this%sw_dn_surf_clear_band(:,jcol) &
     
    456456          end do
    457457        else
    458           do jcol = istartcol,iendcol
     458          DO jcol = istartcol,iendcol
    459459            call indexed_sum(this%sw_dn_direct_surf_clear_g(:,jcol), &
    460460                 &           config%i_band_from_reordered_g_sw, &
     
    486486               &               this%sw_dn_diffuse_surf_canopy, istartcol, iendcol)
    487487        else
    488           do jcol = istartcol,iendcol
     488          DO jcol = istartcol,iendcol
    489489            call indexed_sum(this%sw_dn_direct_surf_g(:,jcol), &
    490490                 &           config%i_albedo_from_band_sw(config%i_band_from_reordered_g_sw), &
     
    502502        this%sw_dn_diffuse_surf_canopy(:,istartcol:iendcol) = 0.0_jprb
    503503        this%sw_dn_direct_surf_canopy (:,istartcol:iendcol) = 0.0_jprb
    504         do jband = 1,config%n_bands_sw
    505           do jalbedoband = 1,nalbedoband
     504        DO jband = 1,config%n_bands_sw
     505          DO jalbedoband = 1,nalbedoband
    506506            if (config%sw_albedo_weights(jalbedoband,jband) /= 0.0_jprb) then
    507507              ! Initially, "diffuse" is actually "total"
     
    534534               &               this%lw_dn_surf_canopy, istartcol, iendcol)
    535535        else
    536           do jcol = istartcol,iendcol
     536          DO jcol = istartcol,iendcol
    537537            call indexed_sum(this%lw_dn_surf_g(:,jcol), &
    538538                 &           config%i_emiss_from_band_lw(config%i_band_from_reordered_g_lw), &
     
    548548               &               lw_dn_surf_band, istartcol, iendcol)
    549549        else
    550           do jcol = istartcol,iendcol
     550          DO jcol = istartcol,iendcol
    551551            call indexed_sum(this%lw_dn_surf_g(:,jcol), &
    552552                 &           config%i_band_from_reordered_g_lw, &
     
    556556        nalbedoband = size(config%lw_emiss_weights,1)
    557557        this%lw_dn_surf_canopy(:,istartcol:iendcol) = 0.0_jprb
    558         do jband = 1,config%n_bands_lw
    559           do jalbedoband = 1,nalbedoband
     558        DO jband = 1,config%n_bands_lw
     559          DO jalbedoband = 1,nalbedoband
    560560            if (config%lw_emiss_weights(jalbedoband,jband) /= 0.0_jprb) then
    561561              this%lw_dn_surf_canopy(jalbedoband,istartcol:iendcol) &
     
    602602             &               this%sw_up_toa_band, istartcol, iendcol)
    603603      else
    604         do jcol = istartcol,iendcol
     604        DO jcol = istartcol,iendcol
    605605          call indexed_sum(this%sw_dn_toa_g(:,jcol), &
    606606               &           config%i_band_from_reordered_g_sw, &
     
    618618               &               this%sw_up_toa_clear_band, istartcol, iendcol)
    619619        else
    620           do jcol = istartcol,iendcol
     620          DO jcol = istartcol,iendcol
    621621            call indexed_sum(this%sw_up_toa_clear_g(:,jcol), &
    622622                 &               config%i_band_from_reordered_g_sw, &
     
    634634             &               this%lw_up_toa_band, istartcol, iendcol)
    635635      else
    636         do jcol = istartcol,iendcol
     636        DO jcol = istartcol,iendcol
    637637          call indexed_sum(this%lw_up_toa_g(:,jcol), &
    638638               &           config%i_band_from_reordered_g_lw, &
     
    647647               &               this%lw_up_toa_clear_band, istartcol, iendcol)
    648648        else
    649           do jcol = istartcol,iendcol
     649          DO jcol = istartcol,iendcol
    650650            call indexed_sum(this%lw_up_toa_clear_g(:,jcol), &
    651651                 &               config%i_band_from_reordered_g_lw, &
     
    753753    iend   = ubound(source,1)
    754754
    755     do jg = istart, iend
     755    DO jg = istart, iend
    756756      ig = ind(jg)
    757757      dest(ig) = dest(ig) + source(jg)
     
    777777    iend   = ubound(source,1)
    778778
    779     do jg = istart, iend
     779    DO jg = istart, iend
    780780      ig = ind(jg)
    781781      dest(ig) = dest(ig) + source(jg)
     
    797797    dest = 0.0
    798798
    799     do jg = lbound(source,1), ubound(source,1)
     799    DO jg = lbound(source,1), ubound(source,1)
    800800      ig = ind(jg)
    801       do jc = ist, iend
     801      DO jc = ist, iend
    802802        dest(ig,jc) = dest(ig,jc) + source(jg,jc)
    803803      end do
     
    820820    nlev   = size(source,2)
    821821
    822     do jlev = 1,nlev
    823       do jg = istart, iend
     822    DO jlev = 1,nlev
     823      DO jg = istart, iend
    824824        ig = ind(jg)
    825825        dest(ig,jlev) = dest(ig,jlev) + source(jg,jlev)
     
    846846    nlev   = size(source,2)
    847847
    848     do jlev = 1,nlev
    849       do jg = istart, iend
     848    DO jlev = 1,nlev
     849      DO jg = istart, iend
    850850        ig = ind(jg)
    851851        dest(ig,jlev) = dest(ig,jlev) + source(jg,jlev)
Note: See TracChangeset for help on using the changeset viewer.