Back to home page

MITgcm

 
 

    


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

view on githubraw file Latest commit add29e06 on 2018-01-31 20:35:05 UTC
844edcc456 Jean*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
c768caff9b Jean*0007 C Note: this should be a run-time option
                0008 #undef SHORTWAVE_HEATING
844edcc456 Jean*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 
c768caff9b Jean*0019 C o Include/exclude Implicit vertical advection code
                0020 #define INCLUDE_IMPLVERTADV_CODE
                0021 
844edcc456 Jean*0022 C o Include/exclude nonHydrostatic code
                0023 #undef ALLOW_NONHYDROSTATIC
                0024 
                0025 C o Include pressure loading code
                0026 #define ATMOSPHERIC_LOADING
                0027 
                0028 C o Use "Exact Convervation" of fluid in Free-Surface formulation
                0029 C   so that d/dt(eta) is exactly equal to - Div.Transport
                0030 #define EXACT_CONSERV
                0031 
                0032 C o Allow the use of Non-Linear Free-Surface formulation
                0033 C   this implies that surface thickness (hFactors) vary with time
                0034 #define NONLIN_FRSURF
                0035 
                0036 C o Use "OLD" UV discretisation near boundaries (*not* recommended)
                0037 C   Note - only works with  #undef NO_SLIP_LATERAL  in calc_mom_rhs.F
                0038 C          because the old code did not have no-slip BCs
                0039 #undef  OLD_ADV_BCS
                0040 
                0041 C o Execution environment support options
                0042 #include "CPP_EEOPTIONS.h"
                0043 
                0044 C o Include/exclude code specific to the ECCO/SEALION version.
c768caff9b Jean*0045 C   AUTODIFF or EXF package.
                0046 C   Currently controled by a single header file
                0047 C   For this to work, PACKAGES_CONFIG.h needs to be included!
                0048 cph#if (defined (ALLOW_AUTODIFF) || \
                0049 cph     defined (ALLOW_ECCO) || \
                0050 cph     defined (ALLOW_EXF))
                0051 cph# include "ECCO_CPPOPTIONS.h"
                0052 cph#endif
844edcc456 Jean*0053 
                0054 #endif /* CPP_OPTIONS_H */
                0055