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/moyzon_mod.F90

    r1056 r1107  
    2222
    2323CONTAINS
    24 
    2524!======================================================================
    2625SUBROUTINE moyzon_init
    27 
     26#ifdef CPP_PHYS
     27! This routine needs physics
    2828USE dimphy
    2929USE infotrac, only: nqtot
     
    3737      ALLOCATE(zzlevbar(klon,llm+1),zzlaybar(klon,llm))
    3838
     39#else
     40    include "iniprint.h"
     41    write(lunout,*) "moyzon_init Error: should only be called with physics"
     42    stop
     43#endif
    3944END SUBROUTINE moyzon_init
    4045
Note: See TracChangeset for help on using the changeset viewer.