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