1 |
dimitri |
1.1 |
C $Header: /u/gcmpack/MITgcm_contrib/high_res_cube/code-mods/CPP_OPTIONS.h,v 1.5 2005/09/16 17:43:32 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 |
|
|
#define SHORTWAVE_HEATING |
13 |
|
|
|
14 |
|
|
C o Include/exclude phi_hyd calculation code |
15 |
|
|
#define INCLUDE_PHIHYD_CALCULATION_CODE |
16 |
|
|
|
17 |
|
|
C o Include/exclude call to S/R CONVECT |
18 |
|
|
#define INCLUDE_CONVECT_CALL |
19 |
|
|
|
20 |
|
|
C o Include/exclude call to S/R CALC_DIFFUSIVITY |
21 |
|
|
#define INCLUDE_CALC_DIFFUSIVITY_CALL |
22 |
|
|
|
23 |
|
|
C o Include/exclude nonHydrostatic code |
24 |
|
|
#undef ALLOW_NONHYDROSTATIC |
25 |
|
|
|
26 |
|
|
C o Include pressure loading code |
27 |
|
|
#define ATMOSPHERIC_LOADING |
28 |
|
|
|
29 |
|
|
C o Use "Exact Convervation" of fluid in Free-Surface formulation |
30 |
|
|
C so that d/dt(eta) is exactly equal to - Div.Transport |
31 |
|
|
#define EXACT_CONSERV |
32 |
|
|
|
33 |
|
|
C o Allow the use of Non-Linear Free-Surface formulation |
34 |
|
|
C this implies that surface thickness (hFactors) vary with time |
35 |
|
|
#define NONLIN_FRSURF |
36 |
|
|
|
37 |
|
|
C o NEW OPTION to disable rStar (z*) code |
38 |
|
|
#define DISABLE_RSTAR_CODE |
39 |
|
|
|
40 |
|
|
C o Use "OLD" UV discretisation near boundaries (*not* recommended) |
41 |
|
|
C Note - only works with #undef NO_SLIP_LATERAL in calc_mom_rhs.F |
42 |
|
|
C because the old code did not have no-slip BCs |
43 |
|
|
#undef OLD_ADV_BCS |
44 |
|
|
|
45 |
|
|
C o Use LONG.bin, LATG.bin, etc., initialization for ini_curviliear_grid.F |
46 |
|
|
C Default is to use "new" grid files (OLD_GRID_IO undef) but OLD_GRID_IO |
47 |
|
|
C is still useful with, e.g., single-domain curvilinear configurations. |
48 |
|
|
#define OLD_GRID_IO |
49 |
|
|
|
50 |
|
|
C (alternatively, could have put this in ECCO_CPPOPTIONS) |
51 |
|
|
#define ALLOW_3D_DIFFKR |
52 |
|
|
|
53 |
|
|
C o Execution environment support options |
54 |
|
|
#include "CPP_EEOPTIONS.h" |
55 |
|
|
|
56 |
|
|
C o Include/exclude code specific to the ECCO/SEALION version. |
57 |
|
|
C AUTODIFF or EXF package. |
58 |
|
|
C Currently controled by a single header file |
59 |
|
|
C For this to work, PACKAGES_CONFIG.h needs to be included! |
60 |
|
|
cph# include "ECCO_CPPOPTIONS.h" |
61 |
|
|
|
62 |
|
|
C o Configuration details specific to high-resolution cube-sphere |
63 |
|
|
C#define HRCUBE |
64 |
|
|
|
65 |
|
|
#endif /* CPP_OPTIONS_H */ |