Ignore:
Timestamp:
Jul 24, 2024, 4:23:34 PM (3 months ago)
Author:
abarral
Message:

rename modules properly lmdz_*
move some unused files to obsolete/
(lint) uppercase fortran keywords

File:
1 edited

Legend:

Unmodified
Added
Removed
  • LMDZ6/branches/Amaury_dev/libf/phylmd/Dust/phytracr_spl_mod.F90

    r5116 r5117  
    828828    !  -------
    829829
    830     real, intent(in) :: pdtphys  ! pas d'integration pour la physique (seconde)
    831     REAL, intent(in) :: jD_cur, jH_cur
    832     real, intent(in) :: ftsol(klon, nbsrf)  ! temperature du sol par type
    833     real, intent(in) :: t_seri(klon, klev)  ! temperature
    834     real, intent(in) :: u_seri(klon, klev)  ! vent
    835     real, intent(in) :: v_seri(klon, klev)  ! vent
    836     real, intent(in) :: q_seri(klon, klev)  ! vapeur d eau kg/kg
     830    REAL, INTENT(IN) :: pdtphys  ! pas d'integration pour la physique (seconde)
     831    REAL, INTENT(IN) :: jD_cur, jH_cur
     832    REAL, INTENT(IN) :: ftsol(klon, nbsrf)  ! temperature du sol par type
     833    REAL, INTENT(IN) :: t_seri(klon, klev)  ! temperature
     834    REAL, INTENT(IN) :: u_seri(klon, klev)  ! vent
     835    REAL, INTENT(IN) :: v_seri(klon, klev)  ! vent
     836    REAL, INTENT(IN) :: q_seri(klon, klev)  ! vapeur d eau kg/kg
    837837
    838838    LOGICAL, INTENT(IN) :: lafin
    839839
    840     real tr_seri(klon, klev, nbtr) ! traceur
    841     real tmp_var(klon, klev) ! auxiliary variable to replace traceur
    842     real tmp_var2(klon, nbtr) ! auxiliary variable to replace source
    843     real tmp_var3(klon, klev, nbtr) ! auxiliary variable 3D
    844     real dummy1d ! JE auxiliary variable
    845     real aux_var2(klon) ! auxiliary variable to replace traceur
    846     real aux_var3(klon, klev) ! auxiliary variable to replace traceur
    847     real d_tr(klon, klev, nbtr)    ! traceur  tendance
    848     real sconc_seri(klon, nbtr) ! surface concentration of traceur
    849 
    850     integer nbjour
     840    REAL tr_seri(klon, klev, nbtr) ! traceur
     841    REAL tmp_var(klon, klev) ! auxiliary variable to replace traceur
     842    REAL tmp_var2(klon, nbtr) ! auxiliary variable to replace source
     843    REAL tmp_var3(klon, klev, nbtr) ! auxiliary variable 3D
     844    REAL dummy1d ! JE auxiliary variable
     845    REAL aux_var2(klon) ! auxiliary variable to replace traceur
     846    REAL aux_var3(klon, klev) ! auxiliary variable to replace traceur
     847    REAL d_tr(klon, klev, nbtr)    ! traceur  tendance
     848    REAL sconc_seri(klon, nbtr) ! surface concentration of traceur
     849
     850    INTEGER nbjour
    851851    save nbjour
    852852    !$OMP THREADPRIVATE(nbjour)
     
    898898    !JE20150518>>
    899899
    900     real, intent(in) :: paprs(klon, klev + 1)  ! pression pour chaque inter-couche (en Pa)
    901     real, intent(in) :: pplay(klon, klev)  ! pression pour le mileu de chaque couche (en Pa)
    902     real, intent(in) :: RHcl(klon, klev)  ! humidite relativen ciel clair
    903     real znivsig(klev)  ! indice des couches
    904     real paire(klon)
    905     real, intent(in) :: pphis(klon)
    906     real, intent(in) :: pctsrf(klon, nbsrf)
    907     logical, intent(in) :: debutphy   ! le flag de l'initialisation de la physique
     900    REAL, INTENT(IN) :: paprs(klon, klev + 1)  ! pression pour chaque inter-couche (en Pa)
     901    REAL, INTENT(IN) :: pplay(klon, klev)  ! pression pour le mileu de chaque couche (en Pa)
     902    REAL, INTENT(IN) :: RHcl(klon, klev)  ! humidite relativen ciel clair
     903    REAL znivsig(klev)  ! indice des couches
     904    REAL paire(klon)
     905    REAL, INTENT(IN) :: pphis(klon)
     906    REAL, INTENT(IN) :: pctsrf(klon, nbsrf)
     907    logical, INTENT(IN) :: debutphy   ! le flag de l'initialisation de la physique
    908908
    909909    !  Scaling Parameters:
     
    950950    !  -----------
    951951
    952     REAL, intent(in) :: pmfu(klon, klev)  ! flux de masse dans le panache montant
    953     REAL, intent(in) :: pmfd(klon, klev)  ! flux de masse dans le panache descendant
    954     REAL, intent(in) :: pen_u(klon, klev) ! flux entraine dans le panache montant
    955     REAL, intent(in) :: pde_u(klon, klev) ! flux detraine dans le panache montant
    956     REAL, intent(in) :: pen_d(klon, klev) ! flux entraine dans le panache descendant
    957     REAL, intent(in) :: pde_d(klon, klev) ! flux detraine dans le panache descendant
     952    REAL, INTENT(IN) :: pmfu(klon, klev)  ! flux de masse dans le panache montant
     953    REAL, INTENT(IN) :: pmfd(klon, klev)  ! flux de masse dans le panache descendant
     954    REAL, INTENT(IN) :: pen_u(klon, klev) ! flux entraine dans le panache montant
     955    REAL, INTENT(IN) :: pde_u(klon, klev) ! flux detraine dans le panache montant
     956    REAL, INTENT(IN) :: pen_d(klon, klev) ! flux entraine dans le panache descendant
     957    REAL, INTENT(IN) :: pde_d(klon, klev) ! flux detraine dans le panache descendant
    958958
    959959    !  Convection KE scheme:
     
    10231023    !  ---------
    10241024
    1025     REAL, intent(in) :: pmflxr(klon, klev + 1), pmflxs(klon, klev + 1)   !--convection
    1026     REAL, intent(in) :: prfl(klon, klev + 1), psfl(klon, klev + 1)     !--large-scale
     1025    REAL, INTENT(IN) :: pmflxr(klon, klev + 1), pmflxs(klon, klev + 1)   !--convection
     1026    REAL, INTENT(IN) :: prfl(klon, klev + 1), psfl(klon, klev + 1)     !--large-scale
    10271027    REAL :: ql_incl ! contenu en eau liquide nuageuse dans le nuage ! ql_incl=oliq/rneb
    10281028    REAL :: ql_incloud_ref    ! ref value of in-cloud condensed water content
     
    10471047    !  --------------
    10481048
    1049     REAL, intent(in) :: coefh(klon, klev) ! coeff melange CL
    1050     REAL, intent(in) :: cdragh(klon), cdragm(klon)
    1051     REAL, intent(in) :: yu1(klon)        ! vent dans la 1iere couche
    1052     REAL, intent(in) :: yv1(klon)        ! vent dans la 1iere couche
     1049    REAL, INTENT(IN) :: coefh(klon, klev) ! coeff melange CL
     1050    REAL, INTENT(IN) :: cdragh(klon), cdragm(klon)
     1051    REAL, INTENT(IN) :: yu1(klon)        ! vent dans la 1iere couche
     1052    REAL, INTENT(IN) :: yv1(klon)        ! vent dans la 1iere couche
    10531053
    10541054
     
    10711071    !  -----------
    10721072
    1073     REAL, intent(in) :: rlat(klon)       ! latitudes pour chaque point
    1074     REAL, intent(in) :: rlon(klon)       ! longitudes pour chaque point
     1073    REAL, INTENT(IN) :: rlat(klon)       ! latitudes pour chaque point
     1074    REAL, INTENT(IN) :: rlon(klon)       ! longitudes pour chaque point
    10751075
    10761076    INTEGER i, k, iq, itr, j, ig
     
    11641164    !      REAL his_g2paer(klon)      ! gastoparticle in aerosol units (check!)
    11651165
    1166     INTEGER, intent(in) :: iflag_conv
     1166    INTEGER, INTENT(IN) :: iflag_conv
    11671167    LOGICAL iscm3  ! debug variable. for checkmass ! JE
    11681168
     
    12131213    source_tr = 0.
    12141214
    1215     if (debutphy) THEN
     1215    IF (debutphy) THEN
    12161216#ifdef IOPHYS_DUST
    12171217         CALL iophys_ini(pdtphys)
     
    13941394      enddo
    13951395      ! check consistency with dust emission scheme:
    1396       if (ok_chimeredust) THEN
    1397         if (.not.(id_scdu>0 .and. id_codu>0 .and. id_fine>0)) THEN
     1396      IF (ok_chimeredust) THEN
     1397        IF (.NOT.(id_scdu>0 .AND. id_codu>0 .AND. id_fine>0)) THEN
    13981398          CALL abort_gcm('phytracr_mod', 'pb in ok_chimdust 0', 1)
    13991399        endif
    14001400      else
    1401         if (id_scdu>0) THEN
     1401        IF (id_scdu>0) THEN
    14021402          CALL abort_gcm('phytracr_mod', 'pb in ok_chimdust 1 SCDU', 1)
    14031403        endif
    1404         if ((id_codu <= 0) .or. (id_fine<=0)) THEN
     1404        IF ((id_codu <= 0) .OR. (id_fine<=0)) THEN
    14051405          CALL abort_gcm('phytracr_mod', 'pb in ok_chimdust 1', 1)
    14061406        endif
     
    15211521
    15221522    iscm3 = .FALSE.
    1523     if (debutphy) THEN
     1523    IF (debutphy) THEN
    15241524      !$OMP MASTER
    15251525      CALL suphel
     
    44424442    REAL scale_param(nbreg)
    44434443    !local vars
    4444     integer nid, ierr, nvarid
    4445     real rcode, auxreal
    4446     integer start(4), count(4), status
     4444    INTEGER nid, ierr, nvarid
     4445    REAL rcode, auxreal
     4446    INTEGER start(4), count(4), status
    44474447    !      local
    44484448    CHARACTER*104 varname
    44494449    CHARACTER*2 aux_2s
    4450     integer i, j, ig
     4450    INTEGER i, j, ig
    44514451    !$OMP MASTER
    44524452    IF (is_mpi_root .AND. is_omp_root) THEN
    44534453      ierr = nf90_open(trim(adjustl(filescaleparams)), nf90_nowrite, nid)
    4454       if (ierr == nf90_noerr) THEN
     4454      IF (ierr == nf90_noerr) THEN
    44554455        do i = 1, nbreg
    44564456          WRITE(aux_2s, '(i2.2)') i
Note: See TracChangeset for help on using the changeset viewer.