/[MITgcm]/MITgcm/verification/tutorial_dic_adjoffline/code_ad/GMREDI_OPTIONS.h
ViewVC logotype

Diff of /MITgcm/verification/tutorial_dic_adjoffline/code_ad/GMREDI_OPTIONS.h

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

revision 1.3 by jmc, Wed Jul 13 23:01:22 2011 UTC revision 1.4 by jmc, Sat Dec 24 01:17:55 2011 UTC
# Line 2  C $Header$ Line 2  C $Header$
2  C $Name$  C $Name$
3    
4  C CPP options file for GM/Redi package  C CPP options file for GM/Redi package
 C  
5  C Use this file for selecting options within the GM/Redi package  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"
 #ifdef ALLOW_GMREDI  
   
10  #include "CPP_OPTIONS.h"  #include "CPP_OPTIONS.h"
11    
12    #ifdef ALLOW_GMREDI
13    C     Package-specific Options & Macros go here
14    
15  C Designed to simplify the Ajoint code:  C Designed to simplify the Ajoint code:
16  C  exclude the clipping/tapering part of the code that is not used  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
 #define GM_EXCLUDE_AC02_TAP  
19  #define GM_EXCLUDE_FM07_TAP  #define GM_EXCLUDE_FM07_TAP
20    #define GM_EXCLUDE_AC02_TAP
21  #undef GM_EXCLUDE_TAPERING  #undef GM_EXCLUDE_TAPERING
22  #define GM_EXCLUDE_SUBMESO  #define GM_EXCLUDE_SUBMESO
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  #undef GM_VISBECK_VARIABLE_K  #undef GM_VISBECK_VARIABLE_K
26    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 leading diagonal (top two rows) to be non-unity  C This allows the leading diagonal (top two rows) to be non-unity
31  C (a feature required when tapering adiabatically).  C (a feature required when tapering adiabatically).
32  #undef  GM_NON_UNITY_DIAGONAL  #undef GM_NON_UNITY_DIAGONAL
33    
34  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
35  C be used with the advective form (Bolus velocity) of GM  C be used with the advective form (Bolus velocity) of GM
36  #undef  GM_EXTRA_DIAGONAL  #undef GM_EXTRA_DIAGONAL
37    
38  C Allows to use the advective form (Bolus velocity) of GM  C Allows to use the advective form (Bolus velocity) of GM
39  C  instead of the Skew-Flux form (=default)  C  instead of the Skew-Flux form (=default)
40  #undef  GM_BOLUS_ADVEC  #undef GM_BOLUS_ADVEC
41    
42  C Allows to use the Boundary-Value-Problem method to evaluate GM Bolus transport  C Allows to use the Boundary-Value-Problem method to evaluate GM Bolus transport
43  #undef GM_BOLUS_BVP  #undef GM_BOLUS_BVP
# Line 46  C It is not needed, only for tests, and Line 50  C It is not needed, only for tests, and
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.3  
changed lines
  Added in v.1.4

  ViewVC Help
Powered by ViewVC 1.1.22