7 |
C |
C |
8 |
C GM/Redi is enabled with ALLOW_GMREDI in CPP_OPTIONS.h |
C GM/Redi is enabled with ALLOW_GMREDI in CPP_OPTIONS.h |
9 |
|
|
10 |
|
#ifndef GMREDI_OPTIONS_H |
11 |
|
#define GMREDI_OPTIONS_H |
12 |
|
#include "PACKAGES_CONFIG.h" |
13 |
|
|
14 |
#include "CPP_OPTIONS.h" |
#include "CPP_OPTIONS.h" |
15 |
|
|
16 |
#ifdef ALLOW_GMREDI |
#ifdef ALLOW_GMREDI |
20 |
#define GM_EXCLUDE_CLIPPING |
#define GM_EXCLUDE_CLIPPING |
21 |
#define GM_EXCLUDE_AC02_TAP |
#define GM_EXCLUDE_AC02_TAP |
22 |
#undef GM_EXCLUDE_TAPERING |
#undef GM_EXCLUDE_TAPERING |
23 |
|
|
24 |
|
C This allows to use Visbeck et al formulation to compute K_GM+Redi |
25 |
|
#undef GM_VISBECK_VARIABLE_K |
26 |
|
|
27 |
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 |
28 |
C (a feature required when tapering adiabatically). |
C (a feature required when tapering adiabatically). |
29 |
#undef GM_NON_UNITY_DIAGONAL |
#undef GM_NON_UNITY_DIAGONAL |
30 |
|
|
31 |
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 |
32 |
C be used with the advective form (Bolus velocity) of GM |
C be used with the advective form (Bolus velocity) of GM |
36 |
C instead of the Skew-Flux form (=default) |
C instead of the Skew-Flux form (=default) |
37 |
#undef GM_BOLUS_ADVEC |
#undef GM_BOLUS_ADVEC |
38 |
|
|
39 |
C This allows to use Visbeck et al formulation to compute K_GM+Redi |
C Following option avoids specific recomputation in adjoint |
40 |
#undef GM_VISBECK_VARIABLE_K |
C routines of gmredi_x/y/rtransport |
41 |
|
C It's not needed, only for tests, and very memory-consuming |
42 |
|
#undef GM_AUTODIFF_EXCESSIVE_STORE |
43 |
|
|
44 |
#endif /* ALLOW_GMREDI */ |
#endif /* ALLOW_GMREDI */ |
45 |
|
#endif /* GMREDI_OPTIONS_H */ |
46 |
|
|