Ignore:
Timestamp:
Feb 7, 2014, 5:20:25 PM (10 years ago)
Author:
fhourdin
Message:

Nettoyage du code 1D pour limiter les warning en mode debug.
Essentiellement des declarations inutiles.

Cleaning of the 1D code in order to limit warnings in debug mode.
Essentially supressing unused declared variables.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • LMDZ5/trunk/libf/phy1d/1Dconv.h

    r1907 r1960  
    2222      REAL hplaym(100) !pression en hPa milieux des couches Meso-NH
    2323
    24       integer i,j,k,ii,ll,in
    25       REAL tsol,qsol
     24      integer i,j,k,ll,in
    2625
    2726      CHARACTER*80 file_forctl,file_fordat
    2827
    29       COMMON/com1_phys_gcss/klev,play,JM,coef1,coef2
    30       COMMON/com2_phys_gcss/nblvlm,playm,hplaym
     28      COMMON/com1_phys_gcss/play,coef1,coef2,JM,klev
     29      COMMON/com2_phys_gcss/playm,hplaym,nblvlm
    3130
    3231c======================================================================
     
    170169             hqTurbbef(i)=hqTurbaft(i)
    171170          enddo
    172                tsbef = tsaft
     171          tsbef = tsaft
    173172          timebef=pasprev*dt
    174173          timeaft=timebef+dt
     
    213212               print*,'hqTurb_mes ',(hqTurb_mes(i),i=1,nblvlm)
    214213                  endif
    215                IF (ts_fcg) print*,'ts_subr', ts_subr
     214          IF (ts_fcg) print*,'ts_subr', ts_subr
    216215c*** on interpole les champs meso_NH sur les niveaux de pression***
    217216c*** gcm . on obtient le nouveau champ after                    ***
     
    263262               hqTurb(ll)=hqTurbaft(ll)
    264263          enddo
    265                ts_subr = tsaft
     264          ts_subr = tsaft
    266265      else ! temps.ge.pasmax
    267266c*** on interpole sur les pas de temps de 10mn du gcm a partir   ***
     
    282281             endif ! Turb_fcg
    283282         enddo
    284               ts_subr = ((timeaft-time)*tsbef + (time-timebef)*tsaft)/dt
     283         ts_subr = ((timeaft-time)*tsbef + (time-timebef)*tsaft)/dt
    285284       endif ! temps.ge.pasmax
    286285c
     
    440439                endif ! Turb_fcg
    441440          enddo
    442                ts_subr = tsaft
     441          ts_subr = tsaft
    443442          close(99)
    444443          close(98)
     
    505504      REAL hplaym(100)!pression en hecto-Pa des milieux de couche Meso-NH
    506505
    507       COMMON/com1_phys_gcss/klev,play,JM,coef1,coef2
    508       COMMON/com2_phys_gcss/nblvlm,playm,hplaym
    509 
    510       integer i,k,klevgcm
     506      COMMON/com1_phys_gcss/play,coef1,coef2,JM,klev
     507      COMMON/com2_phys_gcss/playm,hplaym,nblvlm
     508
     509      integer k,klevgcm
    511510      real playgcm(klevgcm) ! pression en milieu de couche du gcm
    512511      real psolgcm
     
    577576      REAL playm(100)  !pression en Pa milieu de chaque couche Meso-NH
    578577      REAL hplaym(100) !pression en hPa des milieux de couche Meso-NH
    579       COMMON/com2_phys_gcss/nblvlm,playm,hplaym
    580 
    581       INTEGER i,lu,k,mlz,mlzh,j
     578      COMMON/com2_phys_gcss/playm,hplaym,nblvlm
     579
     580      INTEGER i,lu,mlz,mlzh
    582581 
    583582      character*80 file_forctl
     
    644643      real ts
    645644c
    646       INTEGER i, k
     645      INTEGER k
    647646c
    648647      LOGICAL imp_fcg,ts_fcg,Turb_fcg
     
    725724      REAL hplaym(100)!pression en hPa des milieux de couche Meso-NH
    726725
    727       COMMON/com1_phys_gcss/klev,play,JM,coef1,coef2
    728       COMMON/com2_phys_gcss/nblvlm,playm,hplaym
     726      COMMON/com1_phys_gcss/play,coef1,coef2,JM,klev
     727      COMMON/com2_phys_gcss/playm,hplaym,nblvlm
    729728
    730729      REAL psol
    731730      REAL val
    732       INTEGER k, mlz, mlzh
     731      INTEGER k, mlz
    733732
    734733
Note: See TracChangeset for help on using the changeset viewer.