| 1 | C $Header: /u/u3/gcmpack/MITgcm/model/inc/CPP_OPTIONS.h,v 1.22.2.1 2003/10/01 20:43:17 adcroft Exp $ | 
| 2 | C $Name:  $ | 
| 3 |  | 
| 4 | #include "PACKAGES_CONFIG.h" | 
| 5 |  | 
| 6 | C CPP flags controlling particular source code features | 
| 7 |  | 
| 8 | C o Include/exclude code for C-D grid method of integrating the | 
| 9 | C   coriolis terms | 
| 10 | #define  INCLUDE_CD_CODE | 
| 11 |  | 
| 12 | C o Include/exclude temperature forcing code | 
| 13 | C#define  INCLUDE_T_FORCING_CODE | 
| 14 |  | 
| 15 | C o Shortwave heating as extra term in external_forcing.F | 
| 16 | C Note: this should be a run-time option and not necessarily dependent on KPP | 
| 17 | #ifdef ALLOW_KPP | 
| 18 | #define  SHORTWAVE_HEATING | 
| 19 | #endif | 
| 20 |  | 
| 21 | C o Include/exclude momentum forcing code | 
| 22 | #define INCLUDE_MOMENTUM_FORCING_CODE | 
| 23 |  | 
| 24 | C o Include/exclude momentum eqn metric terms code | 
| 25 | #define INCLUDE_MOMENTUM_METRIC_TERM_CODE | 
| 26 |  | 
| 27 | C o Include/exclude phi_hyd calculation code | 
| 28 | #define INCLUDE_PHIHYD_CALCULATION_CODE | 
| 29 |  | 
| 30 | C o Include/exclude call to S/R CONVECT | 
| 31 | #define INCLUDE_CONVECT_CALL | 
| 32 |  | 
| 33 | C o Include/exclude call to S/R CALC_DIFFUSIVITY | 
| 34 | #define INCLUDE_CALC_DIFFUSIVITY_CALL | 
| 35 |  | 
| 36 | C o Allow nonHydrostatic code | 
| 37 | #define ALLOW_NONHYDROSTATIC | 
| 38 |  | 
| 39 | C o Include pressure loading code | 
| 40 | #define ATMOSPHERIC_LOADING | 
| 41 |  | 
| 42 | C o Use "natural" boundary conditions for salinity | 
| 43 | C   instead of the "virtual salt flux" | 
| 44 | #undef  USE_NATURAL_BCS | 
| 45 |  | 
| 46 | C o Use "Exact Convervation" of fluid in Free-Surface formulation | 
| 47 | C   so that d/dt(eta) is exactly equal to - Div.Transport | 
| 48 | #define EXACT_CONSERV | 
| 49 |  | 
| 50 | C o Allow the use of Non-Linear Free-Surface formulation | 
| 51 | C   this implies that surface thickness (hFactors) vary with time | 
| 52 | #define NONLIN_FRSURF | 
| 53 |  | 
| 54 | C o Use "OLD" UV discretisation near boundaries (*not* recommended) | 
| 55 | C   Note - only works with  #undef NO_SLIP_LATERAL  in calc_mom_rhs.F | 
| 56 | C          because the old code did not have no-slip BCs | 
| 57 | #undef  OLD_ADV_BCS | 
| 58 |  | 
| 59 | C o Use "OLD" UV geometry on sphere (definately *NOT* recommended) | 
| 60 | C   Note - only works with  #undef NO_SLIP_LATERAL  in calc_mom_rhs.F | 
| 61 | C          because the old code did not have no-slip BCs | 
| 62 | #undef  OLD_UV_GEOMETRY | 
| 63 |  | 
| 64 | C o Execution environment support options | 
| 65 | #include "CPP_EEOPTIONS.h" | 
| 66 |  | 
| 67 | C o Include/exclude code specific to the ECCO/SEALION version. | 
| 68 | #undef INCLUDE_ECCO_PACKAGE | 
| 69 | #ifdef INCLUDE_ECCO_PACKAGE | 
| 70 | #include "ECCO_CPPOPTIONS.h" | 
| 71 | #endif |