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

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

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


Revision 1.4 - (show annotations) (download)
Tue Feb 18 05:33:56 2003 UTC (21 years, 3 months ago) by dimitri
Branch: MAIN
CVS Tags: checkpoint50c_post, checkpoint50c_pre, checkpoint48i_post, checkpoint50d_pre, checkpoint51, checkpoint50, checkpoint50d_post, checkpoint50b_pre, checkpoint51f_post, checkpoint51d_post, checkpoint51j_post, checkpoint48f_post, checkpoint48h_post, checkpoint51b_pre, checkpoint51h_pre, checkpoint50f_post, checkpoint50a_post, checkpoint50f_pre, branchpoint-genmake2, checkpoint51b_post, checkpoint51c_post, checkpoint50g_post, checkpoint50h_post, checkpoint50e_pre, checkpoint50i_post, checkpoint50e_post, checkpoint51e_post, checkpoint49, checkpoint51f_pre, checkpoint48g_post, checkpoint51g_post, checkpoint50b_post, checkpoint51a_post
Branch point for: branch-genmake2
Changes since 1.3: +4 -1 lines
File MIME type: text/plain
Merging from release1_p12:
o Modifications for using pkg/exf with pkg/seaice
  - improved description of the various forcing configurations
  - added basic radiation bulk formulae to pkg/exf
  - units/sign fix for evap computation in exf_getffields.F
  - updated verification/global_with_exf/results/output.txt
o Added pkg/sbo for computing IERS Special Bureau for the Oceans
  (SBO) core products, including oceanic mass, center-of-mass,
  angular, and bottom pressure (see pkg/sbo/README.sbo).
o Lower bound for viscosity/diffusivity in pkg/kpp/kpp_routines.F
  to avoid negative values in shallow regions.
  - updated verification/natl_box/results/output.txt
  - updated verification/lab_sea/results/output.txt
o MPI gather, scatter: eesupp/src/gather_2d.F and scatter_2d.F
o Added useSingleCpuIO option (see PARAMS.h).
o Updated useSingleCpuIO option in mdsio_writefield.F to
  work with multi-field files, e.g., for single-file pickup.
o pkg/seaice:
  - bug fix in growth.F: QNET for no shortwave case
  - added HeffFile for specifying initial sea-ice thickness
  - changed SEAICE_EXTERNAL_FLUXES wind stress implementation
o Added missing /* */ to CPP comments in pkg/seaice, pkg/exf,
  kpp_transport_t.F, forward_step.F, and the_main_loop.F
o pkg/seaice:
  - adjoint-friendly modifications
  - added a SEAICE_WRITE_PICKUP at end of the_model_main.F

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

  ViewVC Help
Powered by ViewVC 1.1.22