1 |
jmc |
1.17 |
C $Header: /u/gcmpack/MITgcm/pkg/gmredi/GMREDI_OPTIONS.h,v 1.16 2013/11/17 22:05:07 jmc Exp $ |
2 |
jmc |
1.6 |
C $Name: $ |
3 |
adcroft |
1.1 |
|
4 |
|
|
C CPP options file for GM/Redi package |
5 |
|
|
C Use this file for selecting options within the GM/Redi package |
6 |
edhill |
1.7 |
|
7 |
|
|
#ifndef GMREDI_OPTIONS_H |
8 |
|
|
#define GMREDI_OPTIONS_H |
9 |
|
|
#include "PACKAGES_CONFIG.h" |
10 |
jmc |
1.13 |
#include "CPP_OPTIONS.h" |
11 |
|
|
|
12 |
edhill |
1.7 |
#ifdef ALLOW_GMREDI |
13 |
jmc |
1.13 |
C Package-specific Options & Macros go here |
14 |
adcroft |
1.1 |
|
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.12 |
C #define GM_EXCLUDE_SUBMESO |
23 |
jmc |
1.10 |
|
24 |
heimbach |
1.5 |
C This allows to use Visbeck et al formulation to compute K_GM+Redi |
25 |
|
|
#undef GM_VISBECK_VARIABLE_K |
26 |
jmc |
1.10 |
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 |
adcroft |
1.1 |
|
30 |
m_bates |
1.14 |
C This allows the Bates et al formulation to calculate the |
31 |
|
|
C bolus transport and K for Redi |
32 |
|
|
#undef GM_K3D |
33 |
m_bates |
1.15 |
#undef use_lapack |
34 |
|
|
#undef GM_K3D_PASSIVE |
35 |
m_bates |
1.14 |
|
36 |
adcroft |
1.1 |
C This allows the leading diagonal (top two rows) to be non-unity |
37 |
|
|
C (a feature required when tapering adiabatically). |
38 |
jmc |
1.8 |
#define GM_NON_UNITY_DIAGONAL |
39 |
adcroft |
1.1 |
|
40 |
jmc |
1.4 |
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 |
jmc |
1.8 |
#define GM_EXTRA_DIAGONAL |
43 |
jmc |
1.4 |
|
44 |
|
|
C Allows to use the advective form (Bolus velocity) of GM |
45 |
|
|
C instead of the Skew-Flux form (=default) |
46 |
jmc |
1.8 |
#define GM_BOLUS_ADVEC |
47 |
jmc |
1.17 |
#define GM_CALC_TRANSP_FROM_VEL |
48 |
adcroft |
1.1 |
|
49 |
jmc |
1.11 |
C Allows to use the Boundary-Value-Problem method to evaluate GM Bolus transport |
50 |
|
|
#define GM_BOLUS_BVP |
51 |
adcroft |
1.1 |
|
52 |
|
|
#endif /* ALLOW_GMREDI */ |
53 |
edhill |
1.7 |
#endif /* GMREDI_OPTIONS_H */ |
54 |
edhill |
1.9 |
|
55 |
|
|
CEH3 ;;; Local Variables: *** |
56 |
|
|
CEH3 ;;; mode:fortran *** |
57 |
|
|
CEH3 ;;; End: *** |