ROMS
Loading...
Searching...
No Matches
wc13.h
Go to the documentation of this file.
1/*
2** git $id$
3*******************************************************************************
4** copyright(c) 2002-2025 the roms group **
5** licensed under a mit/x style license **
6** see license_roms.md **
7*******************************************************************************
8**
9** options for the california current system, 1/3 degree resolution.
10**
11** application flag: wc13
12** input script: roms_wc13.in
13** s4dvar.in
14**
15** available drivers options: choose only one and activate it in the
16** build.sh script(my_cpp_flags definition)
17**
18** ad_sensitivity adjoint sensitivity driver
19** aft_eigenmodes adjoint finite time eigenmodes
20** array_modes stabilized representer matrix array modes
21** clipping stabilized representer matrix clipped analysis
22** correlation background-error correlation check
23** gradient_check tlm/adm gradient check
24** forcing_sv forcing singular vectors
25** ft_eigenmodes finite time eigenmodes
26** i4dvar incremental, strong constraint 4d-var
27** nlm_driver nonlinear basic state trajectory
28** normalization background error covariance normalization
29** opt_perturbation optimal perturbations
30** picard_test picard iterations test
31** rbl4dvar strong/weak constraint rbl4d-var
32** r4dvar stronf/weak constraint r4d-var
33** r_symmetry representer matrix symmetry test
34** sanity_check sanity check
35** so_semi stochastic optimals: semi-norm
36** tlm_check tangent linear model check
37** verification nl observation verification driver
38*/
39
40/*
41**-----------------------------------------------------------------------------
42** nonlinear basic state settings.
43**-----------------------------------------------------------------------------
44*/
45
46#ifdef VERIFICATION
47# define FULL_GRID
48#endif
49
50#define ANA_BSFLUX
51#define ANA_BTFLUX
52
53#define UV_ADV
54#define DJ_GRADPS
55#define UV_COR
56#define UV_QDRAG
57#define UV_VIS2
58#define MIX_S_UV
59#define MIX_GEO_TS
60#define SPLINES_VDIFF
61#define SPLINES_VVISC
62#define TS_DIF2
63#define SOLVE3D
64#define SALINITY
65#define NONLIN_EOS
66#define CURVGRID
67#define PROFILE
68#define SPHERICAL
69#define MASKING
70
71#ifdef NLM_DRIVER
72# define AVERAGES /* define if writing out time-averaged data */
73#endif
74
75/*
76** vertical mixing parameterization
77*/
78
79#define GLS_MIXING
80#ifdef GLS_MIXING
81# define N2S2_HORAVG
82# define KANTHA_CLAYSON
83# define RI_SPLINES
84#endif
85
86/*
87** surface atmospheric fluxes. note, that we must define diurnal_srflux
88** when using daily averaged fields.
89*/
90
91#define BULK_FLUXES /* turn ON or OFF bulk fluxes computation */
92
93#define DIURNAL_SRFLUX /* impose shortwave radiation local diurnal cycle */
94#define SOLAR_SOURCE /* define solar radiation source term */
95#define LONGWAVE_OUT /* Compute net longwave radiation internally */
96#define EMINUSP /* turn ON internal calculation of E-P */
97
98/*
99**-----------------------------------------------------------------------------
100** variational Data assimilation.
101**-----------------------------------------------------------------------------
102*/
103
104/*
105** options to compute error covariance normalization coefficients.
106*/
107
108#ifdef NORMALIZATION
109# define ADJUST_BOUNDARY
110# define ADJUST_WSTRESS
111# define ADJUST_STFLUX
112# define CORRELATION
113# define VCONVOLUTION
114# define IMPLICIT_VCONV
115# define FULL_GRID
116# define FORWARD_WRITE
117# define FORWARD_READ
118# define FORWARD_MIXING
119# define OUT_DOUBLE
120#endif
121
122/*
123** options for adjoint-based algorithms sanity checks.
124*/
125
126#ifdef SANITY_CHECK
127# define FULL_GRID
128# define FORWARD_READ
129# define FORWARD_WRITE
130# define FORWARD_MIXING
131# define OUT_DOUBLE
132# define ANA_PERTURB
133# define ANA_INITIAL
134#endif
135
136
137/*
138** Common options to all 4dvar algorithms.
139*/
140
141#if defined ARRAY_MODES || \
142 defined clipping || \
143 defined i4dvar || \
144 defined i4dvar_ana_sensitivity || \
145 defined rbl4dvar || \
146 defined rbl4dvar_ana_sensitivity || \
147 defined r4dvar || \
148 defined r4dvar_ana_sensitivity
149# define ADJUST_BOUNDARY
150# define ADJUST_WSTRESS
151# define ADJUST_STFLUX
152# define PRIOR_BULK_FLUXES
153# define FORWARD_FLUXES
154# define VCONVOLUTION
155# define IMPLICIT_VCONV
156# define BALANCE_OPERATOR
157# ifdef BALANCE_OPERATOR
158# define ZETA_ELLIPTIC
159# endif
160# define FORWARD_WRITE
161# define FORWARD_READ
162# define FORWARD_MIXING
163# define OUT_DOUBLE
164#endif
165
166/*
167** special options for each 4dvar algorithm.
168*/
169
170#if defined ARRAY_MODES || \
171 defined r4dvar || \
172 defined r4dvar_ana_sensitivity
173# define RPM_RELAXATION
174#endif