11 |
#ifndef SEAICE_OPTIONS_H |
#ifndef SEAICE_OPTIONS_H |
12 |
#define SEAICE_OPTIONS_H |
#define SEAICE_OPTIONS_H |
13 |
#include "PACKAGES_CONFIG.h" |
#include "PACKAGES_CONFIG.h" |
|
#ifdef ALLOW_SEAICE |
|
|
|
|
14 |
#include "CPP_OPTIONS.h" |
#include "CPP_OPTIONS.h" |
15 |
|
|
16 |
C-- Write "text-plots" of certain fields in STDOUT for debugging. |
C-- Write "text-plots" of certain fields in STDOUT for debugging. |
23 |
C using variable SEAICEuseDYNAMICS. |
C using variable SEAICEuseDYNAMICS. |
24 |
#define SEAICE_ALLOW_DYNAMICS |
#define SEAICE_ALLOW_DYNAMICS |
25 |
|
|
|
C-- By default, pkg/seaice defines forcing variable internally, in |
|
|
C SEAICE_FFIELDS.h, and reads them in from files. When CPP option |
|
|
C SEAICE_EXTERNAL_FORCING is defined, the above forcing variables |
|
|
C are defined and provided by an external package. At present this |
|
|
C option is hardwired for pkg/exf and the variables are passed using |
|
|
C include file exf_fields.h. |
|
|
#define SEAICE_EXTERNAL_FORCING |
|
|
#ifdef SEAICE_EXTERNAL_FORCING |
|
|
#include "EXF_OPTIONS.h" |
|
|
#endif /* SEAICE_EXTERNAL_FORCING */ |
|
|
|
|
26 |
C-- By default, the sea-ice package uses its own integrated bulk |
C-- By default, the sea-ice package uses its own integrated bulk |
27 |
C formulae to compute fluxes (fu, fv, EmPmR, Qnet, and Qsw) over |
C formulae to compute fluxes (fu, fv, EmPmR, Qnet, and Qsw) over |
28 |
C open-ocean. When this flag is set, these variables are computed |
C open-ocean. When this flag is set, these variables are computed |
33 |
C-- By default, the sea-ice package uses 2-category thermodynamics. |
C-- By default, the sea-ice package uses 2-category thermodynamics. |
34 |
C When this flag is set, an 8-category calculation of ice |
C When this flag is set, an 8-category calculation of ice |
35 |
C thermodynamics is carried out in groatb.F |
C thermodynamics is carried out in groatb.F |
36 |
C !!! Note the pickup_seaice.* generated by this option differ !!! |
C Note the pickup_seaice.* generated by this option differ |
37 |
C !!! from those generated with the default 2-category model. !!! |
C from those generated with the default 2-category model. |
38 |
C !!! Therefore it is not possible to switch between the two !!! |
C Therefore it is not possible to switch between the two |
39 |
C !!! in the middle of an integration. !!! |
C in the middle of an integration. |
40 |
#undef SEAICE_MULTILEVEL |
#define SEAICE_MULTICATEGORY |
41 |
|
|
42 |
|
C-- By default for B-grid dynamics solver wind stress under sea-ice is |
43 |
|
C set to the same value as it would be if there was no sea-ice. |
44 |
|
C Define following CPP flag for B-grid ice-ocean stress coupling. |
45 |
|
#undef SEAICE_TEST_ICE_STRESS_1 |
46 |
|
|
47 |
|
C-- By default for B-grid dynamics solver surface tilt is obtained |
48 |
|
C indirectly via geostrophic velocities. Define following CPP |
49 |
|
C in order to ues ETAN instead. |
50 |
|
#undef EXPLICIT_SSH_SLOPE |
51 |
|
|
52 |
|
C-- By default the freezing point of water is set to the value of |
53 |
|
C the parameter SEAICE_freeze (=-1.96 by default). To use a |
54 |
|
C simple linear dependence of the freezing point on salinity, |
55 |
|
C set the following flag (pressure is assumed to have no effect, |
56 |
|
C which is a good assumption for the top 20 meters). With this |
57 |
|
C option defined the parameter SEAICE_freeze has no effect. |
58 |
|
#define SEAICE_VARIABLE_FREEZING_POINT |
59 |
|
|
60 |
|
C-- Allow SEAICEuseFlooding, which converts snow to ice if submerged. |
61 |
|
#define ALLOW_SEAICE_FLOODING |
62 |
|
|
63 |
|
C-- By default sea ice is fresh. Set following flag for salty ice. |
64 |
|
#define SEAICE_SALINITY |
65 |
|
|
66 |
|
C-- By default the seaice model is discretized on a B-Grid (for |
67 |
|
C historical reasons). Define the following flag to use a new |
68 |
|
C (not thoroughly) test version on a C-grid |
69 |
|
#define SEAICE_CGRID |
70 |
|
|
71 |
|
C-- Only for the C-grid version it is possible to enable EVP code by |
72 |
|
C defining the following flag |
73 |
|
#ifdef SEAICE_CGRID |
74 |
|
#undef SEAICE_ALLOW_EVP |
75 |
|
#endif /* SEAICE_CGRID */ |
76 |
|
|
77 |
|
C-- When set use MAX_HEFF to cap sea ice thickness in seaice_growth |
78 |
|
#define SEAICE_CAP_HEFF |
79 |
|
|
|
#endif /* ALLOW_SEAICE */ |
|
80 |
#endif /* SEAICE_OPTIONS_H */ |
#endif /* SEAICE_OPTIONS_H */ |
81 |
|
|
82 |
|
CEH3 ;;; Local Variables: *** |
83 |
|
CEH3 ;;; mode:fortran *** |
84 |
|
CEH3 ;;; End: *** |