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

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

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


Revision 1.3 - (hide annotations) (download)
Wed Jul 13 23:01:22 2011 UTC (12 years, 9 months ago) by jmc
Branch: MAIN
CVS Tags: checkpoint63d, checkpoint63e, checkpoint63f, checkpoint63g, checkpoint63a, checkpoint63b, checkpoint63c
Changes since 1.2: +5 -1 lines
File MIME type: text/plain
disable (#define GM_EXCLUDE_SUBMESO) Sub-Meso Eddies parameterisation code

1 jmc 1.3 C $Header: /u/gcmpack/MITgcm/verification/tutorial_dic_adjoffline/code_ad/GMREDI_OPTIONS.h,v 1.2 2010/03/22 02:26:59 jmc Exp $
2 heimbach 1.1 C $Name: $
3    
4     C CPP options file for GM/Redi package
5     C
6     C Use this file for selecting options within the GM/Redi package
7 jmc 1.2
8 heimbach 1.1 #ifndef GMREDI_OPTIONS_H
9     #define GMREDI_OPTIONS_H
10     #include "PACKAGES_CONFIG.h"
11 jmc 1.2 #ifdef ALLOW_GMREDI
12 heimbach 1.1
13     #include "CPP_OPTIONS.h"
14    
15     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 jmc 1.2 #undef GM_EXCLUDE_TAPERING
21 jmc 1.3 #define GM_EXCLUDE_SUBMESO
22 jmc 1.2
23 heimbach 1.1 C This allows to use Visbeck et al formulation to compute K_GM+Redi
24 jmc 1.2 #undef GM_VISBECK_VARIABLE_K
25 heimbach 1.1
26     C This allows the leading diagonal (top two rows) to be non-unity
27     C (a feature required when tapering adiabatically).
28     #undef GM_NON_UNITY_DIAGONAL
29    
30     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
32     #undef GM_EXTRA_DIAGONAL
33    
34     C Allows to use the advective form (Bolus velocity) of GM
35     C instead of the Skew-Flux form (=default)
36     #undef GM_BOLUS_ADVEC
37    
38 jmc 1.3 C Allows to use the Boundary-Value-Problem method to evaluate GM Bolus transport
39     #undef GM_BOLUS_BVP
40    
41 heimbach 1.1 C Following option avoids specific recomputation in adjoint
42     C routines of gmredi_x/y/rtransport
43 jmc 1.2 C It is not needed, only for tests, and very memory-consuming
44 heimbach 1.1 #undef GM_AUTODIFF_EXCESSIVE_STORE
45    
46     #endif /* ALLOW_GMREDI */
47     #endif /* GMREDI_OPTIONS_H */
48    

  ViewVC Help
Powered by ViewVC 1.1.22