1 |
jmc |
1.3 |
C $Header: /u/gcmpack/MITgcm/verification/bottom_ctrl_5x5/code_ad/GMREDI_OPTIONS.h,v 1.3 2011/07/13 23:01:22 jmc Exp $ |
2 |
utke |
1.1 |
C $Name: $ |
3 |
|
|
|
4 |
|
|
C CPP options file for GM/Redi package |
5 |
|
|
C Use this file for selecting options within the GM/Redi package |
6 |
jmc |
1.2 |
|
7 |
utke |
1.1 |
#ifndef GMREDI_OPTIONS_H |
8 |
|
|
#define GMREDI_OPTIONS_H |
9 |
|
|
#include "PACKAGES_CONFIG.h" |
10 |
jmc |
1.3 |
#include "CPP_OPTIONS.h" |
11 |
|
|
|
12 |
utke |
1.1 |
#ifdef ALLOW_GMREDI |
13 |
jmc |
1.3 |
C Package-specific Options & Macros go here |
14 |
utke |
1.1 |
|
15 |
|
|
C Designed to simplify the Ajoint code: |
16 |
jmc |
1.3 |
C #define GMREDI_WITH_STABLE_ADJOINT |
17 |
|
|
C -- exclude the clipping/tapering part of the code that is not used |
18 |
utke |
1.1 |
#define GM_EXCLUDE_CLIPPING |
19 |
jmc |
1.3 |
#define GM_EXCLUDE_FM07_TAP |
20 |
utke |
1.1 |
#define GM_EXCLUDE_AC02_TAP |
21 |
jmc |
1.2 |
#undef GM_EXCLUDE_TAPERING |
22 |
|
|
#define GM_EXCLUDE_SUBMESO |
23 |
|
|
|
24 |
utke |
1.1 |
C This allows to use Visbeck et al formulation to compute K_GM+Redi |
25 |
|
|
#undef GM_VISBECK_VARIABLE_K |
26 |
jmc |
1.3 |
C Use old calculation (before 2007/05/24) of Visbeck etal K_GM+Redi |
27 |
|
|
C (which depends on tapering scheme) |
28 |
|
|
#undef OLD_VISBECK_CALC |
29 |
utke |
1.1 |
|
30 |
|
|
C This allows the leading diagonal (top two rows) to be non-unity |
31 |
|
|
C (a feature required when tapering adiabatically). |
32 |
jmc |
1.3 |
#define GM_NON_UNITY_DIAGONAL |
33 |
utke |
1.1 |
|
34 |
|
|
C Allows to use different values of K_GM and K_Redi ; also to |
35 |
|
|
C be used with the advective form (Bolus velocity) of GM |
36 |
jmc |
1.3 |
#define GM_EXTRA_DIAGONAL |
37 |
utke |
1.1 |
|
38 |
|
|
C Allows to use the advective form (Bolus velocity) of GM |
39 |
|
|
C instead of the Skew-Flux form (=default) |
40 |
jmc |
1.3 |
#define GM_BOLUS_ADVEC |
41 |
utke |
1.1 |
|
42 |
jmc |
1.2 |
C Allows to use the Boundary-Value-Problem method to evaluate GM Bolus transport |
43 |
|
|
#undef GM_BOLUS_BVP |
44 |
utke |
1.1 |
|
45 |
|
|
#endif /* ALLOW_GMREDI */ |
46 |
|
|
#endif /* GMREDI_OPTIONS_H */ |
47 |
|
|
|
48 |
jmc |
1.3 |
CEH3 ;;; Local Variables: *** |
49 |
|
|
CEH3 ;;; mode:fortran *** |
50 |
|
|
CEH3 ;;; End: *** |