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