1 |
gforget |
1.5 |
C $Header: /u/gcmpack/MITgcm_contrib/gael/verification/global_oce_llc90/code/GMREDI_OPTIONS.h,v 1.4 2014/10/21 04:56:23 gforget Exp $ |
2 |
gforget |
1.1 |
C $Name: $ |
3 |
|
|
|
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 |
|
|
|
8 |
|
|
#ifndef GMREDI_OPTIONS_H |
9 |
|
|
#define GMREDI_OPTIONS_H |
10 |
|
|
#include "PACKAGES_CONFIG.h" |
11 |
|
|
#include "CPP_OPTIONS.h" |
12 |
|
|
|
13 |
|
|
#ifdef ALLOW_GMREDI |
14 |
|
|
C Package-specific Options & Macros go here |
15 |
|
|
|
16 |
|
|
C Designed to simplify the Ajoint code: |
17 |
gforget |
1.3 |
#define GMREDI_WITH_STABLE_ADJOINT |
18 |
gforget |
1.4 |
|
19 |
|
|
C This allows for GMREDI controls |
20 |
|
|
#define ALLOW_KAPGM_CONTROL |
21 |
gforget |
1.5 |
# undef ALLOW_KAPGM_CONTROL_OLD |
22 |
gforget |
1.4 |
#define ALLOW_KAPREDI_CONTROL |
23 |
gforget |
1.5 |
# undef ALLOW_KAPREDI_CONTROL_OLD |
24 |
gforget |
1.4 |
|
25 |
gforget |
1.1 |
C -- exclude the clipping/tapering part of the code that is not used |
26 |
|
|
#define GM_EXCLUDE_CLIPPING |
27 |
|
|
#define GM_EXCLUDE_FM07_TAP |
28 |
|
|
#define GM_EXCLUDE_AC02_TAP |
29 |
|
|
C #define GM_EXCLUDE_TAPERING |
30 |
|
|
#define GM_EXCLUDE_SUBMESO |
31 |
|
|
|
32 |
|
|
C This allows to use Visbeck et al formulation to compute K_GM+Redi |
33 |
|
|
#undef GM_VISBECK_VARIABLE_K |
34 |
|
|
C Use old calculation (before 2007/05/24) of Visbeck etal K_GM+Redi |
35 |
|
|
C (which depends on tapering scheme) |
36 |
|
|
#undef OLD_VISBECK_CALC |
37 |
|
|
|
38 |
|
|
C This allows the leading diagonal (top two rows) to be non-unity |
39 |
|
|
C (a feature required when tapering adiabatically). |
40 |
|
|
#define GM_NON_UNITY_DIAGONAL |
41 |
|
|
|
42 |
|
|
C Allows to use different values of K_GM and K_Redi ; also to |
43 |
|
|
C be used with the advective form (Bolus velocity) of GM |
44 |
|
|
#define GM_EXTRA_DIAGONAL |
45 |
|
|
|
46 |
|
|
C Allows to use the advective form (Bolus velocity) of GM |
47 |
|
|
C instead of the Skew-Flux form (=default) |
48 |
|
|
#define GM_BOLUS_ADVEC |
49 |
|
|
|
50 |
|
|
C Allows to use the Boundary-Value-Problem method to evaluate GM Bolus transport |
51 |
|
|
#undef GM_BOLUS_BVP |
52 |
|
|
|
53 |
|
|
#endif /* ALLOW_GMREDI */ |
54 |
|
|
#endif /* GMREDI_OPTIONS_H */ |
55 |
|
|
|
56 |
|
|
CEH3 ;;; Local Variables: *** |
57 |
|
|
CEH3 ;;; mode:fortran *** |
58 |
|
|
CEH3 ;;; End: *** |