Changeset 3359 for LMDZ6/trunk/makelmdz


Ignore:
Timestamp:
Jul 4, 2018, 4:48:30 PM (6 years ago)
Author:
idelkadi
Message:

Implementation de la version COSPv2 dans LMDZ.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • LMDZ6/trunk/makelmdz

    r3232 r3359  
    2525fcm_path=none
    2626cosp=false
     27cosp2=false
    2728sisvat=false
    2829rrtm=false
     
    116117[-chimie INCA/false]       : with INCA chemistry model or without (default: false)
    117118[-cosp true/false]    : compile with/without cosp package (default: false)
     119[-cosp2 true/false]    : compile with/without cosp2 package (default: false)
    118120[-sisvat true/false]  : compile with/without sisvat package (default: false)
    119121[-rrtm true/false]    : compile with/without rrtm package (default: false)
     
    178180      "-cosp")
    179181          cosp="$2" ; shift ; shift ;;
     182
     183      "-cosp2")
     184          cosp2="$2" ; shift ; shift ;;
    180185     
    181186      "-sisvat")
     
    483488   INCLUDE="$INCLUDE"' -I$(LIBF)/'phy${physique}'/cosp'
    484489fi
     490
     491if [[ "$cosp2" == "true" ]]
     492then
     493   CPP_KEY="$CPP_KEY CPP_COSP2"
     494   src_dirs="$src_dirs phy${physique}/cosp2"
     495   INCLUDE="$INCLUDE"' -I$(LIBF)/'phy${physique}'/cosp2'
     496fi
     497
    485498
    486499if [[ "$sisvat" == "true" ]]
     
    758771L_ADJNT=$adjnt \
    759772L_COSP="$lcosp" \
     773L_COSP2="$lcosp2" \
    760774L_CHIMIE="$libchimie" \
    761775LOCAL_DIR="$localdir"  \
     
    791805L_ADJNT=$adjnt \
    792806L_COSP="$lcosp" \
     807L_COSP2="$lcosp2" \
    793808L_CHIMIE="$libchimie" \
    794809LOCAL_DIR="$localdir"  \
Note: See TracChangeset for help on using the changeset viewer.