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