1 |
gforget |
1.14 |
C $Header: /u/gcmpack/MITgcm/verification/1D_ocean_ice_column/code/SEAICE_OPTIONS.h,v 1.13 2012/03/03 03:34:43 gforget Exp $ |
2 |
ifenty |
1.1 |
C $Name: $ |
3 |
|
|
|
4 |
jmc |
1.5 |
C *==========================================================* |
5 |
|
|
C | SEAICE_OPTIONS.h |
6 |
|
|
C | o CPP options file for sea ice package. |
7 |
|
|
C *==========================================================* |
8 |
|
|
C | Use this file for selecting options within the sea ice |
9 |
|
|
C | package. |
10 |
|
|
C *==========================================================* |
11 |
ifenty |
1.1 |
|
12 |
|
|
#ifndef SEAICE_OPTIONS_H |
13 |
|
|
#define SEAICE_OPTIONS_H |
14 |
|
|
#include "PACKAGES_CONFIG.h" |
15 |
|
|
#include "CPP_OPTIONS.h" |
16 |
|
|
|
17 |
jmc |
1.5 |
#ifdef ALLOW_SEAICE |
18 |
|
|
C Package-specific Options & Macros go here |
19 |
|
|
|
20 |
ifenty |
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 |
ifenty |
1.4 |
#undef SEAICE_ALLOW_DYNAMICS |
29 |
ifenty |
1.1 |
|
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 |
|
|
#define SEAICE_EXTERNAL_FLUXES |
36 |
|
|
|
37 |
|
|
C-- By default, the sea-ice package uses 2-category thermodynamics. |
38 |
|
|
C When this flag is set, an 8-category calculation of ice |
39 |
|
|
C thermodynamics is carried out in groatb.F |
40 |
|
|
C Note the pickup_seaice.* generated by this option differ |
41 |
|
|
C from those generated with the default 2-category model. |
42 |
|
|
C Therefore it is not possible to switch between the two |
43 |
|
|
C in the middle of an integration. |
44 |
|
|
#undef SEAICE_MULTICATEGORY |
45 |
|
|
#undef SEAICE_MODIFY_GROWTH_ADJ |
46 |
jmc |
1.5 |
#undef SEAICE_SIMPLIFY_GROWTH_ADJ |
47 |
ifenty |
1.1 |
|
48 |
gforget |
1.11 |
C-- Since the missing sublimation term is now included |
49 |
|
|
C this flag is needed for backward compatibility |
50 |
|
|
#define SEAICE_DISABLE_SUBLIM |
51 |
|
|
|
52 |
gforget |
1.12 |
C-- Suspected missing term in coupled ocn-ice heat budget (to be further tested) |
53 |
|
|
#define SEAICE_DISABLE_HEATCONSFIX |
54 |
|
|
|
55 |
ifenty |
1.1 |
C-- By default cdm wind stress under sea-ice is set to the |
56 |
|
|
C same value as it would be if there was no sea-ice. |
57 |
|
|
C This is a placeholder until a more physically-sensible |
58 |
|
|
C stable solution is developed. Apparently ocean stress |
59 |
|
|
C that is based on sea-ice velocity can cause trouble in |
60 |
|
|
C Arctic Ocean configurations. This temporary solution |
61 |
|
|
C also corresponds to that adopted by CCSM-2. For the |
62 |
|
|
C adventurous user who requires ice-modified stress, |
63 |
|
|
C following options are available. |
64 |
|
|
#undef SEAICE_ORIGINAL_BAD_ICE_STRESS |
65 |
|
|
#undef SEAICE_TEST_ICE_STRESS_1 |
66 |
|
|
|
67 |
|
|
C-- By default the seaice model is discretized on a B-Grid (for |
68 |
|
|
C historical reasons). Define the following flag to use a new |
69 |
|
|
C (not thoroughly) test version on a C-grid |
70 |
|
|
#define SEAICE_CGRID |
71 |
|
|
|
72 |
|
|
C-- Only for the C-grid version it is possible to enable EVP code by |
73 |
|
|
C defining the following flag |
74 |
|
|
#ifdef SEAICE_CGRID |
75 |
|
|
#define SEAICE_ALLOW_EVP |
76 |
|
|
#endif /* SEAICE_CGRID */ |
77 |
|
|
|
78 |
|
|
C-- By default sea ice is fresh. Set following flag for salty ice. |
79 |
jmc |
1.8 |
#define SEAICE_VARIABLE_SALINITY |
80 |
ifenty |
1.1 |
|
81 |
|
|
|
82 |
jmc |
1.5 |
#endif /* ALLOW_SEAICE */ |
83 |
ifenty |
1.1 |
#endif /* SEAICE_OPTIONS_H */ |
84 |
|
|
|
85 |
|
|
CEH3 ;;; Local Variables: *** |
86 |
|
|
CEH3 ;;; mode:fortran *** |
87 |
|
|
CEH3 ;;; End: *** |