/[MITgcm]/MITgcm/verification/1D_ocean_ice_column/code_ad/SEAICE_OPTIONS.h
ViewVC logotype

Annotation of /MITgcm/verification/1D_ocean_ice_column/code_ad/SEAICE_OPTIONS.h

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


Revision 1.8 - (hide annotations) (download)
Thu Feb 9 03:46:49 2012 UTC (12 years, 2 months ago) by gforget
Branch: MAIN
Changes since 1.7: +1 -6 lines
File MIME type: text/plain
- rm retired CPPs.

1 gforget 1.8 C $Header: /u/gcmpack/MITgcm/verification/1D_ocean_ice_column/code_ad/SEAICE_OPTIONS.h,v 1.7 2012/02/07 18:48:24 gforget Exp $
2 ifenty 1.1 C $Name: $
3    
4 jmc 1.6 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.6 #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.6 #undef SEAICE_SIMPLIFY_GROWTH_ADJ
47 ifenty 1.1
48     #undef SEAICE_ADD_SUBLIMATION_TO_FWBUDGET
49    
50     C-- By default cdm wind stress under sea-ice is set to the
51     C same value as it would be if there was no sea-ice.
52     C This is a placeholder until a more physically-sensible
53     C stable solution is developed. Apparently ocean stress
54     C that is based on sea-ice velocity can cause trouble in
55     C Arctic Ocean configurations. This temporary solution
56     C also corresponds to that adopted by CCSM-2. For the
57     C adventurous user who requires ice-modified stress,
58     C following options are available.
59     #undef SEAICE_ORIGINAL_BAD_ICE_STRESS
60     #undef SEAICE_TEST_ICE_STRESS_1
61    
62     C-- By default the freezing point of water is set to the value of
63     C the parameter SEAICE_freeze (=-1.96 by default). To use a
64     C simple linear dependence of the freezing point on salinity,
65     C set the following flag (pressure is assumed to have no effect,
66     C which is a good assumption for the top 20 meters). With this
67     C option defined the parameter SEAICE_freeze has no effect.
68     #undef SEAICE_VARIABLE_FREEZING_POINT
69    
70     C-- By default the seaice model is discretized on a B-Grid (for
71     C historical reasons). Define the following flag to use a new
72     C (not thoroughly) test version on a C-grid
73     #define SEAICE_CGRID
74    
75     C-- Only for the C-grid version it is possible to enable EVP code by
76     C defining the following flag
77     #ifdef SEAICE_CGRID
78     #define SEAICE_ALLOW_EVP
79     #endif /* SEAICE_CGRID */
80    
81     C-- Seaice flooding
82     #define ALLOW_SEAICE_FLOODING
83    
84     C-- By default sea ice is fresh. Set following flag for salty ice.
85 ifenty 1.2 #define SEAICE_VARIABLE_SALINITY
86 ifenty 1.1
87     c-- Enable modified sea-ice thermodynamic by Ian Fenty
88     c-- Should improve adjoint, but doesnt work so far.
89     #undef SEAICE_ALLOW_TD_IF
90    
91 jmc 1.6 #endif /* ALLOW_SEAICE */
92 ifenty 1.1 #endif /* SEAICE_OPTIONS_H */
93    
94     CEH3 ;;; Local Variables: ***
95     CEH3 ;;; mode:fortran ***
96     CEH3 ;;; End: ***

  ViewVC Help
Powered by ViewVC 1.1.22