/[MITgcm]/MITgcm_contrib/darwin/verification/darwin_baltic_76x72x24/code/SEAICE_OPTIONS.h
ViewVC logotype

Annotation of /MITgcm_contrib/darwin/verification/darwin_baltic_76x72x24/code/SEAICE_OPTIONS.h

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


Revision 1.12 - (hide annotations) (download)
Fri Dec 28 15:07:10 2012 UTC (12 years, 7 months ago) by jahn
Branch: MAIN
CVS Tags: ctrb_darwin_ckpt66l_20171025, ctrb_darwin_ckpt66a_20161020, ctrb_darwin_ckpt65n_20150729, ctrb_darwin_ckpt64v_20140411, ctrb_darwin_ckpt65b_20140812, ctrb_darwin_ckpt65y_20160801, ctrb_darwin_ckpt66o_20180209, ctrb_darwin_ckpt64y_20140622, ctrb_darwin_ckpt64g_20130503, ctrb_darwin_ckpt65c_20140830, ctrb_darwin_ckpt64r_20131210, ctrb_darwin_ckpt65x_20160612, ctrb_darwin_ckpt66j_20170815, ctrb_darwin_ckpt64j_20130704, ctrb_darwin_ckpt65u_20160315, ctrb_darwin_ckpt64t_20140202, ctrb_darwin_ckpt64s_20140105, ctrb_darwin_ckpt66k_20171025, ctrb_darwin_ckpt64h_20130528, ctrb_darwin_ckpt64u_20140308, ctrb_darwin_ckpt64k_20130723, ctrb_darwin_ckpt65s_20160114, ctrb_darwin_ckpt64i_20130622, ctrb_darwin_ckpt65h_20141217, ctrb_darwin_ckpt65a_20140728, ctrb_darwin_ckpt66i_20170718, ctrb_darwin_ckpt66n_20180118, ctrb_darwin_ckpt65l_20150504, ctrb_darwin_ckpt65o_20150914, ctrb_darwin_ckpt65f_20141014, ctrb_darwin_ckpt64q_20131118, ctrb_darwin_ckpt65i_20150123, ctrb_darwin_ckpt66b_20161219, ctrb_darwin_ckpt65t_20160221, ctrb_darwin_ckpt65k_20150402, ctrb_darwin_ckpt64p_20131024, ctrb_darwin_ckpt65e_20140929, ctrb_darwin_ckpt64c_20130120, ctrb_darwin_ckpt64q_20131024, ctrb_darwin_ckpt65m_20150615, ctrb_darwin_ckpt64m_20130820, ctrb_darwin_ckpt66f_20170407, ctrb_darwin_ckpt65w_20160512, ctrb_darwin_ckpt65d_20140915, ctrb_darwin_ckpt64o_20131024, ctrb_darwin_ckpt64f_20130405, ctrb_darwin_ckpt65r_20151221, ctrb_darwin_ckpt65q_20151118, ctrb_darwin_ckpt66g_20170424, ctrb_darwin_ckpt65j_20150225, ctrb_darwin_ckpt64w_20140502, ctrb_darwin_ckpt64d_20130219, ctrb_darwin_ckpt66c_20170121, ctrb_darwin_ckpt64x_20140524, ctrb_darwin_ckpt66h_20170602, ctrb_darwin_ckpt66d_20170214, ctrb_darwin_ckpt64z_20140711, ctrb_darwin_ckpt65v_20160409, ctrb_darwin_ckpt65p_20151023, ctrb_darwin_ckpt65g_20141120, ctrb_darwin_ckpt64e_20130305, ctrb_darwin_ckpt66m_20171213, ctrb_darwin_ckpt66e_20170314, ctrb_darwin_ckpt64l_20130806, ctrb_darwin_ckpt65z_20160929, ctrb_darwin_ckpt65_20140718, ctrb_darwin_ckpt64n_20130826, HEAD
Changes since 1.11: +51 -58 lines
File MIME type: text/plain
switch to labsea seaice setup now that legacy is gone

1 jahn 1.12 C $Header$
2     C $Name$
3 jahn 1.1
4 jahn 1.7 C *==========================================================*
5 jahn 1.12 C | SEAICE_OPTIONS.h
6     C | o CPP options file for sea ice package.
7 jahn 1.7 C *==========================================================*
8 jahn 1.12 C | Use this file for selecting options within the sea ice
9     C | package.
10 jahn 1.7 C *==========================================================*
11 jahn 1.1
12     #ifndef SEAICE_OPTIONS_H
13     #define SEAICE_OPTIONS_H
14     #include "PACKAGES_CONFIG.h"
15     #include "CPP_OPTIONS.h"
16    
17 jahn 1.12 #ifdef ALLOW_SEAICE
18     C Package-specific Options & Macros go here
19    
20 jahn 1.1 C-- Write "text-plots" of certain fields in STDOUT for debugging.
21     #undef SEAICE_DEBUG
22    
23     C-- Allow sea-ice dynamic code.
24     C This option is provided to allow use of TAMC
25     C on the thermodynamics component of the code only.
26     C Sea-ice dynamics can also be turned off at runtime
27     C using variable SEAICEuseDYNAMICS.
28     #define SEAICE_ALLOW_DYNAMICS
29    
30     C-- By default, the sea-ice package uses its own integrated bulk
31     C formulae to compute fluxes (fu, fv, EmPmR, Qnet, and Qsw) over
32     C open-ocean. When this flag is set, these variables are computed
33     C in a separate external package, for example, pkg/exf, and then
34     C modified for sea-ice effects by pkg/seaice.
35 jahn 1.4 #define SEAICE_EXTERNAL_FLUXES
36 jahn 1.1
37 jahn 1.12 C-- This CPP flag has been retired. The number of ice categories
38     C used to solve for seaice flux is now specified by run-time
39     C parameter SEAICE_multDim.
40     C Note: be aware of pickup_seaice.* compatibility issues when
41     C restarting a simulation with a different number of categories.
42     c#define SEAICE_MULTICATEGORY
43    
44     C-- run with sea Ice Thickness Distribution (ITD);
45     C set number of categories (nITD) in SEAICE_SIZE.h
46     #undef SEAICE_ITD
47 jahn 1.7
48 jahn 1.10 C-- Since the missing sublimation term is now included
49     C this flag is needed for backward compatibility
50 jahn 1.12 #undef SEAICE_DISABLE_SUBLIM
51 jahn 1.7
52 jahn 1.12 C-- Suspected missing term in coupled ocn-ice heat budget (to be confirmed)
53     #undef SEAICE_DISABLE_HEATCONSFIX
54 jahn 1.11
55 jahn 1.12 C-- Default is constant seaice salinity (SEAICE_salt0); Define the following
56     C flag to consider (space & time) variable salinity: advected and forming
57     C seaice with a fraction (=SEAICE_saltFrac) of freezing seawater salinity.
58     C- Note: SItracer also offers an alternative way to handle variable salinity.
59 jahn 1.8 #undef SEAICE_VARIABLE_SALINITY
60 jahn 1.4
61 jahn 1.9 C-- Tracers of ice and/or ice cover.
62 jahn 1.12 #define ALLOW_SITRACER
63 jahn 1.9 #ifdef ALLOW_SITRACER
64     C-- To try avoid 'spontaneous generation' of tracer maxima by advdiff.
65     # define ALLOW_SITRACER_ADVCAP
66 jahn 1.7 #endif
67    
68     C-- By default the seaice model is discretized on a B-Grid (for
69 jahn 1.1 C historical reasons). Define the following flag to use a new
70     C (not thoroughly) test version on a C-grid
71     #define SEAICE_CGRID
72    
73 jahn 1.7 C-- Only for the C-grid version it is possible to
74 jahn 1.1 #ifdef SEAICE_CGRID
75 jahn 1.12 C enable JFNK code by defining the following flag
76     # undef SEAICE_ALLOW_JFNK
77     C enable LSR to use global (multi-tile) tri-diagonal solver
78     # undef SEAICE_GLOBAL_3DIAG_SOLVER
79 jahn 1.2 C enable EVP code by defining the following flag
80 jahn 1.12 # define SEAICE_ALLOW_EVP
81 jahn 1.7 # ifdef SEAICE_ALLOW_EVP
82 jahn 1.12 C-- When set use SEAICE_zetaMin and SEAICE_evpDampC to limit viscosities
83     C from below and above in seaice_evp: not necessary, and not recommended
84 jahn 1.7 # undef SEAICE_ALLOW_CLIPZETA
85     # endif /* SEAICE_ALLOW_EVP */
86 jahn 1.12 C regularize zeta to zmax with a smooth tanh-function instead
87     C of a min(zeta,zmax). This improves convergence of iterative
88     C solvers (Lemieux and Tremblay 2009, JGR). No effect on EVP
89     # undef SEAICE_ZETA_SMOOTHREG
90 jahn 1.2 C allow the truncated ellipse rheology (runtime flag SEAICEuseTEM)
91 jahn 1.7 # undef SEAICE_ALLOW_TEM
92     #else /* not SEAICE_CGRID, but old B-grid */
93     C-- By default for B-grid dynamics solver wind stress under sea-ice is
94     C set to the same value as it would be if there was no sea-ice.
95     C Define following CPP flag for B-grid ice-ocean stress coupling.
96     # define SEAICE_BICE_STRESS
97    
98     C-- By default for B-grid dynamics solver surface tilt is obtained
99     C indirectly via geostrophic velocities. Define following CPP
100     C in order to use ETAN instead.
101     # define EXPLICIT_SSH_SLOPE
102 jahn 1.12 C-- Defining this flag turns on FV-discretization of the B-grid LSOR solver.
103     C It is smoother and includes all metric terms, similar to C-grid solvers.
104     C It is here for completeness, but its usefulness is unclear.
105     # undef SEAICE_LSRBNEW
106 jahn 1.1 #endif /* SEAICE_CGRID */
107    
108 jahn 1.7 C-- When set limit the Ice-Loading to mass of 1/5 of Surface ocean grid-box
109     #undef SEAICE_CAP_ICELOAD
110 jahn 1.6 C-- When set use SEAICE_clipVelocties = .true., to clip U/VICE at 40cm/s,
111 jahn 1.12 C not recommended
112 jahn 1.6 #undef SEAICE_ALLOW_CLIPVELS
113 jahn 1.12 C-- When set cap the sublimation latent heat flux in solve4temp according
114     C to the available amount of ice+snow. Otherwise this term is treated
115     C like all of the others -- residuals heat and fw stocks are passed to
116     C the ocean at the end of seaice_growth in a conservative manner.
117     C SEAICE_CAP_SUBLIM is not needed as of now, but kept just in case.
118 jahn 1.10 #undef SEAICE_CAP_SUBLIM
119    
120 jahn 1.12 C-- Enable free drift code
121     #define SEAICE_ALLOW_FREEDRIFT
122 jahn 1.5
123 jahn 1.12 #endif /* ALLOW_SEAICE */
124 jahn 1.1 #endif /* SEAICE_OPTIONS_H */
125    
126     CEH3 ;;; Local Variables: ***
127     CEH3 ;;; mode:fortran ***
128     CEH3 ;;; End: ***

  ViewVC Help
Powered by ViewVC 1.1.22