5 |
C |
C |
6 |
C Use this file for selecting options within the GM/Redi package |
C Use this file for selecting options within the GM/Redi package |
7 |
C |
C |
8 |
C GM/Redi is enabled with ALLOW_GMREDI in CPP_OPTIONS.h |
#ifndef GMREDI_OPTIONS_H |
9 |
|
#define GMREDI_OPTIONS_H |
10 |
#include "CPP_OPTIONS.h" |
#include "PACKAGES_CONFIG.h" |
11 |
|
#include "AD_CONFIG.h" |
12 |
|
|
13 |
#ifdef ALLOW_GMREDI |
#ifdef ALLOW_GMREDI |
14 |
|
|
15 |
|
#include "CPP_OPTIONS.h" |
16 |
|
|
17 |
|
|
18 |
C Designed to simplify the Ajoint code: |
C Designed to simplify the Ajoint code: |
19 |
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 |
20 |
#define GM_EXCLUDE_CLIPPING |
#define GM_EXCLUDE_CLIPPING |
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 |
C This allows to use Visbeck et al formulation to compute K_GM+Redi |
25 |
#define GM_VISBECK_VARIABLE_K |
#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). |
34 |
|
|
35 |
C Allows to use the advective form (Bolus velocity) of GM |
C Allows to use 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 |
#define GM_BOLUS_ADVEC |
#undef GM_BOLUS_ADVEC |
38 |
|
|
39 |
|
|
40 |
#endif /* ALLOW_GMREDI */ |
#endif /* ALLOW_GMREDI */ |
41 |
|
#endif /* GMREDI_OPTIONS_H */ |
42 |
|
|