1 |
heimbach |
1.1 |
C |
2 |
jmc |
1.10 |
C $Header: /u/gcmpack/MITgcm/verification/front_relax/code_ad/CPP_OPTIONS.h,v 1.9 2008/08/21 16:03:21 jmc Exp $ |
3 |
edhill |
1.3 |
C $Name: $ |
4 |
heimbach |
1.1 |
|
5 |
|
|
C CPP flags controlling which code in included in the files that |
6 |
|
|
C will be compiled. |
7 |
|
|
|
8 |
heimbach |
1.4 |
#ifndef CPP_OPTIONS_H |
9 |
|
|
#define CPP_OPTIONS_H |
10 |
|
|
|
11 |
edhill |
1.3 |
#include "PACKAGES_CONFIG.h" |
12 |
heimbach |
1.1 |
|
13 |
|
|
C o Shortwave heating as extra term in external_forcing.F |
14 |
|
|
#ifdef ALLOW_KPP |
15 |
|
|
#define SHORTWAVE_HEATING |
16 |
|
|
#endif |
17 |
|
|
|
18 |
|
|
C o Include/exclude phi_hyd calculation code |
19 |
|
|
#define INCLUDE_PHIHYD_CALCULATION_CODE |
20 |
|
|
|
21 |
|
|
C o Include/exclude call to S/R CONVECT |
22 |
|
|
#define INCLUDE_CONVECT_CALL |
23 |
|
|
|
24 |
|
|
C o Include/exclude call to S/R CALC_DIFFUSIVITY |
25 |
|
|
#define INCLUDE_CALC_DIFFUSIVITY_CALL |
26 |
|
|
|
27 |
jmc |
1.10 |
C o Allow full 3D specification of vertical diffusivity |
28 |
|
|
#define ALLOW_3D_DIFFKR |
29 |
|
|
|
30 |
heimbach |
1.1 |
C o Allow nonHydrostatic code |
31 |
|
|
#undef ALLOW_NONHYDROSTATIC |
32 |
|
|
|
33 |
|
|
C o Use "Exact Convervation" of fluid in Free-Surface formulation |
34 |
|
|
C so that d/dt(eta) is exactly equal to - Div.Transport |
35 |
|
|
#define EXACT_CONSERV |
36 |
|
|
|
37 |
|
|
C o Allow the use of Non-Linear Free-Surface formulation |
38 |
|
|
C this implies that surface thickness (hFactors) vary with time |
39 |
|
|
#undef NONLIN_FRSURF |
40 |
|
|
|
41 |
|
|
C o Execution environment support options |
42 |
|
|
#include "CPP_EEOPTIONS.h" |
43 |
|
|
|
44 |
|
|
C o Add passive tracer advection routines |
45 |
|
|
#define ALLOW_PASSIVE_TRACER |
46 |
|
|
|
47 |
jmc |
1.10 |
C o Include/exclude single header file containing multiple packages options |
48 |
|
|
C (AUTODIFF, COST, CTRL, ECCO, EXF ...) instead of the standard way where |
49 |
|
|
C each of the above pkg get its own options from its specific option file. |
50 |
|
|
C Although this method, inherited from ECCO setup, has been traditionally |
51 |
|
|
C used for all adjoint built, work is in progress to allow to use the |
52 |
|
|
C standard method also for adjoint built. |
53 |
|
|
#ifdef PACKAGES_CONFIG_H |
54 |
heimbach |
1.4 |
# include "ECCO_CPPOPTIONS.h" |
55 |
heimbach |
1.1 |
#endif |
56 |
|
|
|
57 |
heimbach |
1.4 |
#endif /* CPP_OPTIONS_H */ |