ROMS
Loading...
Searching...
No Matches
channel.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 periodic uniform channel
10**
11** application flag: channel
12** input script: roms_channel.in
13**
14**
15** available driver options: choose only one and activate it in the
16** build.sh script(my_cpp_flags definition)
17**
18** ad_sensitivity adjoint sensitivity
19** aft_eigenmodes adjoint finite time eigenmodes
20** correlation background-error correlation check
21** gradient_check tlm/adm gradient check
22** forcing_sv forcing singular vectors
23** ft_eigenmodes finite time eigenmodes
24** i4dvar incremental, strong constraint 4d-var
25** nlm_driver nonlinear basic state trajectory
26** opt_perturbation optimal perturbations
27** picard_test picard iterations test
28** r_symmetry representer matrix symmetry test
29** sanity_check sanity check
30** so_semi stochastic optimals: semi-norm
31** tlm_check tangent linear model check
32** rbl4dvar strong/weak constraint rbl4d-var
33** r4dvar weak constraint r4d-var
34*/
35
36
37/*
38**-----------------------------------------------------------------------------
39** nonlinear basic state settings.
40**-----------------------------------------------------------------------------
41*/
42
43#define UV_ADV
44#define UV_COR
45#define UV_LDRAG
46#define UV_VIS2
47
48#define ANA_GRID
49#define ANA_INITIAL
50
51#ifdef SOLVE3D
52# define DJ_GRADPS
53# define TS_DIF2
54# define MIX_S_TS
55# define MIX_S_UV
56# define ANA_SMFLUX
57# define ANA_STFLUX
58# define ANA_BTFLUX
59#endif
60
61#ifdef NLM_DRIVER
62# define AVERAGES
63#endif
64
65#define OUT_DOUBLE
66
67/*
68**-----------------------------------------------------------------------------
69** adjoint-based algorithms settings.
70**-----------------------------------------------------------------------------
71*/
72
73#ifdef OPT_PERTURBATION
74# define FORWARD_READ
75# define FORWARD_MIXING
76#endif
77