/[MITgcm]/MITgcm/verification/spinup_optim/code/GMREDI_OPTIONS.h
ViewVC logotype

Contents of /MITgcm/verification/spinup_optim/code/GMREDI_OPTIONS.h

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


Revision 1.1.2.1 - (show annotations) (download)
Fri May 23 16:29:47 2003 UTC (20 years, 11 months ago) by heimbach
Branch: ecco-branch
CVS Tags: ecco_c50_e32, ecco_c50_e33, ecco_c51_e34d, ecco_c51_e34e, ecco_c51_e34f, ecco_c51_e34g, ecco_c51_e34a, ecco_c51_e34b, ecco_c51_e34c, ecco_c50_e33a, ecco_c50_e31, ecco_c51_e34
Changes since 1.1: +40 -0 lines
File MIME type: text/plain
New verif. for Tini-Tfin optimization.

1 C $Header: /u/gcmpack/MITgcm/verification/global2x2_tot/code/Attic/GMREDI_OPTIONS.h,v 1.1.2.2 2003/05/12 19:58:38 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 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 Designed to simplify the Ajoint code:
15 C exclude the clipping/tapering part of the code that is not used
16 #define GM_EXCLUDE_CLIPPING
17 #define GM_EXCLUDE_AC02_TAP
18 #undef GM_EXCLUDE_TAPERING
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 #define 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 C Following option avoids specific recomputation in adjoint
36 C routines of gmredi_x/y/rtransport
37 C It's not needed, only for tests, and very memory-consuming
38 #undef GM_AUTODIFF_EXCESSIVE_STORE
39
40 #endif /* ALLOW_GMREDI */

  ViewVC Help
Powered by ViewVC 1.1.22