Ignore:
Timestamp:
Oct 22, 2010, 11:27:25 AM (14 years ago)
Author:
Ehouarn Millour
Message:

Implemented modifications to enable running with only one tracer for planet types different from "earth". Rem: If flag 'planet_type' is set to "earth" (default behaviour) then there must be at least 2 tracers for the dynamics to function properly.

These updates do not induce any changes in model outputs with respect to previous revisions.

EM

File:
1 edited

Legend:

Unmodified
Added
Removed
  • LMDZ5/branches/LMDZ5V1.0-dev/libf/dyn3d/leapfrog.F

    r1437 r1446  
    209209c   --------------------------------------------------
    210210
    211       dq=0.
     211      dq(:,:,:)=0.
    212212      CALL pression ( ip1jmp1, ap, bp, ps, p       )
    213213      CALL exner_hyb( ip1jmp1, ps, p,alpha,beta, pks, pk, pkf )
     
    253253      CALL SCOPY   ( ijp1llm,   masse, 1, finvmaold,     1 )
    254254      CALL filtreg ( finvmaold ,jjp1, llm, -2,2, .TRUE., 1 )
    255 
    256 ! Ehouarn: what is this for? zqmin & zqmax are not used anyway ...
    257 !      call minmax(ijp1llm,q(:,:,3),zqmin,zqmax)
    258255
    259256   2  CONTINUE
     
    632629
    633630
    634               if (planet_type.eq."earth") then
     631!              if (planet_type.eq."earth") then
    635632! Write an Earth-format restart file
    636633                CALL dynredem1("restart.nc",0.0,
    637634     &                         vcov,ucov,teta,q,masse,ps)
    638               endif ! of if (planet_type.eq."earth")
     635!              endif ! of if (planet_type.eq."earth")
    639636
    640637              CLOSE(99)
     
    744741
    745742              IF(itau.EQ.itaufin) THEN
    746                 if (planet_type.eq."earth") then
     743!                if (planet_type.eq."earth") then
    747744                  CALL dynredem1("restart.nc",0.0,
    748745     &                           vcov,ucov,teta,q,masse,ps)
    749                 endif ! of if (planet_type.eq."earth")
     746!                endif ! of if (planet_type.eq."earth")
    750747              ENDIF ! of IF(itau.EQ.itaufin)
    751748
Note: See TracChangeset for help on using the changeset viewer.