Ignore:
Timestamp:
Mar 30, 2016, 8:24:43 AM (9 years ago)
Author:
emillour
Message:

All GCMs:
More on enforcing dynamics/physics separation: get rid of references to "control_mod" from physics packages.
EM

Location:
trunk/LMDZ.GENERIC/libf/phystd/dyn1d
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/LMDZ.GENERIC/libf/phystd/dyn1d/kcm1d.F90

    r1403 r1525  
    99  use planete_mod
    1010  use callkeys_mod, only: check_cpp_match, pceil, tstrat, tracer
    11 !  use control_mod
     11  use inifis_mod, only: inifis
    1212  use comcstfi_mod
    1313  implicit none
     
    203203  call calc_cpp_mugaz
    204204
    205   call inifis(1,llm,0,86400.0,1.0,0.0,0.0,1.0,rad,g,r,cpp)
     205  call inifis(1,llm,0,1,86400.0,1,1.0,&
     206              (/0.0/),(/0.0/),(/1.0/),&
     207              rad,g,r,cpp)
    206208
    207209  ! Tracer initialisation
  • trunk/LMDZ.GENERIC/libf/phystd/dyn1d/rcm1d.F

    r1524 r1525  
    1212      use comsoil_h, only: nsoilmx, layer, mlayer, inertiedat, volcapa
    1313      USE comgeomfi_h, only: lati, long, area
    14       use control_mod, only: day_step, ecritphy
    1514      use phyredem, only: physdem0,physdem1
    1615      use comgeomphy, only: initcomgeomphy
     
    2120      use comcstfi_mod, only: pi, cpp, rad, g, r,
    2221     &                        mugaz, rcp, omeg
    23       use time_phylmdz_mod, only: daysec, dtphys
     22      use time_phylmdz_mod, only: daysec, dtphys, day_step, ecritphy,
     23     &                            nday
    2424      use callkeys_mod, only: tracer,check_cpp_match,rings_shadow,
    2525     &                        specOLR,water,pceil,ok_slab_ocean
     
    488488      call getin("ndt",ndt)
    489489      write(*,*) " ndt = ",ndt
     490      nday=ndt
    490491
    491492      ndt=ndt*day_step     
     
    505506!!! - physical frequency: nevermind, in inifis this is a simple print
    506507      cpp=1.d-7 !JL because we divide by cpp in inifis, there may be a more elegant solution
    507       CALL inifis(1,llm,nq,day0,daysec,dtphys,
     508      CALL inifis(1,llm,nq,day0,daysec,nday,dtphys,
    508509     .            latitude,longitude,area,rad,g,r,cpp)
    509510!!! We check everything is OK.
Note: See TracChangeset for help on using the changeset viewer.