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

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

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

revision 1.1 by heimbach, Fri Dec 15 18:11:58 2006 UTC revision 1.2 by heimbach, Wed Jun 27 18:19:51 2007 UTC
# Line 9  C Line 9  C
9  #define GMREDI_OPTIONS_H  #define GMREDI_OPTIONS_H
10  #include "PACKAGES_CONFIG.h"  #include "PACKAGES_CONFIG.h"
11    
 #include "CPP_OPTIONS.h"  
   
12  #ifdef ALLOW_GMREDI  #ifdef ALLOW_GMREDI
13    
14    #include "CPP_OPTIONS.h"
15    
16  C Designed to simplify the Ajoint code:  C Designed to simplify the Ajoint code:
17  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
18  #define GM_EXCLUDE_CLIPPING  #define GM_EXCLUDE_CLIPPING
19  #define GM_EXCLUDE_AC02_TAP  #define GM_EXCLUDE_AC02_TAP
20  #undef  GM_EXCLUDE_TAPERING  #define GM_EXCLUDE_FM07_TAP
21    #undef GM_EXCLUDE_TAPERING
22    
23  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
24  #undef  GM_VISBECK_VARIABLE_K  #undef GM_VISBECK_VARIABLE_K
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).
# Line 28  C (a feature required when tapering adia Line 29  C (a feature required when tapering adia
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
37    
 C Following option avoids specific recomputation in adjoint  
 C routines of gmredi_x/y/rtransport  
 C It's not needed, only for tests, and very memory-consuming  
 #undef  GM_AUTODIFF_EXCESSIVE_STORE  
38    
39  #endif /* ALLOW_GMREDI */  #endif /* ALLOW_GMREDI */
40  #endif /* GMREDI_OPTIONS_H */  #endif /* GMREDI_OPTIONS_H */

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

  ViewVC Help
Powered by ViewVC 1.1.22