1 |
C $Header: /u/gcmpack/MITgcm_contrib/arctic40km/code_ad/CPP_OPTIONS.h,v 1.2 2006/05/31 21:30:36 heimbach Exp $ |
2 |
C $Name: $ |
3 |
|
4 |
#ifndef CPP_OPTIONS_H |
5 |
#define CPP_OPTIONS_H |
6 |
|
7 |
#include "PACKAGES_CONFIG.h" |
8 |
#include "AD_CONFIG.h" |
9 |
|
10 |
C CPP flags controlling particular source code features |
11 |
|
12 |
C o Shortwave heating as extra term in external_forcing.F |
13 |
#define SHORTWAVE_HEATING |
14 |
|
15 |
C o Include/exclude phi_hyd calculation code |
16 |
#define INCLUDE_PHIHYD_CALCULATION_CODE |
17 |
|
18 |
C o Include/exclude call to S/R CONVECT |
19 |
#define INCLUDE_CONVECT_CALL |
20 |
|
21 |
C o Include/exclude call to S/R CALC_DIFFUSIVITY |
22 |
#define INCLUDE_CALC_DIFFUSIVITY_CALL |
23 |
|
24 |
C o Include/exclude nonHydrostatic code |
25 |
#undef ALLOW_NONHYDROSTATIC |
26 |
|
27 |
C o Include pressure loading code |
28 |
#define ATMOSPHERIC_LOADING |
29 |
|
30 |
C o Use "Exact Convervation" of fluid in Free-Surface formulation |
31 |
C so that d/dt(eta) is exactly equal to - Div.Transport |
32 |
#define EXACT_CONSERV |
33 |
|
34 |
C------------------------------------------------------------------ |
35 |
C |
36 |
C o Allow the use of Non-Linear Free-Surface formulation |
37 |
C this implies that surface thickness (hFactors) vary with time |
38 |
#define NONLIN_FRSURF |
39 |
|
40 |
C o NEW OPTION to disable rStar (z*) code |
41 |
#define DISABLE_RSTAR_CODE |
42 |
C |
43 |
C------------------------------------------------------------------ |
44 |
|
45 |
C o Use "OLD" UV discretisation near boundaries (*not* recommended) |
46 |
C Note - only works with #undef NO_SLIP_LATERAL in calc_mom_rhs.F |
47 |
C because the old code did not have no-slip BCs |
48 |
#undef OLD_ADV_BCS |
49 |
|
50 |
C o Execution environment support options |
51 |
#include "CPP_EEOPTIONS.h" |
52 |
|
53 |
C o Include/exclude code specific to the ECCO/SEALION version. |
54 |
C AUTODIFF or EXF package. |
55 |
C Currently controled by a single header file |
56 |
C For this to work, PACKAGES_CONFIG.h needs to be included! |
57 |
#include "ECCO_CPPOPTIONS.h" |
58 |
|
59 |
#endif /* CPP_OPTIONS_H */ |
60 |
|