Ignore:
Timestamp:
Mar 25, 2016, 10:34:35 AM (9 years ago)
Author:
emillour
Message:

All GCMs: Updates to make planetary codes (+Earth) setups converge.

  • Made a "phy_common" directory in libf, to contain routines common (wrt structural nature of underlying code/grid) to all LMDZ-related physics packages.
  • moved all "mod_phys_*" and "mod_grid_phy_lmdz" files from dynlonlat_phylonlat to "phy_common"
  • moved "ioipsl_getincom_p.F90 from "misc" to "phy_common" and modified it to match Earth GCM version and renamed it ioipsl_getin_p_mod.F90
  • added an "abort_physics" (as in Earth GCM) in "phy_common"
  • added a "print_control_mod.F90 (as in Earth GCM) in phy_common
  • made similar changes in LMDZ.GENERIC and LMDZ.MARS

EM

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/LMDZ.COMMON/makelmdz

    r1444 r1521  
    308308then
    309309   #We'll use some physics
    310    src_dirs="$src_dirs phy$physique"
     310   src_dirs="$src_dirs phy_common phy$physique"
    311311   LIBPHY='$(LIBO)/libphy'"$physique"'.a'
    312    lib_phy='-lphy'"$physique"
     312   LIBPHY_COMMON='$(LIBO)/libphy_common.a'
     313   lib_phy='-lphy'"$physique"' -lphy_common'
    313314   CPP_KEY="$CPP_KEY CPP_PHYS"
    314315   if [[ "${phys_root}" == "lmd" ]]
     
    810811"PHYS=$physique" \
    811812LIBPHY=${LIBPHY} \
     813LIBPHY_COMMON=${LIBPHY_COMMON} \
    812814LIBDYN_PHYS=${LIBDYN_PHYS} \
    813815DIM=$dimc \
     
    845847"PHYS=$physique" \
    846848LIBPHY=${LIBPHY} \
     849LIBPHY_COMMON=${LIBPHY_COMMON} \
    847850LIBDYN_PHYS=${LIBDYN_PHYS} \
    848851DIM=$dimc \
Note: See TracChangeset for help on using the changeset viewer.