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/dyn1d/lmdz_1dutils.f90

    r5153 r5158  
    44          disvert0, advect_vert, advect_va, lstendh, nudge_rht_init, nudge_uv_init, &
    55          nudge_rht, nudge_uv, interp2_case_vertical
     6
    67CONTAINS
    78  REAL FUNCTION fq_sat(kelvin, millibar)
     
    6768    USE lmdz_fcs_gcssold, ONLY: imp_fcg_gcssold, ts_fcg_gcssold, Tp_fcg_gcssold, Tp_ini_gcssold, xTurb_fcg_gcssold
    6869    USE lmdz_tsoilnudge, ONLY: nudge_tsoil, isoil_nudge, Tsoil_nudge, tau_soil_nudge
     70    USE lmdz_compar1d
     71
     72    IMPLICIT NONE
    6973    !-----------------------------------------------------------------------
    7074    !     Auteurs :   A. Lahellec  .
    71 
    72     !   Declarations :
    73     !   --------------
    74 
    75     include "compar1d.h"
    76     include "fcg_racmo.h"
    77 
    78 
    79     !   local:
    80     !   ------
    81 
    82     !      CHARACTER ch1*72,ch2*72,ch3*72,ch4*12
    8375
    8476    !  -------------------------------------------------------------------
     
    11481140    !---------------------------------------------------------------
    11491141
    1150     do l = 1, llm
     1142    DO l = 1, llm
    11511143      zw(l) = dt * w(l)
    11521144      zm(l) = plev(l) - plev(l + 1)
     
    11561148    zw(llm + 1) = 0.
    11571149
    1158     do l = 1, llm
     1150    DO l = 1, llm
    11591151      qold = q(l)
    11601152      q(l) = (q(l) * zm(l) + zwq(l + 1) - zwq(l)) / (zm(l) + zw(l + 1) - zw(l))
     
    11861178    REAL alpha, omgdown, omgup
    11871179
    1188     do l = 1, llm
     1180    DO l = 1, llm
    11891181      IF(l==1) THEN
    11901182        !si omgup pour la couche 1, alors tendance nulle
     
    12711263    cor(:) = rkappa * temp * (1. + q(:, 1) * rv / rd) / (play * (1. + q(:, 1)))
    12721264
    1273     do k = 2, llm - 1
     1265    DO k = 2, llm - 1
    12741266
    12751267      dph  (k - 1) = (play(k) - play(k - 1))
     
    12861278    dtdp (llm) = dtdp (llm - 1)
    12871279
    1288     do k = 2, llm - 1
     1280    DO k = 2, llm - 1
    12891281      omdn = max(0.0, omega(k + 1))
    12901282      omup = min(0.0, omega(k))
     
    13251317
    13261318    IMPLICIT NONE
    1327  INCLUDE "FCTTRE.h"
     1319    INCLUDE "FCTTRE.h"
    13281320
    13291321    ! ========================================================
     
    13991391
    14001392    IMPLICIT NONE
    1401  INCLUDE "FCTTRE.h"
     1393    INCLUDE "FCTTRE.h"
    14021394
    14031395    ! ========================================================
     
    15931585    !      enddo
    15941586
    1595     do l = 1, llm
     1587    DO l = 1, llm
    15961588
    15971589      IF (play(l)>=plev_prof_cas(nlev_cas)) THEN
     
    16021594
    16031595        IF (play(l)<=plev_prof_cas(1)) THEN
    1604           do k = 1, nlev_cas - 1
     1596          DO k = 1, nlev_cas - 1
    16051597            IF (play(l)<=plev_prof_cas(k).AND. play(l)>plev_prof_cas(k + 1)) THEN
    16061598              k1 = k
     
    16121604            WRITE(*, *) 'PB! k1, k2 = ', k1, k2
    16131605            WRITE(*, *) 'l,play(l) = ', l, play(l) / 100
    1614             do k = 1, nlev_cas - 1
     1606            DO k = 1, nlev_cas - 1
    16151607              WRITE(*, *) 'k,plev_prof_cas(k) = ', k, plev_prof_cas(k) / 100
    16161608            enddo
Note: See TracChangeset for help on using the changeset viewer.