Ignore:
Timestamp:
Nov 19, 2013, 12:52:22 PM (11 years ago)
Author:
emillour
Message:

Common dynamics: Updates and modifications to enable running Mars physics with

LMDZ.COMMON dynamics:

  • For compilation: adapted makelmdz, create_make_gcm and makelmdz_fcm, bld.cfg to compile aeronomy routines in "aerono$physique" if it exists, and added "-P -traditional" preprocessing flags in "arch-linux-ifort*"
  • Added function "cbrt.F" (cubic root) in 'bibio'
  • Adapted the reading/writing of dynamics (re)start.nc files for Mars. The main issue is that different information (on time, reference and current) is stored and used differently, hence a few if (planet_type =="mars") here and there. Moreover in the martian case there is the possibility to store fields over multiple times. Some Mars-specific variables (ecritphy,ecritstart,timestart) added in control_mod.F and (hour_ini) in temps.h

EM

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/LMDZ.COMMON/libf/dyn3d/temps.h

    r974 r1107  
    1313! INCLUDE 'temps.h'
    1414
    15       COMMON/temps/ dt, jD_ref, jH_ref, start_time,                     &
    16      &             day_ini, day_end, annee_ref, day_ref,                &
    17      &             itau_dyn, itau_phy, itaufin, calend
     15      COMMON/temps_r/dt,jD_ref,jH_ref,start_time,hour_ini
     16      COMMON/temps_i/day_ini,day_end,annee_ref,day_ref,                 &
     17     &             itau_dyn,itau_phy,itaufin
     18      COMMON/temps_c/calend
    1819
    1920
    20       INTEGER   itaufin
     21      INTEGER   itaufin ! total number of dynamical steps for the run
    2122      INTEGER   itau_dyn, itau_phy
    22       INTEGER   day_ini, day_end, annee_ref, day_ref
    23       REAL      dt, jD_ref, jH_ref, start_time
     23      INTEGER   day_ini ! initial day # of simulation sequence
     24      INTEGER   day_end ! final day # ; i.e. day # when this simulation ends
     25      INTEGER   annee_ref
     26      INTEGER   day_ref
     27      REAL      dt ! (dynamics) time step (changes if doing Matsuno or LF step)
     28      REAL      jD_ref, jH_ref, start_time
    2429      CHARACTER (len=10) :: calend
    2530
     31      ! Additionnal Mars stuff:
     32      real hour_ini ! initial fraction of day of simulation sequence (0=<hour_ini<1)
     33
    2634!-----------------------------------------------------------------------
Note: See TracChangeset for help on using the changeset viewer.