2 |
C $Name$ |
C $Name$ |
3 |
|
|
4 |
C CPP options file for GM/Redi package |
C CPP options file for GM/Redi package |
|
C |
|
5 |
C Use this file for selecting options within the GM/Redi package |
C Use this file for selecting options within the GM/Redi package |
6 |
|
|
7 |
#ifndef GMREDI_OPTIONS_H |
#ifndef GMREDI_OPTIONS_H |
8 |
#define GMREDI_OPTIONS_H |
#define GMREDI_OPTIONS_H |
9 |
#include "PACKAGES_CONFIG.h" |
#include "PACKAGES_CONFIG.h" |
|
#ifdef ALLOW_GMREDI |
|
|
|
|
10 |
#include "CPP_OPTIONS.h" |
#include "CPP_OPTIONS.h" |
11 |
|
|
12 |
|
#ifdef ALLOW_GMREDI |
13 |
|
C Package-specific Options & Macros go here |
14 |
|
|
15 |
C Designed to simplify the Ajoint code: |
C Designed to simplify the Ajoint code: |
16 |
C #define GMREDI_WITH_STABLE_ADJOINT |
C #define GMREDI_WITH_STABLE_ADJOINT |
17 |
C -- exclude the clipping/tapering part of the code that is not used |
C -- exclude the clipping/tapering part of the code that is not used |
19 |
C #define GM_EXCLUDE_FM07_TAP |
C #define GM_EXCLUDE_FM07_TAP |
20 |
C #define GM_EXCLUDE_AC02_TAP |
C #define GM_EXCLUDE_AC02_TAP |
21 |
C #define GM_EXCLUDE_TAPERING |
C #define GM_EXCLUDE_TAPERING |
22 |
|
C #define GM_EXCLUDE_SUBMESO |
23 |
|
|
24 |
C This allows to use Visbeck et al formulation to compute K_GM+Redi |
C This allows to use Visbeck et al formulation to compute K_GM+Redi |
25 |
#undef GM_VISBECK_VARIABLE_K |
#undef GM_VISBECK_VARIABLE_K |
29 |
|
|
30 |
C This allows the leading diagonal (top two rows) to be non-unity |
C This allows the leading diagonal (top two rows) to be non-unity |
31 |
C (a feature required when tapering adiabatically). |
C (a feature required when tapering adiabatically). |
32 |
#undef GM_NON_UNITY_DIAGONAL |
#undef GM_NON_UNITY_DIAGONAL |
33 |
|
|
34 |
C Allows to use different values of K_GM and K_Redi ; also to |
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 |
C be used with the advective form (Bolus velocity) of GM |
36 |
#undef GM_EXTRA_DIAGONAL |
#undef GM_EXTRA_DIAGONAL |
37 |
|
|
38 |
C Allows to use the advective form (Bolus velocity) of GM |
C Allows to use the advective form (Bolus velocity) of GM |
39 |
C instead of the Skew-Flux form (=default) |
C instead of the Skew-Flux form (=default) |
40 |
#undef GM_BOLUS_ADVEC |
#undef GM_BOLUS_ADVEC |
41 |
|
|
42 |
|
C Allows to use the Boundary-Value-Problem method to evaluate GM Bolus transport |
43 |
|
#undef GM_BOLUS_BVP |
44 |
|
|
45 |
#endif /* ALLOW_GMREDI */ |
#endif /* ALLOW_GMREDI */ |
46 |
#endif /* GMREDI_OPTIONS_H */ |
#endif /* GMREDI_OPTIONS_H */ |