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

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

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


Revision 1.10 - (hide annotations) (download)
Tue Oct 21 22:10:55 2008 UTC (15 years, 8 months ago) by jmc
Branch: MAIN
CVS Tags: checkpoint62c, checkpoint62r, checkpoint62q, checkpoint62p, checkpoint62a, checkpoint62g, checkpoint62f, checkpoint62e, checkpoint62d, checkpoint62k, checkpoint62j, checkpoint62i, checkpoint62h, checkpoint62o, checkpoint62n, checkpoint62m, checkpoint62l, checkpoint62, checkpoint62b, checkpoint61f, checkpoint61n, checkpoint61q, checkpoint61e, checkpoint61g, checkpoint61o, checkpoint61l, checkpoint61m, checkpoint61j, checkpoint61k, checkpoint61h, checkpoint61i, checkpoint61v, checkpoint61w, checkpoint61t, checkpoint61u, checkpoint61r, checkpoint61s, checkpoint61p, checkpoint61z, checkpoint61x, checkpoint61y
Changes since 1.9: +8 -3 lines
File MIME type: text/plain
- fix the "OLD_VISBECK_CALC" option + move the #undef to GMREDI_OPTIONS.h
- change computation of Visbeck-K where Slope > Smax :
  now: N*min(Slope,Smax) (similar to OLD_VISBECK_CALC with gkw91 taperFct)
  previously was: M*sqrt(min(Slope,Smax))

1 jmc 1.10 C $Header: /u/gcmpack/MITgcm/pkg/gmredi/GMREDI_OPTIONS.h,v 1.9 2005/07/29 18:24:35 edhill Exp $
2 jmc 1.6 C $Name: $
3 adcroft 1.1
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 edhill 1.7
8     #ifndef GMREDI_OPTIONS_H
9     #define GMREDI_OPTIONS_H
10     #include "PACKAGES_CONFIG.h"
11     #ifdef ALLOW_GMREDI
12 adcroft 1.1
13     #include "CPP_OPTIONS.h"
14    
15 edhill 1.7 C Designed to simplify the Ajoint code:
16 jmc 1.10 C #define GMREDI_WITH_STABLE_ADJOINT
17     C -- exclude the clipping/tapering part of the code that is not used
18 jmc 1.6 C #define GM_EXCLUDE_CLIPPING
19 jmc 1.10 C #define GM_EXCLUDE_FM07_TAP
20 jmc 1.6 C #define GM_EXCLUDE_AC02_TAP
21     C #define GM_EXCLUDE_TAPERING
22 jmc 1.10
23 heimbach 1.5 C This allows to use Visbeck et al formulation to compute K_GM+Redi
24     #undef GM_VISBECK_VARIABLE_K
25 jmc 1.10 C Use old calculation (before 2007/05/24) of Visbeck etal K_GM+Redi
26     C (which depends on tapering scheme)
27     #undef OLD_VISBECK_CALC
28 adcroft 1.1
29     C This allows the leading diagonal (top two rows) to be non-unity
30     C (a feature required when tapering adiabatically).
31 jmc 1.8 #define GM_NON_UNITY_DIAGONAL
32 adcroft 1.1
33 jmc 1.4 C Allows to use different values of K_GM and K_Redi ; also to
34     C be used with the advective form (Bolus velocity) of GM
35 jmc 1.8 #define GM_EXTRA_DIAGONAL
36 jmc 1.4
37     C Allows to use the advective form (Bolus velocity) of GM
38     C instead of the Skew-Flux form (=default)
39 jmc 1.8 #define GM_BOLUS_ADVEC
40 adcroft 1.1
41    
42     #endif /* ALLOW_GMREDI */
43 edhill 1.7 #endif /* GMREDI_OPTIONS_H */
44 edhill 1.9
45     CEH3 ;;; Local Variables: ***
46     CEH3 ;;; mode:fortran ***
47     CEH3 ;;; End: ***

  ViewVC Help
Powered by ViewVC 1.1.22