Back to home page

MITgcm

 
 

    


File indexing completed on 2018-03-02 18:45:24 UTC

view on githubraw file Latest commit add29e06 on 2018-01-31 20:35:05 UTC
106e970f7f Andr*0001 #ifndef CPP_OPTIONS_H
                0002 #define CPP_OPTIONS_H
                0003 
                0004 C CPP flags controlling particular source code features
                0005 
                0006 C o Shortwave heating as extra term in external_forcing.F
                0007 C Note: this should be a run-time option and not necessarily dependent on KPP
                0008 #ifdef ALLOW_KPP
                0009 #define  SHORTWAVE_HEATING
                0010 #endif
                0011 
                0012 C o Include/exclude phi_hyd calculation code
                0013 #define INCLUDE_PHIHYD_CALCULATION_CODE
                0014 
                0015 C o Include/exclude call to S/R CONVECT
                0016 #define INCLUDE_CONVECT_CALL
                0017 
                0018 C o Include/exclude call to S/R CALC_DIFFUSIVITY
                0019 #define INCLUDE_CALC_DIFFUSIVITY_CALL
                0020 
                0021 C o Include/exclude Implicit vertical advection code
                0022 #define INCLUDE_IMPLVERTADV_CODE
                0023                                                                                                   
                0024 C o Include/exclude nonHydrostatic code
                0025 #undef ALLOW_NONHYDROSTATIC
                0026 
                0027 C o Include pressure loading code
                0028 #define ATMOSPHERIC_LOADING
                0029 
                0030 C o Use "Exact Convervation" of fluid in Free-Surface formulation
                0031 C   so that d/dt(eta) is exactly equal to - Div.Transport
                0032 #define EXACT_CONSERV
                0033 
                0034 C o Allow the use of Non-Linear Free-Surface formulation
                0035 C   this implies that surface thickness (hFactors) vary with time
                0036 #define NONLIN_FRSURF
                0037 
                0038 C o Use "OLD" UV discretisation near boundaries (*not* recommended)
                0039 C   Note - only works with  #undef NO_SLIP_LATERAL  in calc_mom_rhs.F
                0040 C          because the old code did not have no-slip BCs
                0041 #undef  OLD_ADV_BCS
                0042 
                0043 C o Execution environment support options
                0044 #include "CPP_EEOPTIONS.h"
                0045 
                0046 C o Include/exclude code specific to the ECCO/SEALION version.
                0047 C   AUTODIFF or EXF package.
                0048 C   Currently controled by a single header file
                0049 C   For this to work, PACKAGES_CONFIG.h needs to be included!
                0050 cph#if (defined (ALLOW_AUTODIFF) || \
                0051 cph     defined (ALLOW_ECCO) || \
                0052 cph     defined (ALLOW_EXF))
                0053 cph# include "ECCO_CPPOPTIONS.h"
                0054 cph#endif
                0055 
                0056 #endif /* CPP_OPTIONS_H */
                0057