/[MITgcm]/MITgcm/verification/global_ocean.90x40x15/code_ad/GMREDI_OPTIONS.h
ViewVC logotype

Diff of /MITgcm/verification/global_ocean.90x40x15/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 heimbach, Thu Nov 28 17:30:34 2002 UTC revision 1.11 by jmc, Wed Jul 13 23:01:22 2011 UTC
# Line 4  C $Name$ Line 4  C $Name$
4  C CPP options file for GM/Redi package  C CPP options file for GM/Redi package
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  
8  C GM/Redi is enabled with ALLOW_GMREDI in CPP_OPTIONS.h  #ifndef GMREDI_OPTIONS_H
9    #define GMREDI_OPTIONS_H
10    #include "PACKAGES_CONFIG.h"
11    #ifdef ALLOW_GMREDI
12    
13  #include "CPP_OPTIONS.h"  #include "CPP_OPTIONS.h"
14    
15  #ifdef ALLOW_GMREDI  C Designed to simplify the Ajoint code:
16    C  exclude the clipping/tapering part of the code that is not used
17    #define GM_EXCLUDE_CLIPPING
18    #define GM_EXCLUDE_AC02_TAP
19    #define GM_EXCLUDE_FM07_TAP
20    #undef GM_EXCLUDE_TAPERING
21    #define GM_EXCLUDE_SUBMESO
22    
23  C Specify as tapering scheme either 'orig' or 'clipping',  C This allows to use Visbeck et al formulation to compute K_GM+Redi
24  C otherwise one of the following is used:  #undef GM_VISBECK_VARIABLE_K
 C 'linear', 'gkw91', 'dm95', 'ldd97'  
 #undef GM_TAPER_ORIG_CLIPPING  
 #undef GM_TAPER_AC02  
 #define GM_TAPER_REST  
25    
26  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
27  C (a feature required when tapering adiabatically).  C (a feature required when tapering adiabatically).
28  #define GM_NON_UNITY_DIAGONAL  #define  GM_NON_UNITY_DIAGONAL
29    
30  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
31  C be used with the advective form (Bolus velocity) of GM  C be used with the advective form (Bolus velocity) of GM
32  #undef  GM_EXTRA_DIAGONAL  #define  GM_EXTRA_DIAGONAL
33    
34  C Allows to use the advective form (Bolus velocity) of GM  C Allows to use the advective form (Bolus velocity) of GM
35  C  instead of the Skew-Flux form (=default)  C  instead of the Skew-Flux form (=default)
36  #undef  GM_BOLUS_ADVEC  #define  GM_BOLUS_ADVEC
   
 C This allows to use Visbeck et al formulation to compute K_GM+Redi  
 #undef  GM_VISBECK_VARIABLE_K  
37    
38    C Allows to use the Boundary-Value-Problem method to evaluate GM Bolus transport
39    #undef GM_BOLUS_BVP
40    
41  #endif /* ALLOW_GMREDI */  #endif /* ALLOW_GMREDI */
42    #endif /* GMREDI_OPTIONS_H */
43    

Legend:
Removed from v.1.3  
changed lines
  Added in v.1.11

  ViewVC Help
Powered by ViewVC 1.1.22