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

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

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


Revision 1.3 - (show annotations) (download)
Wed Oct 13 07:05:51 2004 UTC (17 years, 8 months ago) by heimbach
Branch: MAIN
CVS Tags: checkpoint57t_post, checkpoint58l_post, checkpoint57o_post, checkpoint57m_post, checkpoint55e_post, checkpoint58e_post, checkpoint57v_post, checkpoint57f_post, checkpoint57s_post, checkpoint57j_post, checkpoint58b_post, checkpoint58m_post, checkpoint57b_post, checkpoint57k_post, checkpoint57d_post, checkpoint57g_post, checkpoint58u_post, checkpoint57c_pre, checkpoint58r_post, checkpoint55j_post, checkpoint56b_post, checkpoint57i_post, checkpoint57y_post, checkpoint58g_post, checkpoint57x_post, checkpoint55h_post, checkpoint58n_post, checkpoint58x_post, checkpoint57g_pre, checkpoint58t_post, checkpoint58h_post, checkpoint57e_post, checkpoint58w_post, checkpoint56c_post, checkpoint58j_post, checkpoint57h_post, checkpoint57y_pre, checkpoint57f_pre, checkpoint57a_post, checkpoint58q_post, checkpoint55g_post, checkpoint59d, checkpoint59a, checkpoint55f_post, checkpoint59c, checkpoint59b, checkpoint57r_post, checkpoint59, checkpoint58, checkpoint57a_pre, checkpoint55i_post, checkpoint57, checkpoint56, eckpoint57e_pre, checkpoint57h_done, checkpoint58f_post, checkpoint57n_post, checkpoint58d_post, checkpoint58c_post, checkpoint57w_post, checkpoint57p_post, checkpint57u_post, checkpoint58a_post, checkpoint58i_post, checkpoint57q_post, checkpoint58o_post, checkpoint57z_post, checkpoint57c_post, checkpoint58y_post, checkpoint58k_post, checkpoint58v_post, checkpoint58s_post, checkpoint58p_post, checkpoint57h_pre, checkpoint57l_post, checkpoint56a_post
Changes since 1.2: +2 -2 lines
File MIME type: text/plain
o some delicate re-shuffle of store directives to avoid one
  extra call of do_oceanic_physics
o NB: this may break global_ocean adjoint temporarily,
  but it is clear how to fix it. Will do later, need this now.

1 C $Header: /u/gcmpack/MITgcm/verification/natl_box_adjoint/code/GMREDI_OPTIONS.h,v 1.2 2003/11/06 22:30:59 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 #undef GM_EXCLUDE_TAPERING
21
22 C This allows to use Visbeck et al formulation to compute K_GM+Redi
23 #undef GM_VISBECK_VARIABLE_K
24
25 C This allows the leading diagonal (top two rows) to be non-unity
26 C (a feature required when tapering adiabatically).
27 #define GM_NON_UNITY_DIAGONAL
28
29 C Allows to use different values of K_GM and K_Redi ; also to
30 C be used with the advective form (Bolus velocity) of GM
31 #define GM_EXTRA_DIAGONAL
32
33 C Allows to use the advective form (Bolus velocity) of GM
34 C instead of the Skew-Flux form (=default)
35 #undef GM_BOLUS_ADVEC
36
37 C Following option avoids specific recomputation in adjoint
38 C routines of gmredi_x/y/rtransport
39 C It's not needed, only for tests, and very memory-consuming
40 #undef GM_AUTODIFF_EXCESSIVE_STORE
41
42 #endif /* ALLOW_GMREDI */
43 #endif /* GMREDI_OPTIONS_H */
44

  ViewVC Help
Powered by ViewVC 1.1.22