/[MITgcm]/MITgcm_contrib/arctic/cs_18km/code/GMREDI_OPTIONS.h
ViewVC logotype

Diff of /MITgcm_contrib/arctic/cs_18km/code/GMREDI_OPTIONS.h

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph | View Patch Patch

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

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.2

  ViewVC Help
Powered by ViewVC 1.1.22