1 |
C $Header: /u/gcmpack/MITgcm_contrib/gael/verification/global_oce_llc90/code/GMREDI_OPTIONS.h,v 1.5 2015/10/20 16:58:18 gforget Exp $ |
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 |
#include "CPP_OPTIONS.h" |
12 |
|
13 |
#ifdef ALLOW_GMREDI |
14 |
C Package-specific Options & Macros go here |
15 |
|
16 |
C Designed to simplify the Ajoint code: |
17 |
#define GMREDI_WITH_STABLE_ADJOINT |
18 |
|
19 |
C -- exclude the clipping/tapering part of the code that is not used |
20 |
#define GM_EXCLUDE_CLIPPING |
21 |
#define GM_EXCLUDE_FM07_TAP |
22 |
#define GM_EXCLUDE_AC02_TAP |
23 |
C #define GM_EXCLUDE_TAPERING |
24 |
#define GM_EXCLUDE_SUBMESO |
25 |
|
26 |
C This allows to use Visbeck et al formulation to compute K_GM+Redi |
27 |
#undef GM_VISBECK_VARIABLE_K |
28 |
C Use old calculation (before 2007/05/24) of Visbeck etal K_GM+Redi |
29 |
C (which depends on tapering scheme) |
30 |
#undef OLD_VISBECK_CALC |
31 |
|
32 |
C This allows the Bates et al formulation to calculate the |
33 |
C bolus transport and K for Redi |
34 |
#undef GM_K3D |
35 |
#undef GM_K3D_PASSIVE |
36 |
|
37 |
C This allows the leading diagonal (top two rows) to be non-unity |
38 |
C (a feature required when tapering adiabatically). |
39 |
#define GM_NON_UNITY_DIAGONAL |
40 |
|
41 |
C Allows to use different values of K_GM and K_Redi ; also to |
42 |
C be used with the advective form (Bolus velocity) of GM |
43 |
#define GM_EXTRA_DIAGONAL |
44 |
|
45 |
C Allows to use the advective form (Bolus velocity) of GM |
46 |
C instead of the Skew-Flux form (=default) |
47 |
#define GM_BOLUS_ADVEC |
48 |
|
49 |
C Allows to use the Boundary-Value-Problem method to evaluate GM Bolus transport |
50 |
#undef GM_BOLUS_BVP |
51 |
|
52 |
#endif /* ALLOW_GMREDI */ |
53 |
#endif /* GMREDI_OPTIONS_H */ |
54 |
|
55 |
CEH3 ;;; Local Variables: *** |
56 |
CEH3 ;;; mode:fortran *** |
57 |
CEH3 ;;; End: *** |