/[MITgcm]/MITgcm/verification/bottom_ctrl_5x5/code_ad/GAD_OPTIONS.h
ViewVC logotype

Contents of /MITgcm/verification/bottom_ctrl_5x5/code_ad/GAD_OPTIONS.h

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


Revision 1.1 - (show annotations) (download)
Wed Jun 7 02:00:01 2006 UTC (17 years, 10 months ago) by heimbach
Branch: MAIN
CVS Tags: checkpoint58l_post, checkpoint58u_post, checkpoint58w_post, checkpoint63d, checkpoint63e, checkpoint63f, checkpoint63g, checkpoint63a, checkpoint63b, checkpoint63c, checkpoint60, checkpoint61, checkpoint62, checkpoint63, checkpoint58r_post, checkpoint58n_post, checkpoint58x_post, checkpoint58t_post, checkpoint58h_post, checkpoint58q_post, checkpoint59q, checkpoint59p, checkpoint59r, checkpoint58j_post, checkpoint59e, checkpoint59d, checkpoint59g, checkpoint59f, checkpoint59a, checkpoint59c, checkpoint59b, checkpoint59m, checkpoint59l, checkpoint59o, checkpoint59n, checkpoint59i, checkpoint59h, checkpoint59k, checkpoint59j, checkpoint59, checkpoint58i_post, checkpoint58o_post, checkpoint62c, checkpoint62b, checkpoint62a, checkpoint62g, checkpoint62f, checkpoint62e, checkpoint62d, checkpoint62k, checkpoint62j, checkpoint62i, checkpoint62h, checkpoint62o, checkpoint62n, checkpoint62m, checkpoint62l, checkpoint62s, checkpoint62r, checkpoint62q, checkpoint62p, checkpoint62w, checkpoint62v, checkpoint62u, checkpoint62t, checkpoint62z, checkpoint62y, checkpoint62x, checkpoint58y_post, checkpoint58k_post, checkpoint58v_post, checkpoint58s_post, checkpoint61f, checkpoint61g, checkpoint61d, checkpoint61e, checkpoint61b, checkpoint61c, checkpoint58p_post, checkpoint61a, checkpoint61n, checkpoint61o, checkpoint61l, checkpoint61m, checkpoint61j, checkpoint61k, checkpoint61h, checkpoint61i, checkpoint61v, checkpoint61w, checkpoint61t, checkpoint61u, checkpoint61r, checkpoint61s, checkpoint61p, checkpoint61q, checkpoint61z, checkpoint61x, checkpoint61y, checkpoint58m_post
File MIME type: text/plain
Adding verification for 5x5 box (4-layer) bottom topography control

1 C $Header: /u/gcmpack/MITgcm/pkg/generic_advdiff/GAD_OPTIONS.h,v 1.6 2006/04/04 14:12:19 mlosch Exp $
2 C $Name: $
3
4 CBOP
5 C !ROUTINE: GAD_OPTIONS.h
6
7 C !INTERFACE:
8 C #include "GAD_OPTIONS.h"
9
10 C !DESCRIPTION:
11 C Contains CPP macros/flags for controlling optional features of package.
12 CEOP
13
14 C CPP options file for GAD (Generic Advection Diffusion) package
15 C
16 C Use this file for selecting options within the GAD package
17
18 #ifndef GAD_OPTIONS_H
19 #define GAD_OPTIONS_H
20 #include "PACKAGES_CONFIG.h"
21 #ifndef DISABLE_GENERIC_ADVDIFF
22
23 #include "CPP_OPTIONS.h"
24
25 C This flag selects the form of COSINE(lat) scaling of bi-harmonic term.
26 C *only for use on a lat-lon grid*
27 C Setting this flag here only affects the bi-harmonic tracer terms; to
28 C use COSINEMETH_III in the momentum equations set it CPP_OPTIONS.h
29 #undef COSINEMETH_III
30
31 C This selects isotropic scaling of harmonic and bi-harmonic term when
32 C using the COSINE(lat) scaling.
33 C Setting this flag here only affects the tracer diffusion terms; to
34 C use ISOTROPIC_COS_SCALING of the horizontal viscosity terms in the
35 C momentum equations set it CPP_OPTIONS.h; the following line
36 C even overrides setting the flag in CPP_OPTIONS.h
37 #undef ISOTROPIC_COS_SCALING
38
39 C As of checkpoint41, the inclusion of multi-dimensional advection
40 C introduces excessive recomputation/storage for the adjoint.
41 C We can disable it here using CPP because run-time flags are insufficient.
42 #define DISABLE_MULTIDIM_ADVECTION
43
44 #else
45
46 C If GAD is disabled then so is multi-dimensional advection
47 #define DISABLE_MULTIDIM_ADVECTION
48
49 #endif /* DISABLE_GENERIC_ADVDIFF */
50 #endif /* GAD_OPTIONS_H */

  ViewVC Help
Powered by ViewVC 1.1.22