/[MITgcm]/MITgcm/verification/exp4/CPP_OPTIONS.h
ViewVC logotype

Contents of /MITgcm/verification/exp4/CPP_OPTIONS.h

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


Revision 1.2 - (show annotations) (download)
Tue Dec 15 00:02:26 1998 UTC (25 years, 3 months ago) by adcroft
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +1 -1 lines
File MIME type: text/plain
FILE REMOVED
Restructuring verification experiments.

1 C $Header: /u/gcmpack/models/MITgcmUV/verification/exp4/CPP_OPTIONS.h,v 1.1 1998/12/08 19:44:29 adcroft Exp $
2 C
3
4 C
5 C CPP flags controlling which code in included in the files that
6 C will be compiled.
7 C
8
9 C o Include/exclude code for C-D grid method of integrating the
10 C coriolis terms
11 #undef INCLUDE_CD_CODE
12
13 C o Include/exclude diagnostics package interface code
14 #define INCLUDE_DIAGNOSTICS_INTERFACE_CODE
15
16 C o Include/exclude latitude circle FFT filter
17 #undef INCLUDE_LAT_CIRC_FFT_FILTER_CODE
18
19 C o Include/exclude temperature advection code
20 #define INCLUDE_T_ADVECTION_CODE
21 #ifdef INCLUDE_T_ADVECTION_CODE
22 #define _ADT(a) a
23 #endif
24 #ifndef INCLUDE_T_ADVECTION_CODE
25 #define _ADT(a)
26 #endif
27
28 C o Include/exclude temperature diffusion code
29 #define INCLUDE_T_DIFFUSION_CODE
30 #ifdef INCLUDE_T_DIFFUSION_CODE
31 #define _LPT(a) a
32 #define _BHT(a) a
33 #endif
34 #ifndef INCLUDE_T_DIFFUSION_CODE
35 #define _LPT(a)
36 #define _BHT(a)
37 #endif
38
39 C o Include/exclude temperature forcing code
40 #define INCLUDE_T_FORCING_CODE
41
42 C o Include/exclude momentum advection code
43 #define INCLUDE_MOMENTUM_ADVECTION_CODE
44 #ifdef INCLUDE_MOMENTUM_ADVECTION_CODE
45 #define _ADM(a) a
46 #endif
47 #ifndef INCLUDE_MOMENTUM_ADVECTION_CODE
48 #define _ADM(a)
49 #endif
50
51 C o Include/exclude laplacian viscosity code
52 #define INCLUDE_LP_MOMENTUM_DIFFUSION_CODE
53 #ifdef INCLUDE_LP_MOMENTUM_DIFFUSION_CODE
54 #define _LPM(a) a
55 #endif
56 #ifndef INCLUDE_LP_MOMENTUM_DIFFUSION_CODE
57 #define _LPM(a)
58 #endif
59
60 C o Include/exclude biharmonic viscosity code
61 #define INCLUDE_BH_MOMENTUM_DIFFUSION_CODE
62 #ifdef INCLUDE_BH_MOMENTUM_DIFFUSION_CODE
63 #define _BHM(a) a
64 #endif
65 #ifndef INCLUDE_BH_MOMENTUM_DIFFUSION_CODE
66 #define _BHM(a)
67 #endif
68
69 C o Include/exclude gradient of phy_hyd code
70 #define INCLUDE_GRADPH_CODE
71 #ifdef INCLUDE_GRADPH_CODE
72 #define _PHM(a) a
73 #endif
74 #ifndef INCLUDE_GRADPH_CODE
75 #define _PHM(a)
76 #endif
77
78 C o Include/exclude momentum forcing code
79 #define INCLUDE_MOMENTUM_FORCING_CODE
80
81 C o Include/exclude momentum eqn metric terms code
82 #define INCLUDE_MOMENTUM_METRIC_TERM_CODE
83
84 C o Include/exclude phi_hyd calculation code
85 #define INCLUDE_PHIHYD_CALCULATION_CODE
86
87 C o Include/exclude prognostic variable shapiro filter code
88 C Note - Shapiro filter of prognostics variables requires the
89 C three steps "step forward including edges", filter,
90 C "communicate edges".
91 C If the filtering code is included then we do not use the
92 C pipelined "step forward including edges" in S/R DYNAMICS.
93 C Instead the three steps are performed before DYNAMICS one
94 C after another in an un-pipelined fashion.
95 #undef INCLUDE_SHAPIRO_FILTER_CODE
96 #ifdef INCLUDE_SHAPIRO_FILTER_CODE
97 #undef DO_PIPELINED_CORRECTION_STEP
98 #endif
99 #ifndef INCLUDE_SHAPIRO_FILTER_CODE
100 #define DO_PIPELINED_CORRECTION_STEP
101 #endif
102
103 C o Include/exclude call to S/R FIND_RHO
104 #define INCLUDE_FIND_RHO_CALL
105
106 C o Include/exclude call to S/R CONVECT
107 #define INCLUDE_CONVECT_CALL
108
109 C o Include/exclude call to S/R CALC_ISOSLOPES
110 #define INCLUDE_CALC_ISOSLOPES_CALL
111
112 C o Include/exclude call to S/R CALC_DIFFUSIVITY
113 #define INCLUDE_CALC_DIFFUSIVITY_CALL
114
115 C o Use "OLD" UV discretisation near boundaries (*not* recommended)
116 C Note - only works with #undef NO_SLIP_LATERAL in calc_mom_rhs.F
117 C because the old code did not have no-slip BCs
118 #undef OLD_ADV_BCS
119
120 C o Use "OLD" UV geometry on sphere (definately *NOT* recommended)
121 C Note - only works with #undef NO_SLIP_LATERAL in calc_mom_rhs.F
122 C because the old code did not have no-slip BCs
123 #undef OLD_UV_GEOMETRY
124
125 C o Execution environment support options
126 #include "CPP_EEOPTIONS.h"

  ViewVC Help
Powered by ViewVC 1.1.22