/[MITgcm]/MITgcm/pkg/generic_advdiff/GAD_OPTIONS.h
ViewVC logotype

Contents of /MITgcm/pkg/generic_advdiff/GAD_OPTIONS.h

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


Revision 1.4.20.1 - (show annotations) (download)
Thu Oct 2 18:18:33 2003 UTC (20 years, 8 months ago) by adcroft
Branch: branch-genmake2
Changes since 1.4: +7 -8 lines
File MIME type: text/plain
Converted to new pacakge configuration system.
 o made all packages consistent by referring to CPP_OPTIONS via PKG_OPTIONS.h
 o added CPP barriers (#ifndef PKG_OPTIONS_H) to instigate new policy
 o added plenty of missing or broken CVS $Header stuff

1 C $Header: /u/gcmpack/MITgcm/pkg/generic_advdiff/GAD_OPTIONS.h,v 1.4 2001/09/28 03:36:16 adcroft 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_CONF.h"
21 #ifndef DISABLE_GENERIC_ADVDIFF
22
23 #include "CPP_OPTIONS.h"
24
25 C The selects the form of COSINE(lat) scaling of bi-harmonic term.
26 C *only for use on a lat-lon grid*
27 #define COSINEMETH_III
28
29 C The selects isotropic scaling of bi-harmonic term when
30 C using the COSINE(lat) scaling.
31 #undef ISOTROPIC_COS_SCALING
32
33 C As of checkpoint41, the inclusion of multi-dimensional advection
34 C introduces excessive recomputation/storage for the adjoint.
35 C We can disable it here using CPP because run-time flags are insufficient.
36 #undef DISABLE_MULTIDIM_ADVECTION
37
38 #else
39
40 C If GAD is disabled then so is multi-dimensional advection
41 #define DISABLE_MULTIDIM_ADVECTION
42
43 #endif /* DISABLE_GENERIC_ADVDIFF */
44 #endif /* GAD_OPTIONS_H */

  ViewVC Help
Powered by ViewVC 1.1.22