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