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

Location:
trunk/LMDZ.MARS/libf/dynlonlat_phylonlat/phymars
Files:
2 edited

Legend:

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

    r1523 r1524  
    2323use infotrac, only : nqtot ! number of advected tracers
    2424use comgeomfi_h, only: ini_fillgeom
     25use temps_mod, only: day_ini, hour_ini
     26use phys_state_var_init_mod, only: phys_state_var_init
    2527use regular_lonlat_mod, only: init_regular_lonlat, &
    2628                              east, west, north, south, &
     
    171173! and do some initializations
    172174call phys_state_var_init(klon_omp,nlayer,nqtot, &
    173                          punjours,ptimestep,prad,pg,pr,pcpp)
     175                         day_ini,hour_ini,punjours,ptimestep, &
     176                         prad,pg,pr,pcpp)
    174177call ini_fillgeom(klon_omp,rlatd,rlond,airephy)
    175178call conf_phys(klon_omp,nlayer,nqtot)
     179
     180! Initialize some "temporal and calendar" related variables
     181!CALL init_time(day_ini,hour_ini,punjours,ptimestep)
    176182
    177183!$OMP END PARALLEL
  • trunk/LMDZ.MARS/libf/dynlonlat_phylonlat/phymars/newstart.F

    r1433 r1524  
    4141      USE temps_mod, ONLY: day_ini,hour_ini
    4242      USE ener_mod, ONLY: etot0,ptot0,ztot0,stot0,ang0
     43      USE phys_state_var_init_mod, ONLY: phys_state_var_init
    4344
    4445      implicit none
     
    373374!      'datafile' path may be changed by user)
    374375      call phys_state_var_init(ngridmx,llm,nqtot,
    375      .                         daysec,dtphys,rad,g,r,cpp)
     376     &                         day_ini,hour_ini,daysec,dtphys,
     377     &                         rad,g,r,cpp)
    376378      call ini_fillgeom(ngridmx,latfi,lonfi,airefi)
    377379      call conf_phys(ngridmx,llm,nqtot)
Note: See TracChangeset for help on using the changeset viewer.