/[MITgcm]/MITgcm/verification/OpenAD/code_oad/CPP_OPTIONS.h
ViewVC logotype

Contents of /MITgcm/verification/OpenAD/code_oad/CPP_OPTIONS.h

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.1 - (show annotations) (download)
Thu Jan 29 21:46:49 2009 UTC (15 years, 3 months ago) by utke
Branch: MAIN
CVS Tags: checkpoint64q, checkpoint64p, checkpoint64i, checkpoint64h, checkpoint64k, checkpoint64j, checkpoint64m, checkpoint64l, checkpoint64o, checkpoint64n, checkpoint64a, checkpoint64c, checkpoint64b, checkpoint64e, checkpoint64d, checkpoint64g, checkpoint64f, checkpoint63p, checkpoint63q, checkpoint63r, checkpoint63s, checkpoint63l, checkpoint63m, checkpoint63n, checkpoint63o, checkpoint63h, checkpoint63i, checkpoint63j, checkpoint63k, checkpoint63d, checkpoint63e, checkpoint63f, checkpoint63g, checkpoint63a, checkpoint63b, checkpoint63c, checkpoint64, checkpoint62, checkpoint63, checkpoint62c, checkpoint62b, checkpoint62a, checkpoint62g, checkpoint62f, checkpoint62e, checkpoint62d, checkpoint62k, checkpoint62j, checkpoint62i, checkpoint62h, checkpoint62o, checkpoint62n, checkpoint62m, checkpoint62l, checkpoint62s, checkpoint62r, checkpoint62q, checkpoint62p, checkpoint62w, checkpoint62v, checkpoint62u, checkpoint62t, checkpoint62z, checkpoint62y, checkpoint62x, checkpoint61n, checkpoint61o, checkpoint61l, checkpoint61m, checkpoint61j, checkpoint61k, checkpoint61i, checkpoint61v, checkpoint61w, checkpoint61t, checkpoint61u, checkpoint61r, checkpoint61s, checkpoint61p, checkpoint61q, checkpoint61z, checkpoint61x, checkpoint61y
File MIME type: text/plain
added files following the new naming convention _oad for OpenAD
verification experiments

1 C $Header: /u/gcmpack/MITgcm_contrib/heimbach/OpenAD/code_regress/CPP_OPTIONS.h,v 1.2 2008/08/22 21:46:52 utke 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 #ifdef ALLOW_KPP
14 #define SHORTWAVE_HEATING
15 #endif
16
17 C o Include/exclude phi_hyd calculation code
18 #define INCLUDE_PHIHYD_CALCULATION_CODE
19
20 C o Include/exclude call to S/R CONVECT
21 #define INCLUDE_CONVECT_CALL
22
23 C o Include/exclude call to S/R CALC_DIFFUSIVITY
24 #define INCLUDE_CALC_DIFFUSIVITY_CALL
25
26 C o Allow latitudinally varying BryanLewis79 vertical diffusivity
27 #undef ALLOW_BL79_LAT_VARY
28
29 C o Include/exclude Implicit vertical advection code
30 C#define INCLUDE_IMPLVERTADV_CODE
31
32 C o Include/exclude AdamsBashforth-3rd-Order code
33 #undef ALLOW_ADAMSBASHFORTH_3
34
35 C o Include/exclude nonHydrostatic code
36 #undef ALLOW_NONHYDROSTATIC
37
38 C o Include pressure loading code
39 C#define ATMOSPHERIC_LOADING
40
41 C o exclude/allow external forcing-fields load
42 C this allows to read & do simple linear time interpolation of oceanic
43 C forcing fields, if no specific pkg (e.g., EXF) is used to compute them.
44 #undef EXCLUDE_FFIELDS_LOAD
45
46 C o Include/exclude GM-like eddy stress in momentum code
47 #undef ALLOW_EDDYPSI
48
49 C o Use "Exact Convervation" of fluid in Free-Surface formulation
50 C so that d/dt(eta) is exactly equal to - Div.Transport
51 #undef EXACT_CONSERV
52
53 C o Allow the use of Non-Linear Free-Surface formulation
54 C this implies that surface thickness (hFactors) vary with time
55 #undef NONLIN_FRSURF
56
57 C o Allow mass source or sink of Fluid in the interior
58 C (3-D generalisation of oceanic real-fresh water flux)
59 #undef ALLOW_ADDFLUID
60
61 C o ALLOW isotropic scaling of harmonic and bi-harmonic terms when
62 C using an locally isotropic spherical grid with (dlambda) x (dphi*cos(phi))
63 C *only for use on a lat-lon grid*
64 C Setting this flag here affects both momentum and tracer equation unless
65 C it is set/unset again in other header fields (e.g., GAD_OPTIONS.h).
66 C The definition of the flag is commented to avoid interference with
67 C such other header files.
68 C The preferred method is specifying a value for viscAhGrid or viscA4Grid
69 C in data which is then automatically scaled by the grid size;
70 C the old method of specifying viscAh/viscA4 and this flag is provided
71 C for completeness only (and for use with the adjoint).
72 C#define ISOTROPIC_COS_SCALING
73
74 C o This flag selects the form of COSINE(lat) scaling of bi-harmonic term.
75 C *only for use on a lat-lon grid*
76 C Has no effect if ISOTROPIC_COS_SCALING is undefined.
77 C Has no effect on vector invariant momentum equations.
78 C Setting this flag here affects both momentum and tracer equation unless
79 C it is set/unset again in other header fields (e.g., GAD_OPTIONS.h).
80 C The definition of the flag is commented to avoid interference with
81 C such other header files.
82 C#define COSINEMETH_III
83
84 C o Use "OLD" UV discretisation near boundaries (*not* recommended)
85 C Note - only works with #undef NO_SLIP_LATERAL in calc_mom_rhs.F
86 C because the old code did not have no-slip BCs
87 C#undef OLD_ADV_BCS
88
89 C o Use LONG.bin, LATG.bin, etc., initialization for ini_curviliear_grid.F
90 C Default is to use "new" grid files (OLD_GRID_IO undef) but OLD_GRID_IO
91 C is still useful with, e.g., single-domain curvilinear configurations.
92 C#undef OLD_GRID_IO
93
94 C o Execution environment support options
95 #include "CPP_EEOPTIONS.h"
96
97 C o Include/exclude code specific to the ECCO/SEALION version.
98 C AUTODIFF or EXF package.
99 C Currently controled by a single header file
100 C For this to work, PACKAGES_CONFIG.h needs to be included!
101 #if (defined (ALLOW_AUTODIFF) || \
102 defined (ALLOW_ECCO) || \
103 defined (ALLOW_EXF))
104 # include "ECCO_CPPOPTIONS.h"
105 #endif
106
107 C o Allow full 3D specification of vertical diffusivity
108 #ifdef ALLOW_DIFFKR_CONTROL
109 C - Need to be defined if using DIFFKR_CONTROL
110 C (alternatively, could have put this in ECCO_CPPOPTIONS)
111 #define ALLOW_3D_DIFFKR
112 #else
113 C - otherwise, can be turned on or off hereafter:
114 #undef ALLOW_3D_DIFFKR
115 #endif /* ALLOW_DIFFKR_CONTROL */
116
117 #endif /* CPP_OPTIONS_H */
118
119

  ViewVC Help
Powered by ViewVC 1.1.22