1 |
C $Header: /u/gcmpack/MITgcm_contrib/verification_other/shelfice_remeshing/code/CPP_OPTIONS.h,v 1.2 2016/01/22 16:09:33 dgoldberg Exp $ |
2 |
C $Name: $ |
3 |
|
4 |
#ifndef CPP_OPTIONS_H |
5 |
#define CPP_OPTIONS_H |
6 |
|
7 |
#include "PACKAGES_CONFIG.h" |
8 |
|
9 |
C CPP flags controlling particular source code features |
10 |
|
11 |
C o Shortwave heating as extra term in external_forcing.F |
12 |
C Note: this should be a run-time option |
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 Implicit vertical advection code |
25 |
#define INCLUDE_IMPLVERTADV_CODE |
26 |
|
27 |
C o Include/exclude nonHydrostatic code |
28 |
cph#define ALLOW_NONHYDROSTATIC |
29 |
|
30 |
C o Include pressure loading code |
31 |
#define ATMOSPHERIC_LOADING |
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 |
#define NONLIN_FRSURF |
40 |
cph#define DISABLE_RSTAR_CODE |
41 |
cph#define DISABLE_SIGMA_CODE |
42 |
|
43 |
C o Use "OLD" UV discretisation near boundaries (*not* recommended) |
44 |
C Note - only works with #undef NO_SLIP_LATERAL in calc_mom_rhs.F |
45 |
C because the old code did not have no-slip BCs |
46 |
#undef OLD_ADV_BCS |
47 |
|
48 |
C o Execution environment support options |
49 |
#include "CPP_EEOPTIONS.h" |
50 |
|
51 |
C o Include/exclude code specific to the ECCO/SEALION version. |
52 |
C AUTODIFF or EXF package. |
53 |
cph# include "ECCO_CPPOPTIONS.h" |
54 |
|
55 |
C o Allow full 3D specification of vertical diffusivity |
56 |
#ifdef ALLOW_DIFFKR_CONTROL |
57 |
C - Need to be defined if using DIFFKR_CONTROL |
58 |
C (alternatively, could have put this in ECCO_CPPOPTIONS) |
59 |
#define ALLOW_3D_DIFFKR |
60 |
#else |
61 |
C - otherwise, can be turned on or off hereafter: |
62 |
#undef ALLOW_3D_DIFFKR |
63 |
#endif /* ALLOW_DIFFKR_CONTROL */ |
64 |
|
65 |
#endif /* CPP_OPTIONS_H */ |
66 |
|