Ignore:
Timestamp:
Apr 13, 2001, 12:44:53 PM (23 years ago)
Author:
lmdz
Message:

Debogage du guidage et de la version debranchee et abandon de la version
debranchee non-netcdf FH/MAF
LF

File:
1 edited

Legend:

Unmodified
Added
Removed
  • LMDZ.3.3/trunk/libf/dyn3d/offlinenc.F

    r187 r204  
     1c
     2c $Header
     3c
    14      PROGRAM offlinenc
    25      USE ioipsl
     
    6669        integer iiinj
    6770      integer jour0,isplit,nsplit_dyn,nsplit_phy,nsplit
    68       logical debut,lectstart,rnpb
     71      logical debut,lectstart,rnpb,lafin
    6972
    7073      EXTERNAL inidissip,iniconst,inifilr
     
    190193     .              teta,q,masse,ps,phis, time_0)
    191194         print*,'Lecture du start'
     195c  On zappe le radon et le plomb.
     196         q(:,:,:,1)=q(:,:,:,3)
     197         q(:,:,:,2)=q(:,:,:,4)
     198c Initialisation d'un traceur ` 1 pour tester l'impact du lessivage.
     199         q(:,:,:,3)=1.
    192200      else
    193201         day_ini=0
     
    203211C      print*,'av iniconst'
    204212c   lecture du jour de demarrage
    205 c    premiere initialisation, eventuellement bidon
    206       CALL iniconst
     213c    premiere cnitialisation, eventuellement bidon
     214      cALL iniconst
    207215      CALL inigeom
    208216C
    209       print*,'ENTREE DANS redecoupenc ou lectfluxnc0
     217      print*,'ENTREE DANS redecoupenc ou lectfluxnc
    210218     s        pour irec=0'
    211219
     
    219227     s     frac_impa,frac_nucl,phis)
    220228      else
    221          call lectfluxnc0(0,masse,pbaru,pbarv,w,teta,phi,
     229         call lectfluxnc(0,masse,pbaru,pbarv,w,teta,phi,
    222230     s     nrec,avant,airefi,pphis,
    223231     s     t,zmfu, zmfd, zen_u, zde_u,zen_d, zde_d, coefkz,
     
    373381     s     frac_impa,frac_nucl,phis)
    374382      else
    375          call lectfluxnc0(irec,masse,pbaru,pbarv,w,teta,phi,
     383         call lectfluxnc(irec,masse,pbaru,pbarv,w,teta,phi,
    376384     s     nrec,avant,airefi,pphis,
    377385     s     t,zmfu, zmfd, zen_u, zde_u,zen_d, zde_d, coefkz,
     
    380388      endif
    381389
     390
     391      print*,'TESTPHYS: ON PREND LA PUIS ',1./float(nsplit*nsplit_phy)
     392     s   ,'  DES FRAC A IT=',itau
     393      frac_impa(:,:)=frac_impa(:,:)**(1./float(nsplit*nsplit_phy))
     394      frac_nucl(:,:)=frac_nucl(:,:)**(1./float(nsplit*nsplit_phy))
    382395c    ...  ouverture du fichier de stockage netcdf ...
    383396C
     
    391404         mode=1
    392405
    393          CALL initdynav(dynhistave_file,day_ini,anne_ini,dtav,
    394      .              t_ops, t_wrt, nq,mode, histaveid)
     406c        CALL initdynav(dynhistave_file,day_ini,anne_ini,dtav,
     407c    .              t_ops, t_wrt, nq,mode, histaveid)
    395408
    396409         pi=2.*asin(1.)
     
    832845             do iii=1,nsplit_phy
    833846C
     847      lafin=.false. ! en attendant mieux.
    834848      print*,'dtphys avant phytrac ',dtphys
    835              call phytrac(rnpb,
    836      I                   ecritphy, debutphy,
     849      print*,'TESTPHYS: APPEL A PHYTRAC IT=',itau
     850
     851             call phytrac(rnpb,ecritphy,
     852c    I                   ecritphy, debutphy,
     853     I                   debutphy, lafin,
    837854     I                   nq,
    838855     I                   ngridmx,llm,dtphys,
     
    855872             itauav=(itau-1)*nsplit+isplit
    856873c             itauav=itau*nsplit+isplit
    857              CALL writedynav(histaveid, nq,mode, itauav,vcov ,
    858      ,                   ucov,teta,pk,phi,q,masse,ps,phis)
     874c            CALL writedynav(histaveid, nq,mode, itauav,vcov ,
     875c    ,                   ucov,teta,pk,phi,q,masse,ps,phis)
    859876c            qmoy(:,:,:)=qmoy(:,:,:)+q(:,:,1,:)
    860877         do iq=1,nq
Note: See TracChangeset for help on using the changeset viewer.