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/ener_conserv.F90

    r5144 r5158  
    179179    fluxt(:, klev + 1) = 0.
    180180
    181     do k = klev, 1, -1
     181    DO k = klev, 1, -1
    182182      fluxu(:, k) = fluxu(:, k + 1) + masse(:, k) * d_u(:, k)
    183183      fluxv(:, k) = fluxv(:, k + 1) + masse(:, k) * d_v(:, k)
     
    189189    dddt(:, 1) = (exner(:, 1) - 1.) * fluxt(:, 1)
    190190
    191     do k = 2, klev
     191    DO k = 2, klev
    192192      dddu(:, k) = (zu(:, k) - zu(:, k - 1)) * fluxu(:, k)
    193193      dddv(:, k) = (zv(:, k) - zv(:, k - 1)) * fluxv(:, k)
     
    198198    dddt(:, klev + 1) = 0.
    199199
    200     do k = 1, klev
     200    DO k = 1, klev
    201201      d_t_ech(:, k) = -(rcpd * (dddt(:, k) + dddt(:, k + 1))) / (2. * rcpd * masse(:, k))
    202202      d_t_ec(:, k) = -(dddu(:, k) + dddu(:, k + 1) + dddv(:, k) + dddv(:, k + 1)) / (2. * rcpd * masse(:, k)) + d_t_ech(:, k)
Note: See TracChangeset for help on using the changeset viewer.