1 |
C $Header: /u/gcmpack/MITgcm/verification/tutorial_global_oce_optim/code_ad/CTRL_OPTIONS.h,v 1.1 2014/09/11 20:01:43 jmc Exp $ |
2 |
C $Name: $ |
3 |
|
4 |
CBOP |
5 |
C !ROUTINE: CTRL_OPTIONS.h |
6 |
C !INTERFACE: |
7 |
C #include "CTRL_OPTIONS.h" |
8 |
|
9 |
C !DESCRIPTION: |
10 |
C *==================================================================* |
11 |
C | CPP options file for Control (ctrl) package: |
12 |
C | Control which optional features to compile in this package code. |
13 |
C *==================================================================* |
14 |
CEOP |
15 |
|
16 |
#ifndef CTRL_OPTIONS_H |
17 |
#define CTRL_OPTIONS_H |
18 |
#include "PACKAGES_CONFIG.h" |
19 |
#include "CPP_OPTIONS.h" |
20 |
|
21 |
#ifdef ALLOW_CTRL |
22 |
#ifdef ECCO_CPPOPTIONS_H |
23 |
|
24 |
C-- When multi-package option-file ECCO_CPPOPTIONS.h is used (directly included |
25 |
C in CPP_OPTIONS.h), this option file is left empty since all options that |
26 |
C are specific to this package are assumed to be set in ECCO_CPPOPTIONS.h |
27 |
|
28 |
#else /* ndef ECCO_CPPOPTIONS_H */ |
29 |
C ================================================================== |
30 |
C-- Package-specific Options & Macros go here |
31 |
|
32 |
C allow use of legacy ecco/ctrl codes |
33 |
#define ECCO_CTRL_DEPRECATED |
34 |
|
35 |
#undef EXCLUDE_CTRL_PACK |
36 |
#define ALLOW_NONDIMENSIONAL_CONTROL_IO |
37 |
|
38 |
C >>> Initial values. |
39 |
#undef ALLOW_THETA0_CONTROL |
40 |
#undef ALLOW_SALT0_CONTROL |
41 |
#undef ALLOW_TR10_CONTROL |
42 |
#undef ALLOW_TAUU0_CONTROL |
43 |
#undef ALLOW_TAUV0_CONTROL |
44 |
#undef ALLOW_SFLUX0_CONTROL |
45 |
#undef ALLOW_HFLUX0_CONTROL |
46 |
#undef ALLOW_SSS0_CONTROL |
47 |
#undef ALLOW_SST0_CONTROL |
48 |
|
49 |
C >>> Surface fluxes. |
50 |
#undef ALLOW_HFLUX_CONTROL |
51 |
#undef ALLOW_SFLUX_CONTROL |
52 |
#undef ALLOW_USTRESS_CONTROL |
53 |
#undef ALLOW_VSTRESS_CONTROL |
54 |
#undef ALLOW_SWFLUX_CONTROL |
55 |
#undef ALLOW_LWFLUX_CONTROL |
56 |
|
57 |
C >>> Atmospheric state. |
58 |
#undef ALLOW_ATEMP_CONTROL |
59 |
#undef ALLOW_AQH_CONTROL |
60 |
#undef ALLOW_UWIND_CONTROL |
61 |
#undef ALLOW_VWIND_CONTROL |
62 |
#undef ALLOW_PRECIP_CONTROL |
63 |
|
64 |
C >>> Other Control. |
65 |
#undef ALLOW_DIFFKR_CONTROL |
66 |
#undef ALLOW_KAPGM_CONTROL |
67 |
#undef ALLOW_KAPREDI_CONTROL |
68 |
#undef ALLOW_BOTTOMDRAG_CONTROL |
69 |
|
70 |
#define ALLOW_HFLUXM_CONTROL |
71 |
#define ALLOW_ECCO_OPTIMIZATION |
72 |
|
73 |
C >>> Generic Control. |
74 |
#undef ALLOW_GENARR2D_CONTROL |
75 |
#undef ALLOW_GENARR3D_CONTROL |
76 |
#undef ALLOW_GENTIM2D_CONTROL |
77 |
|
78 |
C o Rotation of wind/stress controls adjustments |
79 |
C from Eastward/Northward to model grid directions |
80 |
#undef ALLOW_ROTATE_UV_CONTROLS |
81 |
|
82 |
C o use pkg/smooth correlation operator (incl. smoother) for 2D controls (Weaver, Courtier 01) |
83 |
C This CPP option just sets the default for ctrlSmoothCorrel2D to .TRUE. |
84 |
#undef ALLOW_SMOOTH_CORREL2D |
85 |
C o use pkg/smooth correlation operator (incl. smoother) for 3D controls (Weaver, Courtier 01) |
86 |
C This CPP option just sets the default for ctrlSmoothCorrel3D to .TRUE. |
87 |
#undef ALLOW_SMOOTH_CORREL3D |
88 |
|
89 |
C o apply pkg/ctrl/ctrl_smooth.F to 2D controls (outside of ctrlSmoothCorrel2D) |
90 |
#undef ALLOW_CTRL_SMOOTH |
91 |
C o apply pkg/smooth/smooth_diff2d.F to 2D controls (outside of ctrlSmoothCorrel2D) |
92 |
#undef ALLOW_SMOOTH_CTRL2D |
93 |
C o apply pkg/smooth/smooth_diff3d.F to 3D controls (outside of ctrlSmoothCorrel3D) |
94 |
#undef ALLOW_SMOOTH_CTRL3D |
95 |
|
96 |
C ================================================================== |
97 |
#endif /* ndef ECCO_CPPOPTIONS_H */ |
98 |
#endif /* ALLOW_CTRL */ |
99 |
#endif /* CTRL_OPTIONS_H */ |