1 |
C $Header: $ |
2 |
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 |
#ifdef ALLOW_GMREDI |
12 |
|
13 |
#include "CPP_OPTIONS.h" |
14 |
|
15 |
C Designed to simplify the Ajoint code: |
16 |
C exclude the clipping/tapering part of the code that is not used |
17 |
C #define GM_EXCLUDE_CLIPPING |
18 |
C #define GM_EXCLUDE_AC02_TAP |
19 |
C #define GM_EXCLUDE_TAPERING |
20 |
|
21 |
C This allows to use Visbeck et al formulation to compute K_GM+Redi |
22 |
#undef GM_VISBECK_VARIABLE_K |
23 |
|
24 |
C This allows the leading diagonal (top two rows) to be non-unity |
25 |
C (a feature required when tapering adiabatically). |
26 |
#undef GM_NON_UNITY_DIAGONAL |
27 |
|
28 |
C Allows to use different values of K_GM and K_Redi ; also to |
29 |
C be used with the advective form (Bolus velocity) of GM |
30 |
#undef GM_EXTRA_DIAGONAL |
31 |
|
32 |
C Allows to use the advective form (Bolus velocity) of GM |
33 |
C instead of the Skew-Flux form (=default) |
34 |
#undef GM_BOLUS_ADVEC |
35 |
|
36 |
|
37 |
#endif /* ALLOW_GMREDI */ |
38 |
#endif /* GMREDI_OPTIONS_H */ |