Ignore:
Timestamp:
Mar 29, 2016, 11:45:49 AM (9 years ago)
Author:
emillour
Message:

All GCMS:
More updates to enforce dynamics/physics separation:

get rid of references to "temps_mod" from physics packages;
make a "time_phylmdz_mod.F90" module to store that
information and fill it via "iniphysiq".

EM

File:
1 moved

Legend:

Unmodified
Added
Removed
  • trunk/LMDZ.MARS/libf/phymars/phys_state_var_init_mod.F90

    r1520 r1524  
    1       SUBROUTINE phys_state_var_init(ngrid,nlayer,nq
    2      .               ,pdaysec,ptimestep,prad,pg,pr,pcpp)
     1MODULE phys_state_var_init_mod
     2
     3CONTAINS
     4
     5      SUBROUTINE phys_state_var_init(ngrid,nlayer,nq, &
     6                                     day_ini,hour_ini,pdaysec,ptimestep, &
     7                                     prad,pg,pr,pcpp)
    38
    49!=======================================================================
     
    3843      use conc_mod, only: ini_conc_mod
    3944      use turb_mod, only: ini_turb_mod
    40       use comcstfi_h, only: pi,rad,cpp,g,r,rcp,daysec,dtphys
     45      use comcstfi_h, only: pi,rad,cpp,g,r,rcp
    4146      use tracer_mod, only: nqmx
     47      use time_phylmdz_mod, only: init_time
    4248
    4349      IMPLICIT NONE
    4450     
    4551      INTEGER,INTENT(IN) :: ngrid,nlayer,nq
     52      INTEGER,INTENT(IN) :: day_ini
     53      REAL,INTENT(IN) :: hour_ini
    4654      REAL,INTENT(IN) :: pdaysec,ptimestep,prad,pg,pr,pcpp
    47       EXTERNAL SSUM
    48       REAL SSUM
    4955
    5056      ! set dimension in tracer_mod
     
    5864      r=pr
    5965      rcp=r/cpp
    60       daysec=pdaysec
    61       dtphys=ptimestep
     66
     67      ! Initialize some "temporal and calendar" related variables
     68      call init_time(day_ini,hour_ini,pdaysec,ptimestep)
    6269
    6370      ! allocate "slope_mod" arrays
     
    8996
    9097      END SUBROUTINE phys_state_var_init
     98
     99END MODULE phys_state_var_init_mod
Note: See TracChangeset for help on using the changeset viewer.