1 |
C $Header$ |
C $Header$ |
2 |
C $Name$ |
C $Name$ |
3 |
|
|
4 |
C /==========================================================\ |
C *==========================================================* |
5 |
C | SEAICE_OPTIONS.h | |
C | SEAICE_OPTIONS.h |
6 |
C | o CPP options file for sea ice package. | |
C | o CPP options file for sea ice package. |
7 |
C |==========================================================| |
C *==========================================================* |
8 |
C | Use this file for selecting options within the sea ice | |
C | Use this file for selecting options within the sea ice |
9 |
C | package. | |
C | package. |
10 |
C \==========================================================/ |
C *==========================================================* |
11 |
|
|
12 |
#ifndef SEAICE_OPTIONS_H |
#ifndef SEAICE_OPTIONS_H |
13 |
#define SEAICE_OPTIONS_H |
#define SEAICE_OPTIONS_H |
14 |
#include "PACKAGES_CONFIG.h" |
#include "PACKAGES_CONFIG.h" |
15 |
#include "CPP_OPTIONS.h" |
#include "CPP_OPTIONS.h" |
16 |
|
|
17 |
|
#ifdef ALLOW_SEAICE |
18 |
|
C Package-specific Options & Macros go here |
19 |
|
|
20 |
C-- Write "text-plots" of certain fields in STDOUT for debugging. |
C-- Write "text-plots" of certain fields in STDOUT for debugging. |
21 |
#undef SEAICE_DEBUG |
#undef SEAICE_DEBUG |
22 |
|
|
25 |
C on the thermodynamics component of the code only. |
C on the thermodynamics component of the code only. |
26 |
C Sea-ice dynamics can also be turned off at runtime |
C Sea-ice dynamics can also be turned off at runtime |
27 |
C using variable SEAICEuseDYNAMICS. |
C using variable SEAICEuseDYNAMICS. |
28 |
#define SEAICE_ALLOW_DYNAMICS |
#undef SEAICE_ALLOW_DYNAMICS |
29 |
|
|
30 |
C-- By default, the sea-ice package uses its own integrated bulk |
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 |
C formulae to compute fluxes (fu, fv, EmPmR, Qnet, and Qsw) over |
43 |
C in the middle of an integration. |
C in the middle of an integration. |
44 |
#undef SEAICE_MULTICATEGORY |
#undef SEAICE_MULTICATEGORY |
45 |
#undef SEAICE_MODIFY_GROWTH_ADJ |
#undef SEAICE_MODIFY_GROWTH_ADJ |
46 |
#undef SEAICE_SIMPLIFY_GROWTH_ADJ |
#undef SEAICE_SIMPLIFY_GROWTH_ADJ |
|
|
|
|
c Use the McPhee Ocean-Ice heat flux |
|
|
#define MCPHEE_OCEAN_ICE_HEAT_FLUX |
|
|
#define GRADIENT_MIXED_LAYER_TURBULENCE_FACTOR |
|
|
|
|
|
#define SEAICE_DO_OPEN_WATER_GROWTH |
|
|
#define SEAICE_DO_OPEN_WATER_MELT |
|
|
|
|
|
#define FENTY_AREA_EXPANSION_CONTRACTION |
|
|
|
|
|
#undef SEAICE_ADD_SUBLIMATION_TO_FWBUDGET |
|
47 |
|
|
48 |
|
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 |
|
C-- Suspected missing term in coupled ocn-ice heat budget (to be further tested) |
53 |
|
#define SEAICE_DISABLE_HEATCONSFIX |
54 |
|
|
55 |
C-- By default cdm wind stress under sea-ice is set to the |
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. |
C same value as it would be if there was no sea-ice. |
64 |
#undef SEAICE_ORIGINAL_BAD_ICE_STRESS |
#undef SEAICE_ORIGINAL_BAD_ICE_STRESS |
65 |
#undef SEAICE_TEST_ICE_STRESS_1 |
#undef SEAICE_TEST_ICE_STRESS_1 |
66 |
|
|
67 |
C-- By default the freezing point of water is set to the value of |
C-- The freezing point of water is a simple linear dependence to salinity. |
68 |
C the parameter SEAICE_freeze (=-1.96 by default). To use a |
C The flag below is now obsolete, but kept to ease the transition |
69 |
C simple linear dependence of the freezing point on salinity, |
C from the old constant freezing point default (see seaice_check.F). |
70 |
C set the following flag (pressure is assumed to have no effect, |
#define SEAICE_VARIABLE_FREEZING_POINT |
|
C which is a good assumption for the top 20 meters). With this |
|
|
C option defined the parameter SEAICE_freeze has no effect. |
|
|
#undef SEAICE_VARIABLE_FREEZING_POINT |
|
71 |
|
|
72 |
C-- By default the seaice model is discretized on a B-Grid (for |
C-- By default the seaice model is discretized on a B-Grid (for |
73 |
C historical reasons). Define the following flag to use a new |
C historical reasons). Define the following flag to use a new |
80 |
#define SEAICE_ALLOW_EVP |
#define SEAICE_ALLOW_EVP |
81 |
#endif /* SEAICE_CGRID */ |
#endif /* SEAICE_CGRID */ |
82 |
|
|
|
C-- Seaice flooding |
|
|
#define ALLOW_SEAICE_FLOODING |
|
|
|
|
83 |
C-- By default sea ice is fresh. Set following flag for salty ice. |
C-- By default sea ice is fresh. Set following flag for salty ice. |
84 |
#define SEAICE_VARIABLE_SALINITY |
#define SEAICE_VARIABLE_SALINITY |
85 |
|
|
86 |
c-- Enable modified sea-ice thermodynamic by Ian Fenty |
#endif /* ALLOW_SEAICE */ |
|
c-- Should improve adjoint, but doesnt work so far. |
|
|
#undef SEAICE_ALLOW_TD_IF |
|
|
|
|
87 |
#endif /* SEAICE_OPTIONS_H */ |
#endif /* SEAICE_OPTIONS_H */ |
88 |
|
|
89 |
CEH3 ;;; Local Variables: *** |
CEH3 ;;; Local Variables: *** |