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

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

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


Revision 1.4 - (show annotations) (download)
Tue May 11 20:57:08 2004 UTC (20 years ago) by heimbach
Branch: MAIN
CVS Tags: checkpoint57t_post, checkpoint58l_post, checkpoint53f_post, checkpoint54a_pre, checkpoint55c_post, checkpoint53b_pre, checkpoint57o_post, checkpoint57m_post, checkpoint57i_post, checkpoint58e_post, checkpoint57r_post, checkpoint57f_post, checkpoint57s_post, checkpoint57j_post, checkpoint58b_post, checkpoint58m_post, checkpoint57b_post, checkpoint53c_post, checkpoint53d_post, checkpoint57f_pre, checkpoint57k_post, checkpoint55d_pre, checkpoint57d_post, checkpoint57g_post, checkpoint57a_post, checkpoint58r_post, checkpoint55j_post, checkpoint56b_post, checkpoint57h_pre, checkpoint57y_post, checkpoint58g_post, checkpoint57x_post, checkpoint54a_post, checkpoint55h_post, checkpoint58n_post, checkpoint58x_post, checkpoint57g_pre, checkpoint54b_post, checkpoint58h_post, checkpoint57e_post, checkpoint58w_post, checkpoint54d_post, checkpoint56c_post, checkpoint54e_post, checkpoint58j_post, checkpoint55b_post, checkpoint57h_post, checkpoint57y_pre, checkpoint55, checkpoint53a_post, checkpoint55a_post, checkpoint57c_pre, checkpoint57v_post, checkpoint55g_post, checkpoint59e, checkpoint59d, checkpoint59g, checkpoint59f, checkpoint59a, checkpoint55f_post, checkpoint59c, checkpoint59b, checkpoint59h, checkpoint59, checkpoint58, checkpoint57a_pre, checkpoint54, checkpoint57, checkpoint56, checkpoint57h_done, checkpoint58f_post, checkpoint53g_post, checkpoint57n_post, checkpoint58d_post, checkpoint57w_post, checkpoint57p_post, checkpint57u_post, checkpoint58a_post, checkpoint58i_post, checkpoint57q_post, checkpoint58o_post, checkpoint57z_post, checkpoint54f_post, eckpoint57e_pre, checkpoint58c_post, checkpoint58k_post, checkpoint57c_post, checkpoint58u_post, checkpoint58y_post, checkpoint53b_post, checkpoint58v_post, checkpoint53d_pre, checkpoint58s_post, checkpoint55e_post, checkpoint54c_post, checkpoint58p_post, checkpoint58t_post, checkpoint58q_post, checkpoint55i_post, checkpoint57l_post, checkpoint56a_post, checkpoint55d_post
Changes since 1.3: +6 -1 lines
File MIME type: text/plain
o Additional storing in an attempt to fix
  TAMC problem with adjoint of KPP code.
  (no success...)
  Identical code works fine with TAF.

1 C /==========================================================\
2 C | KPP_OPTIONS.h |
3 C | o CPP options file for KPP package. |
4 C |==========================================================|
5 C | Use this file for selecting options within the KPP |
6 C | package. KPP is enabled with ALLOW_KPP in CPP_OPTIONS.h |
7 C \==========================================================/
8
9 #ifndef KPP_OPTIONS_H
10 #define KPP_OPTIONS_H
11 #include "PACKAGES_CONFIG.h"
12
13 #ifdef ALLOW_KPP
14
15 #include "CPP_OPTIONS.h"
16
17 C o Set precision for KPP variables (Real*4 or Real*8)
18 #define _KPP_RL Real*8
19
20 C o When set, use exchange calls rather than recomputation
21 C to obtain KPP parameters in overlap region. This option
22 C was added to reduce stack size requirements on the
23 C Origin 2000. It decreases memory and computation
24 C requirements at the expense of increased communications.
25 C For a 64-processor 360x224x46 MPI configuration on the
26 C Exemplar or Origin 2000, wall clock time is about the
27 C same whether FRUGAL_KPP is turned on or off.
28 #undef FRUGAL_KPP
29
30 C o When set, smooth zonal shear meridionally and
31 C meridional shear zonally with 121 filters
32 #define KPP_SMOOTH_SHSQ
33 #undef KPP_SMOOTH_DVSQ
34
35 C o When set, smooth dbloc KPP variable horizontally
36 #define KPP_SMOOTH_DBLOC
37
38 C o When set, smooth all KPP density variables horizontally
39 #undef KPP_SMOOTH_DENS
40 #ifdef KPP_SMOOTH_DENS
41 # define KPP_SMOOTH_DBLOC
42 #endif
43
44 C o When set, smooth vertical viscosity horizontally
45 #undef KPP_SMOOTH_VISC
46
47 C o When set, smooth vertical diffusivity horizontally
48 #undef KPP_SMOOTH_DIFF
49
50 C o Get rid of vertical resolution dependence of dVsq term by
51 C estimating a surface velocity that is independent of first
52 C level thickness in the model.
53 #undef KPP_ESTIMATE_UREF
54
55 C o Include/exclude various time-averaged diagnostic output
56 C for saving storage space
57 #ifdef INCLUDE_DIAGNOSTICS_INTERFACE_CODE
58 #define INCLUDE_DIAGNOSTICS_KPP
59 #undef INCLUDE_DIAGNOSTICS_KPPDIFFKZSTAVE
60 #endif
61
62 C o Include/exclude KPP non/local transport terms
63 #define KPP_GHAT
64
65 C o Exclude Interior shear instability mixing
66 #undef EXCLUDE_KPP_SHEAR_MIX
67
68 C o Avoid as many as possible AD recomputations
69 C usually not necessary, but useful for testing
70 #undef KPP_AUTODIFF_EXCESSIVE_STORE
71
72 #endif /* ALLOW_KPP */
73 #endif /* KPP_OPTIONS_H */
74

  ViewVC Help
Powered by ViewVC 1.1.22