| 1 | dimitri | 1.18 | C $Header: /u/gcmpack/MITgcm_contrib/high_res_cube/code-mods/SEAICE_OPTIONS.h,v 1.17 2010/07/28 22:48:02 dimitri Exp $ | 
| 2 | dimitri | 1.1 |  | 
| 3 |  |  | C     /==========================================================\ | 
| 4 |  |  | C     | SEAICE_OPTIONS.h                                         | | 
| 5 |  |  | C     | o CPP options file for sea ice package.                  | | 
| 6 |  |  | C     |==========================================================| | 
| 7 |  |  | C     | Use this file for selecting options within the sea ice   | | 
| 8 |  |  | C     | package.                                                 | | 
| 9 |  |  | C     \==========================================================/ | 
| 10 |  |  |  | 
| 11 |  |  | #ifndef SEAICE_OPTIONS_H | 
| 12 |  |  | #define SEAICE_OPTIONS_H | 
| 13 |  |  | #include "PACKAGES_CONFIG.h" | 
| 14 |  |  | #include "CPP_OPTIONS.h" | 
| 15 |  |  |  | 
| 16 |  |  | C--   Write "text-plots" of certain fields in STDOUT for debugging. | 
| 17 |  |  | #undef SEAICE_DEBUG | 
| 18 |  |  |  | 
| 19 |  |  | C--   Allow sea-ice dynamic code. | 
| 20 |  |  | C     This option is provided to allow use of TAMC | 
| 21 |  |  | C     on the thermodynamics component of the code only. | 
| 22 |  |  | C     Sea-ice dynamics can also be turned off at runtime | 
| 23 |  |  | C     using variable SEAICEuseDYNAMICS. | 
| 24 | dimitri | 1.3 | #define SEAICE_ALLOW_DYNAMICS | 
| 25 | dimitri | 1.1 |  | 
| 26 |  |  | 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 | 
| 28 |  |  | C     open-ocean.  When this flag is set, these variables are computed | 
| 29 |  |  | C     in a separate external package, for example, pkg/exf, and then | 
| 30 |  |  | C     modified for sea-ice effects by pkg/seaice. | 
| 31 | dimitri | 1.14 | #define SEAICE_EXTERNAL_FLUXES | 
| 32 | dimitri | 1.1 |  | 
| 33 |  |  | C--   By default, the sea-ice package uses 2-category thermodynamics. | 
| 34 |  |  | C     When this flag is set, an 8-category calculation of ice | 
| 35 |  |  | C     thermodynamics is carried out in groatb.F | 
| 36 | dimitri | 1.4 | C     Note the pickup_seaice.* generated by this option differ | 
| 37 |  |  | C     from those generated with the default 2-category model. | 
| 38 |  |  | C     Therefore it is not possible to switch between the two | 
| 39 |  |  | C     in the middle of an integration. | 
| 40 | dimitri | 1.11 | #define SEAICE_MULTICATEGORY | 
| 41 | dimitri | 1.1 |  | 
| 42 | dimitri | 1.7 | C--   By default the freezing point of water is set to the value of | 
| 43 |  |  | C     the parameter SEAICE_freeze (=-1.96 by default). To use a | 
| 44 |  |  | C     simple linear dependence of the freezing point on salinity, | 
| 45 |  |  | C     set the following flag (pressure is assumed to have no effect, | 
| 46 |  |  | C     which is a good assumption for the top 20 meters). With this | 
| 47 |  |  | C     option defined the parameter SEAICE_freeze has no effect. | 
| 48 | dimitri | 1.11 | #define SEAICE_VARIABLE_FREEZING_POINT | 
| 49 | dimitri | 1.7 |  | 
| 50 | dimitri | 1.8 | C--   Allow SEAICEuseFlooding, which converts snow to ice if submerged. | 
| 51 |  |  | #define ALLOW_SEAICE_FLOODING | 
| 52 |  |  |  | 
| 53 | dimitri | 1.13 | C--   By default sea ice is fresh.  Set following flag for salty ice. | 
| 54 | dimitri | 1.18 | #define SEAICE_VARIABLE_SALINITY | 
| 55 | dimitri | 1.13 |  | 
| 56 | dimitri | 1.17 | C--   Track sea ice age. | 
| 57 |  |  | #undef SEAICE_AGE | 
| 58 |  |  |  | 
| 59 | dimitri | 1.7 | C--   By default the seaice model is discretized on a B-Grid (for | 
| 60 |  |  | C     historical reasons). Define the following flag to use a new | 
| 61 |  |  | C     (not thoroughly) test version on a C-grid | 
| 62 |  |  | #define SEAICE_CGRID | 
| 63 |  |  |  | 
| 64 | dimitri | 1.17 | C--   Only for the C-grid version it is possible to | 
| 65 | dimitri | 1.7 | #ifdef SEAICE_CGRID | 
| 66 | dimitri | 1.17 | C     enable EVP code by defining the following flag | 
| 67 |  |  | # undef SEAICE_ALLOW_EVP | 
| 68 |  |  | # ifdef SEAICE_ALLOW_EVP | 
| 69 |  |  | C--   When set use SEAICE_zetaMin and SEAICE_evpDampC to limit | 
| 70 |  |  | C--   viscosities from below and above in seaice_evp | 
| 71 |  |  | C--   not necessary, and not recommended | 
| 72 |  |  | #  undef SEAICE_ALLOW_CLIPZETA | 
| 73 |  |  | # endif /* SEAICE_ALLOW_EVP */ | 
| 74 |  |  | C     allow the truncated ellipse rheology (runtime flag SEAICEuseTEM) | 
| 75 |  |  | # undef SEAICE_ALLOW_TEM | 
| 76 |  |  | #else /* not SEAICE_CGRID, but old B-grid */ | 
| 77 |  |  | C--   By default for B-grid dynamics solver wind stress under sea-ice is | 
| 78 |  |  | C     set to the same value as it would be if there was no sea-ice. | 
| 79 |  |  | C     Define following CPP flag for B-grid ice-ocean stress coupling. | 
| 80 |  |  | # define SEAICE_BICE_STRESS | 
| 81 |  |  |  | 
| 82 |  |  | C--   By default for B-grid dynamics solver surface tilt is obtained | 
| 83 |  |  | C     indirectly via geostrophic velocities. Define following CPP | 
| 84 |  |  | C     in order to use ETAN instead. | 
| 85 |  |  | # define EXPLICIT_SSH_SLOPE | 
| 86 | dimitri | 1.7 | #endif /* SEAICE_CGRID */ | 
| 87 |  |  |  | 
| 88 | dimitri | 1.12 | C--   When set use MAX_HEFF to cap sea ice thickness in seaice_growth | 
| 89 |  |  | #define SEAICE_CAP_HEFF | 
| 90 | dimitri | 1.17 | C--   When set use SEAICE_clipVelocties = .true., to clip U/VICE at 40cm/s, | 
| 91 |  |  | C--   not recommended | 
| 92 |  |  | #undef SEAICE_ALLOW_CLIPVELS | 
| 93 | dimitri | 1.12 |  | 
| 94 | dimitri | 1.1 | #endif /* SEAICE_OPTIONS_H */ | 
| 95 | dimitri | 1.7 |  | 
| 96 |  |  | CEH3 ;;; Local Variables: *** | 
| 97 |  |  | CEH3 ;;; mode:fortran *** | 
| 98 |  |  | CEH3 ;;; End: *** |