Changeset 2690 for LMDZ5/trunk/makelmdz


Ignore:
Timestamp:
Oct 30, 2016, 4:35:25 PM (8 years ago)
Author:
oboucher
Message:

Adding a module for stratospheric aerosols with a bin scheme.
The module gets activated with -strataer true compiling option.
May not quite work yet, more testing needed, but should not affect
the rest of LMDz as everything is under a CPP_StratAer key.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • LMDZ5/trunk/makelmdz

    r2631 r2690  
    2929rrtm=false
    3030dust=false
     31strataer=false
    3132full=""
    3233
     
    113114[-rrtm true/false]    : compile with/without rrtm package (default: false)
    114115[-dust true/false]    : compile with/without the dust package from Boucher et al. (default: false)
     116[-strataer true/false]    : compile with/without the strat aer package from Boucher et al. (default: false)
    115117[-parallel none/mpi/omp/mpi_omp] : parallelism (default: none) : mpi, openmp or mixted mpi_openmp
    116118[-g GRI]                   : grid configuration in dyn3d/GRI_xy.h  (default: reg, inclues a zoom)
     
    180182          dust="$2" ; shift ; shift ;;
    181183     
     184      "-strataer")
     185          strataer="$2" ; shift ; shift ;;
     186     
    182187      "-mem")
    183188          paramem="mem" ; shift ;;
     
    459464   CPP_KEY="$CPP_KEY CPP_Dust"
    460465   src_dirs="$src_dirs phy${physique}/Dust"
     466fi
     467
     468if [[ "$strataer" == "true" ]]
     469then
     470   CPP_KEY="$CPP_KEY CPP_StratAer"
     471   src_dirs="$src_dirs phy${physique}/StratAer"
    461472fi
    462473
Note: See TracChangeset for help on using the changeset viewer.