/[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.4 - (hide annotations) (download)
Sat Dec 24 01:17:55 2011 UTC (12 years, 3 months ago) by jmc
Branch: MAIN
CVS Tags: checkpoint64y, checkpoint64x, checkpoint64z, checkpoint64q, checkpoint64p, checkpoint64s, checkpoint64r, checkpoint64u, checkpoint64t, checkpoint64w, checkpoint64v, checkpoint64i, checkpoint64h, checkpoint64k, checkpoint64j, checkpoint64m, checkpoint64l, checkpoint64o, checkpoint64n, checkpoint64a, checkpoint64c, checkpoint64b, checkpoint64e, checkpoint64d, checkpoint64g, checkpoint64f, checkpoint63p, checkpoint63q, checkpoint63r, checkpoint63s, checkpoint63l, checkpoint63m, checkpoint63n, checkpoint63o, checkpoint63h, checkpoint63i, checkpoint63j, checkpoint63k, checkpoint64, checkpoint65, checkpoint66g, checkpoint66f, checkpoint66e, checkpoint66d, checkpoint66c, checkpoint66b, checkpoint66a, checkpoint66o, checkpoint66n, checkpoint66m, checkpoint66l, checkpoint66k, checkpoint66j, checkpoint66i, checkpoint66h, checkpoint65z, checkpoint65x, checkpoint65y, checkpoint65r, checkpoint65s, checkpoint65p, checkpoint65q, checkpoint65v, checkpoint65w, checkpoint65t, checkpoint65u, checkpoint65j, checkpoint65k, checkpoint65h, checkpoint65i, checkpoint65n, checkpoint65o, checkpoint65l, checkpoint65m, checkpoint65b, checkpoint65c, checkpoint65a, checkpoint65f, checkpoint65g, checkpoint65d, checkpoint65e, HEAD
Changes since 1.3: +16 -9 lines
File MIME type: text/plain
bring OPTIONS files up-to-date

1 jmc 1.4 C $Header: /u/gcmpack/MITgcm/verification/bottom_ctrl_5x5/code_ad/GMREDI_OPTIONS.h,v 1.3 2011/07/13 23:01:22 jmc Exp $
2 heimbach 1.1 C $Name: $
3    
4     C CPP options file for GM/Redi package
5     C Use this file for selecting options within the GM/Redi package
6 jmc 1.2
7 heimbach 1.1 #ifndef GMREDI_OPTIONS_H
8     #define GMREDI_OPTIONS_H
9     #include "PACKAGES_CONFIG.h"
10 jmc 1.4 #include "CPP_OPTIONS.h"
11    
12 jmc 1.2 #ifdef ALLOW_GMREDI
13 jmc 1.4 C Package-specific Options & Macros go here
14 heimbach 1.1
15     C Designed to simplify the Ajoint code:
16 jmc 1.4 C #define GMREDI_WITH_STABLE_ADJOINT
17     C -- exclude the clipping/tapering part of the code that is not used
18 heimbach 1.1 #define GM_EXCLUDE_CLIPPING
19 jmc 1.4 #define GM_EXCLUDE_FM07_TAP
20 heimbach 1.1 #define GM_EXCLUDE_AC02_TAP
21 jmc 1.2 #undef GM_EXCLUDE_TAPERING
22 jmc 1.3 #define GM_EXCLUDE_SUBMESO
23 jmc 1.2
24 heimbach 1.1 C This allows to use Visbeck et al formulation to compute K_GM+Redi
25 jmc 1.2 #undef GM_VISBECK_VARIABLE_K
26 jmc 1.4 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 heimbach 1.1
30     C This allows the leading diagonal (top two rows) to be non-unity
31     C (a feature required when tapering adiabatically).
32 jmc 1.4 #undef GM_NON_UNITY_DIAGONAL
33 heimbach 1.1
34     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
36 jmc 1.4 #undef GM_EXTRA_DIAGONAL
37 heimbach 1.1
38     C Allows to use the advective form (Bolus velocity) of GM
39     C instead of the Skew-Flux form (=default)
40 jmc 1.4 #undef GM_BOLUS_ADVEC
41 heimbach 1.1
42 jmc 1.3 C Allows to use the Boundary-Value-Problem method to evaluate GM Bolus transport
43     #undef GM_BOLUS_BVP
44    
45 heimbach 1.1 C Following option avoids specific recomputation in adjoint
46     C routines of gmredi_x/y/rtransport
47 jmc 1.2 C It is not needed, only for tests, and very memory-consuming
48 heimbach 1.1 #undef GM_AUTODIFF_EXCESSIVE_STORE
49    
50     #endif /* ALLOW_GMREDI */
51     #endif /* GMREDI_OPTIONS_H */
52    
53 jmc 1.4 CEH3 ;;; Local Variables: ***
54     CEH3 ;;; mode:fortran ***
55     CEH3 ;;; End: ***

  ViewVC Help
Powered by ViewVC 1.1.22