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

Annotation of /MITgcm/verification/exp4/code/CPP_OPTIONS.h

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


Revision 1.3 - (hide annotations) (download)
Tue May 18 18:30:37 1999 UTC (25 years ago) by adcroft
Branch: MAIN
CVS Tags: checkpoint22
Changes since 1.2: +11 -7 lines
File MIME type: text/plain
Added ALLOW_KPP to CPP_OPTIONS.h and PARM07 to data files.

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

  ViewVC Help
Powered by ViewVC 1.1.22