/[MITgcm]/MITgcm_contrib/verification_other/natl_box_adjoint/code_seaice/GMREDI_OPTIONS.h
ViewVC logotype

Contents of /MITgcm_contrib/verification_other/natl_box_adjoint/code_seaice/GMREDI_OPTIONS.h

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


Revision 1.1 - (show annotations) (download)
Sat Feb 4 02:15:44 2012 UTC (12 years, 2 months ago) by jmc
Branch: MAIN
CVS Tags: checkpoint64k, checkpoint64x, checkpoint64z, checkpoint64o, checkpoint64p, checkpoint64r, checkpoint64w, checkpoint64v, checkpoint66g, checkpoint66f, checkpoint66e, checkpoint66d, checkpoint66c, checkpoint66b, checkpoint66a, checkpoint66o, checkpoint66n, checkpoint66m, checkpoint66l, checkpoint66k, checkpoint66j, checkpoint66i, checkpoint66h, checkpoint64m, checkpoint65z, checkpoint65x, checkpoint65y, checkpoint65r, checkpoint65s, checkpoint65p, checkpoint65q, checkpoint65v, checkpoint65w, checkpoint65u, checkpoint65j, checkpoint67a, checkpoint67b, checkpoint65i, checkpoint67d, checkpoint65m, checkpoint65c, checkpoint65a, checkpoint65f, checkpoint65e, checkpoint64i, checkpoint64h, checkpoint65h, checkpoint65, checkpoint64j, checkpoint65n, HEAD
File MIME type: text/plain
move un-tested set-up from MITgcm/verification/natl_box_adjoint to Contrib/verification_other

1 C $Header: /u/gcmpack/MITgcm/verification/natl_box_adjoint/code_seaice/GMREDI_OPTIONS.h,v 1.3 2007/06/27 21:18:09 heimbach Exp $
2 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 C
8 #ifndef GMREDI_OPTIONS_H
9 #define GMREDI_OPTIONS_H
10 #include "PACKAGES_CONFIG.h"
11
12 #include "CPP_OPTIONS.h"
13
14 #ifdef ALLOW_GMREDI
15
16 C Designed to simplify the Ajoint code:
17 C exclude the clipping/tapering part of the code that is not used
18 #define GM_EXCLUDE_CLIPPING
19 #define GM_EXCLUDE_AC02_TAP
20 #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
24 #undef GM_VISBECK_VARIABLE_K
25
26 C This allows the leading diagonal (top two rows) to be non-unity
27 C (a feature required when tapering adiabatically).
28 #define 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 #define 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 C Following option avoids specific recomputation in adjoint
39 C routines of gmredi_x/y/rtransport
40 C It's not needed, only for tests, and very memory-consuming
41 #undef GM_AUTODIFF_EXCESSIVE_STORE
42
43 #endif /* ALLOW_GMREDI */
44 #endif /* GMREDI_OPTIONS_H */
45

  ViewVC Help
Powered by ViewVC 1.1.22