/[MITgcm]/MITgcm_contrib/high_res_cube/code-mods/CPP_OPTIONS.h
ViewVC logotype

Contents of /MITgcm_contrib/high_res_cube/code-mods/CPP_OPTIONS.h

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


Revision 1.7 - (show annotations) (download)
Tue May 1 09:38:39 2007 UTC (18 years, 2 months ago) by dimitri
Branch: MAIN
Changes since 1.6: +3 -3 lines
File MIME type: text/plain
more changes for cube65: using diffKrFile = 'DIFFKR_2_20_1',
reduced ArcticOcean near-surface diffusivity to 1e-6

1 C $Header: /u/gcmpack/MITgcm_contrib/high_res_cube/code-mods/CPP_OPTIONS.h,v 1.6 2007/04/14 18:40:49 dimitri 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 Allow latitudinally varying BryanLewis79 vertical diffusivity
25 #undef ALLOW_BL79_LAT_VARY
26
27 C o Allow full 3D specification of vertical diffusivity
28 #define ALLOW_3D_DIFFKR
29
30 C o Include/exclude Implicit vertical advection code
31 #undef INCLUDE_IMPLVERTADV_CODE
32
33 C o Include/exclude AdamsBashforth-3rd-Order code
34 #undef ALLOW_ADAMSBASHFORTH_3
35
36 C o Include/exclude nonHydrostatic code
37 #undef ALLOW_NONHYDROSTATIC
38
39 C o Include pressure loading code
40 #define ATMOSPHERIC_LOADING
41
42 C o Use "Exact Convervation" of fluid in Free-Surface formulation
43 C so that d/dt(eta) is exactly equal to - Div.Transport
44 #define EXACT_CONSERV
45
46 C o Allow the use of Non-Linear Free-Surface formulation
47 C this implies that surface thickness (hFactors) vary with time
48 #define NONLIN_FRSURF
49
50 C o ALLOW isotropic scaling of harmonic and bi-harmonic terms when
51 C using an locally isotropic spherical grid with (dlambda) x (dphi*cos(phi))
52 C *only for use on a lat-lon grid*
53 C Setting this flag here affects both momentum and tracer equation unless
54 C it is set/unset again in other header fields (e.g., GAD_OPTIONS.h).
55 C The definition of the flag is commented to avoid interference with
56 C such other header files.
57 C The preferred method is specifying a value for viscAhGrid or viscA4Grid
58 C in data which is then automatically scaled by the grid size;
59 C the old method of specifying viscAh/viscA4 and this flag is provided
60 C for completeness only (and for use with the adjoint).
61 C#undef ISOTROPIC_COS_SCALING
62
63 C o This flag selects the form of COSINE(lat) scaling of bi-harmonic term.
64 C *only for use on a lat-lon grid*
65 C Has no effect if ISOTROPIC_COS_SCALING is undefined.
66 C Has no effect on vector invariant momentum equations.
67 C Setting this flag here affects both momentum and tracer equation unless
68 C it is set/unset again in other header fields (e.g., GAD_OPTIONS.h).
69 C The definition of the flag is commented to avoid interference with
70 C such other header files.
71 C#undef COSINEMETH_III
72
73 C o Use "OLD" UV discretisation near boundaries (*not* recommended)
74 C Note - only works with #undef NO_SLIP_LATERAL in calc_mom_rhs.F
75 C because the old code did not have no-slip BCs
76 #undef OLD_ADV_BCS
77
78 C o Use LONG.bin, LATG.bin, etc., initialization for ini_curviliear_grid.F
79 C Default is to use "new" grid files (OLD_GRID_IO undef) but OLD_GRID_IO
80 C is still useful with, e.g., single-domain curvilinear configurations.
81 #undef OLD_GRID_IO
82
83 C o Execution environment support options
84 #include "CPP_EEOPTIONS.h"
85
86 C o Include/exclude code specific to the ECCO/SEALION version.
87 C AUTODIFF or EXF package.
88 C Currently controled by a single header file
89 C For this to work, PACKAGES_CONFIG.h needs to be included!
90 #if (defined (ALLOW_AUTODIFF) || \
91 defined (ALLOW_ECCO) || \
92 defined (ALLOW_EXF))
93 # include "ECCO_CPPOPTIONS.h"
94 #endif
95
96 C o Configuration details specific to high-resolution cube-sphere
97 #define HRCUBE
98
99 #endif /* CPP_OPTIONS_H */
100

  ViewVC Help
Powered by ViewVC 1.1.22