/[MITgcm]/MITgcm/pkg/gmredi/GMREDI_OPTIONS.h
ViewVC logotype

Contents of /MITgcm/pkg/gmredi/GMREDI_OPTIONS.h

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


Revision 1.5 - (show annotations) (download)
Thu Nov 14 22:43:49 2002 UTC (21 years, 5 months ago) by heimbach
Branch: MAIN
CVS Tags: checkpoint47e_post, checkpoint47c_post, checkpoint47d_pre, checkpoint47a_post, checkpoint47d_post, checkpoint47g_post, branch-exfmods-tag, checkpoint47b_post, checkpoint47f_post, checkpoint47, checkpoint47h_post
Branch point for: branch-exfmods-curt
Changes since 1.4: +10 -5 lines
File MIME type: text/plain
o * "clean" adjoint code (in terms of extensive recomputations)
    can now be obtained for all GMREDI options (i.e. for
    - GM_VISBECK_VARIABLE_K
    - GM_NON_UNITY_DIAGONAL
    - GM_EXTRA_DIAGONAL
    - GM_BOLUS_ADVEC )
  * However, wrong gradient check problem remains unsolved.
  * New CPP options have been introduced for different
    tapering schemes

1 C $Header: /u/gcmpack/MITgcm/pkg/gmredi/GMREDI_OPTIONS.h,v 1.4 2001/12/16 18:54:49 jmc Exp $
2 C $Name: checkpoint46 $
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 C GM/Redi is enabled with ALLOW_GMREDI in CPP_OPTIONS.h
9
10 #include "CPP_OPTIONS.h"
11
12 #ifdef ALLOW_GMREDI
13
14 C Specify as tapering scheme either 'orig' or 'clipping',
15 C otherwise one of the following is used:
16 C 'linear', 'gkw91', 'dm95', 'ldd97'
17 #define GM_TAPER_ORIG_CLIPPING
18 #undef GM_TAPER_AC02
19
20 C This allows to use Visbeck et al formulation to compute K_GM+Redi
21 #undef GM_VISBECK_VARIABLE_K
22
23 C This allows the leading diagonal (top two rows) to be non-unity
24 C (a feature required when tapering adiabatically).
25 #undef GM_NON_UNITY_DIAGONAL
26
27 C Allows to use different values of K_GM and K_Redi ; also to
28 C be used with the advective form (Bolus velocity) of GM
29 #undef GM_EXTRA_DIAGONAL
30
31 C Allows to use the advective form (Bolus velocity) of GM
32 C instead of the Skew-Flux form (=default)
33 #undef GM_BOLUS_ADVEC
34
35
36 #endif /* ALLOW_GMREDI */

  ViewVC Help
Powered by ViewVC 1.1.22