Ignore:
Timestamp:
Oct 6, 2017, 6:15:53 PM (7 years ago)
Author:
jvatant
Message:

Making Titan's hazy again, part I
+ Added the source folder libf/muphytitan which contains

YAMMS ( Titan's microphysical model ) from J. Burgalat

+ Modif. compilation files linked to this change
JVO

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/LMDZ.COMMON/makelmdz_fcm

    r1695 r1793  
    6060CHEM_PATH=$LMDGCM/.void_dir
    6161CLOUD_PATH=$LMDGCM/.void_dir
     62MUPHY_PATH=$LMDGCM/.void_dir
    6263AERONO_PATH=$LMDGCM/.void_dir
    6364# Path to fcm utility:
     
    469470fi
    470471
     472# for Titan add microphysics dependencies
     473if [[ -d ${LIBFGCM}/muphy${physique} ]] ; then
     474
     475  # add muphy{physique} to the list of files to compile.
     476  MUPHY_PATH="${LIBFGCM}/muphy${physique}"
     477  # For Titan as we embbed some libraries with CPP keys, we define them:
     478  #   -DPREC={32|64|80} real kind precision (32: simple, 64: double, 80: extended double)
     479  #   -DHAVE_NC_FTN=1 (mandatory: for support of NetCDF in lintnd).
     480  CPP_KEY="$CPP_KEY PREC=64 HAVE_NC_FTN=1"
     481  if [[ "${physique}" == "titan" ]] ; then
     482    echo "Yaahh you're about to use YAMMS in a GCM..."
     483  fi
     484fi
     485
    471486# for Venus (but could be used by others as well), there is also "phyvenus/cloudvenus"
    472487if [[ -d ${LIBFGCM}/phy${physique}/cloud${physique} ]]
     
    720735echo "%CHEM          $CHEM_PATH"     >> $config_fcm
    721736echo "%CLOUD         $CLOUD_PATH"    >> $config_fcm
     737echo "%MUPHY         $MUPHY_PATH"    >> $config_fcm
    722738echo "%AERONO        $AERONO_PATH"   >> $config_fcm
    723739echo "%CPP_KEY       $CPP_KEY"       >> $config_fcm
Note: See TracChangeset for help on using the changeset viewer.