Back to home page

MITgcm

 
 

    


File indexing completed on 2020-01-18 06:11:50 UTC

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