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

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

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


Revision 1.3 - (hide annotations) (download)
Sat Dec 28 10:11:12 2002 UTC (21 years, 5 months ago) by dimitri
Branch: MAIN
CVS Tags: checkpoint48e_post, checkpoint48b_post, checkpoint48c_pre, checkpoint48d_pre, checkpoint47i_post, checkpoint48d_post, checkpoint47g_post, checkpoint48a_post, checkpoint47j_post, checkpoint48c_post, checkpoint47f_post, checkpoint48, checkpoint47h_post
Branch point for: ecco-branch
Changes since 1.2: +10 -9 lines
File MIME type: text/plain
checkpoint47f_post
Merging from release1_p10:
o modifications for using pkg/exf with pkg/seaice
  - pkg/seaice CPP options SEAICE_EXTERNAL_FORCING
    and SEAICE_EXTERNAL_FLUXES
  - pkg/exf CPP options EXF_READ_EVAP and
    EXF_NO_BULK_COMPUTATIONS
  - usage examples are Experiments 8 and 9 in
    verification/lab_sea/README
  - verification/lab_sea default experiment now uses
    pkg/gmredi, pkg/kpp, pkg/seaice, and pkg/exf

1 dimitri 1.3 C $Header: /u/gcmpack/MITgcm/verification/lab_sea/code/CPP_OPTIONS.h,v 1.1.2.3 2002/12/27 08:01:56 dimitri Exp $
2 heimbach 1.2 C $Name: $
3     C
4    
5     CBOP
6     C !ROUTINE: CPP_OPTIONS.h
7     C !INTERFACE:
8     C include "CPP_OPTIONS.h"
9     C !DESCRIPTION:
10     C CPP flags controlling which code in included in the files that
11     C will be compiled.
12     CEOP
13    
14     C o Include/exclude code for AIM package
15     #undef ALLOW_AIM
16    
17     C o Include/exclude code for sea-ice model
18     #define ALLOW_SEAICE
19    
20     C o Include/exclude code for GM/Redi parameterization
21     #define ALLOW_GMREDI
22    
23     C o Include/exclude code for KPP mixing scheme
24     #define ALLOW_KPP
25    
26     C o Shortwave heating as extra term in external_forcing.F
27     #ifdef ALLOW_KPP
28     #define SHORTWAVE_HEATING
29     #endif
30    
31     C o Include/exclude code for Shapiro filters
32 dimitri 1.3 #undef ALLOW_SHAP_FILT
33 heimbach 1.2
34     C o Include/exclude code for C-D grid method of integrating the
35     C coriolis terms
36     #define INCLUDE_CD_CODE
37    
38     C o Include/exclude code for open-boundary conditions
39     #undef ALLOW_OBCS
40    
41     C o Include/exclude diagnostics package interface code
42     #define ALLOW_TIMEAVE
43    
44     C o Include/exclude zonal FFT filter code
45     #undef ALLOW_ZONAL_FILT
46    
47     C o Include/exclude temperature advection code
48     #define INCLUDE_T_ADVECTION_CODE
49     #ifdef INCLUDE_T_ADVECTION_CODE
50     #define _ADT(a)a
51     #endif
52     #ifndef INCLUDE_T_ADVECTION_CODE
53     #define _ADT(a)
54     #endif
55    
56     C o Include/exclude temperature diffusion code
57     #define INCLUDE_T_DIFFUSION_CODE
58     #ifdef INCLUDE_T_DIFFUSION_CODE
59     #define _LPT(a)a
60     #define _BHT(a)a
61     #endif
62     #ifndef INCLUDE_T_DIFFUSION_CODE
63     #define _LPT(a)
64     #define _BHT(a)
65     #endif
66    
67     C o Include/exclude temperature forcing code
68     #define INCLUDE_T_FORCING_CODE
69    
70     C o Include/exclude momentum advection code
71     #define INCLUDE_MOMENTUM_ADVECTION_CODE
72     #ifdef INCLUDE_MOMENTUM_ADVECTION_CODE
73     #define _ADM(a)a
74     #endif
75     #ifndef INCLUDE_MOMENTUM_ADVECTION_CODE
76     #define _ADM(a)
77     #endif
78    
79     C o Include/exclude laplacian viscosity code
80     #define INCLUDE_LP_MOMENTUM_DIFFUSION_CODE
81     #ifdef INCLUDE_LP_MOMENTUM_DIFFUSION_CODE
82     #define _LPM(a)a
83     #endif
84     #ifndef INCLUDE_LP_MOMENTUM_DIFFUSION_CODE
85     #define _LPM(a)
86     #endif
87    
88     C o Include/exclude biharmonic viscosity code
89     #define INCLUDE_BH_MOMENTUM_DIFFUSION_CODE
90     #ifdef INCLUDE_BH_MOMENTUM_DIFFUSION_CODE
91     #define _BHM(a)a
92     #endif
93     #ifndef INCLUDE_BH_MOMENTUM_DIFFUSION_CODE
94     #define _BHM(a)
95     #endif
96    
97     C o Include/exclude gradient of phy_hyd code
98     #define INCLUDE_GRADPH_CODE
99     #ifdef INCLUDE_GRADPH_CODE
100     #define _PHM(a)a
101     #endif
102     #ifndef INCLUDE_GRADPH_CODE
103     #define _PHM(a)
104     #endif
105    
106     C o Include/exclude momentum forcing code
107     #define INCLUDE_MOMENTUM_FORCING_CODE
108    
109     C o Include/exclude momentum eqn metric terms code
110     #define INCLUDE_MOMENTUM_METRIC_TERM_CODE
111    
112     C o Include/exclude phi_hyd calculation code
113     #define INCLUDE_PHIHYD_CALCULATION_CODE
114    
115     C o Include/exclude call to S/R CONVECT
116 dimitri 1.3 #undef INCLUDE_CONVECT_CALL
117 heimbach 1.2
118     C o Include/exclude call to S/R CALC_DIFFUSIVITY
119     #define INCLUDE_CALC_DIFFUSIVITY_CALL
120    
121     C o Allow nonHydrostatic code
122     #undef ALLOW_NONHYDROSTATIC
123    
124     C o Use "natural" boundary conditions for salinity
125     C instead of the "virtual salt flux"
126     #undef USE_NATURAL_BCS
127    
128     C o Use "Exact Convervation" of fluid in Free-Surface formulation
129     C so that d/dt(eta) is exactly equal to - Div.Transport
130 dimitri 1.3 #undef EXACT_CONSERV
131 heimbach 1.2
132     C o Allow the use of Non-Linear Free-Surface formulation
133     C this implies that surface thickness (hFactors) vary with time
134     #undef NONLIN_FRSURF
135    
136     C o Use "OLD" UV discretisation near boundaries (*not* recommended)
137     C Note - only works with #undef NO_SLIP_LATERAL in calc_mom_rhs.F
138     C because the old code did not have no-slip BCs
139     #undef OLD_ADV_BCS
140    
141     C o Use "OLD" UV geometry on sphere (definately *NOT* recommended)
142     C Note - only works with #undef NO_SLIP_LATERAL in calc_mom_rhs.F
143     C because the old code did not have no-slip BCs
144     #undef OLD_UV_GEOMETRY
145    
146     C o Execution environment support options
147     #include "CPP_EEOPTIONS.h"
148    
149 dimitri 1.3 C o Include/exclude the external forcing package. To use this package,
150     C you have to include the calendar tool as well. KPP can be switched
151     C on or off. The implementation automatically takes care of this.
152     #define INCLUDE_EXTERNAL_FORCING_PACKAGE
153     #ifdef INCLUDE_EXTERNAL_FORCING_PACKAGE
154     # include "ECCO_CPPOPTIONS.h"
155 heimbach 1.2 #endif

  ViewVC Help
Powered by ViewVC 1.1.22