/[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.1 by heimbach, Fri Oct 16 16:49:48 2009 UTC revision 1.2 by jmc, Mon Mar 22 02:26:59 2010 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  #ifndef GMREDI_OPTIONS_H  #ifndef GMREDI_OPTIONS_H
9  #define GMREDI_OPTIONS_H  #define GMREDI_OPTIONS_H
10  #include "PACKAGES_CONFIG.h"  #include "PACKAGES_CONFIG.h"
11    #ifdef ALLOW_GMREDI
12    
13  #include "CPP_OPTIONS.h"  #include "CPP_OPTIONS.h"
14    
 #ifdef ALLOW_GMREDI  
   
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  exclude the clipping/tapering part of the code that is not used
17  #define GM_EXCLUDE_CLIPPING  #define GM_EXCLUDE_CLIPPING
18  #define GM_EXCLUDE_AC02_TAP  #define GM_EXCLUDE_AC02_TAP
19  #define GM_EXCLUDE_FM07_TAP  #define GM_EXCLUDE_FM07_TAP
20  #undef GM_EXCLUDE_TAPERING  #undef GM_EXCLUDE_TAPERING
21    
22  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
23  #undef  GM_VISBECK_VARIABLE_K  #undef GM_VISBECK_VARIABLE_K
24    
25  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
26  C (a feature required when tapering adiabatically).  C (a feature required when tapering adiabatically).
# Line 37  C  instead of the Skew-Flux form (=defau Line 36  C  instead of the Skew-Flux form (=defau
36    
37  C Following option avoids specific recomputation in adjoint  C Following option avoids specific recomputation in adjoint
38  C routines of gmredi_x/y/rtransport  C routines of gmredi_x/y/rtransport
39  C It's not needed, only for tests, and very memory-consuming  C It is not needed, only for tests, and very memory-consuming
40  #undef GM_AUTODIFF_EXCESSIVE_STORE  #undef GM_AUTODIFF_EXCESSIVE_STORE
41    
42  #endif /* ALLOW_GMREDI */  #endif /* ALLOW_GMREDI */

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

  ViewVC Help
Powered by ViewVC 1.1.22