1 |
gforget |
1.2 |
C $Header: /u/gcmpack/MITgcm/verification/hs94.1x64x5/code_oad/CTRL_OPTIONS.h,v 1.1 2014/04/05 23:16:34 jmc Exp $ |
2 |
jmc |
1.1 |
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 |
|
|
#undef EXCLUDE_CTRL_PACK |
33 |
|
|
#undef ALLOW_NONDIMENSIONAL_CONTROL_IO |
34 |
|
|
|
35 |
|
|
C >>> Generic Control. |
36 |
|
|
#define ALLOW_GENARR2D_CONTROL |
37 |
|
|
#define ALLOW_GENARR3D_CONTROL |
38 |
|
|
#define ALLOW_GENTIM2D_CONTROL |
39 |
|
|
|
40 |
|
|
C o Rotation of wind/stress controls adjustments |
41 |
|
|
C from Eastward/Northward to model grid directions |
42 |
|
|
#undef ALLOW_ROTATE_UV_CONTROLS |
43 |
|
|
|
44 |
|
|
C o use pkg/smooth correlation operator (incl. smoother) for 2D controls (Weaver, Courtier 01) |
45 |
|
|
C This CPP option just sets the default for ctrlSmoothCorrel2D to .TRUE. |
46 |
|
|
#undef ALLOW_SMOOTH_CORREL2D |
47 |
|
|
C o use pkg/smooth correlation operator (incl. smoother) for 3D controls (Weaver, Courtier 01) |
48 |
|
|
C This CPP option just sets the default for ctrlSmoothCorrel3D to .TRUE. |
49 |
|
|
#undef ALLOW_SMOOTH_CORREL3D |
50 |
|
|
|
51 |
|
|
C o apply pkg/ctrl/ctrl_smooth.F to 2D controls (outside of ctrlSmoothCorrel2D) |
52 |
|
|
#undef ALLOW_CTRL_SMOOTH |
53 |
|
|
C o apply pkg/smooth/smooth_diff2d.F to 2D controls (outside of ctrlSmoothCorrel2D) |
54 |
|
|
#undef ALLOW_SMOOTH_CTRL2D |
55 |
|
|
C o apply pkg/smooth/smooth_diff3d.F to 3D controls (outside of ctrlSmoothCorrel3D) |
56 |
|
|
#undef ALLOW_SMOOTH_CTRL3D |
57 |
|
|
|
58 |
|
|
C ================================================================== |
59 |
|
|
#endif /* ndef ECCO_CPPOPTIONS_H */ |
60 |
|
|
#endif /* ALLOW_CTRL */ |
61 |
|
|
#endif /* CTRL_OPTIONS_H */ |