| 1 |
gforget |
1.1 |
C $Header: /u/gcmpack/MITgcm_contrib/gael/verification/global_oce_llc90/code/CTRL_OPTIONS.h,v 1.2 2015/10/23 19:25:16 gforget 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 o I/O and pack settings |
| 33 |
|
|
#define CTRL_SET_PREC_32 |
| 34 |
|
|
#define ALLOW_NONDIMENSIONAL_CONTROL_IO |
| 35 |
|
|
#define ALLOW_PACKUNPACK_METHOD2 |
| 36 |
|
|
|
| 37 |
|
|
C This allows for GMREDI controls |
| 38 |
|
|
#define ALLOW_KAPGM_CONTROL |
| 39 |
|
|
# undef ALLOW_KAPGM_CONTROL_OLD |
| 40 |
|
|
#define ALLOW_KAPREDI_CONTROL |
| 41 |
|
|
# undef ALLOW_KAPREDI_CONTROL_OLD |
| 42 |
|
|
|
| 43 |
|
|
C o sets of controls |
| 44 |
|
|
#define ALLOW_GENTIM2D_CONTROL |
| 45 |
|
|
#define ALLOW_GENARR2D_CONTROL |
| 46 |
|
|
#define ALLOW_GENARR3D_CONTROL |
| 47 |
|
|
|
| 48 |
|
|
C o use pkg/smooth correlation operator (incl. smoother) for 3D controls (Weaver, Courtier 01) |
| 49 |
|
|
C This CPP option just sets the default for ctrlSmoothCorrel23 to .TRUE. |
| 50 |
|
|
#define ALLOW_SMOOTH_CORREL3D |
| 51 |
|
|
C o use pkg/smooth correlation operator (incl. smoother) for 2D controls (Weaver, Courtier 01) |
| 52 |
|
|
C This CPP option just sets the default for ctrlSmoothCorrel2D to .TRUE. |
| 53 |
|
|
#define ALLOW_SMOOTH_CORREL2D |
| 54 |
|
|
|
| 55 |
|
|
C o impose bounds on controls |
| 56 |
|
|
#define ALLOW_ADCTRLBOUND |
| 57 |
|
|
|
| 58 |
|
|
C o rotate u/v vector control to zonal/meridional |
| 59 |
|
|
C components |
| 60 |
|
|
#define ALLOW_ROTATE_UV_CONTROLS |
| 61 |
|
|
|
| 62 |
|
|
C ================================================================== |
| 63 |
|
|
#endif /* ndef ECCO_CPPOPTIONS_H */ |
| 64 |
|
|
#endif /* ALLOW_CTRL */ |
| 65 |
|
|
#endif /* CTRL_OPTIONS_H */ |
| 66 |
|
|
|