34 |
C modified for sea-ice effects by pkg/seaice. |
C modified for sea-ice effects by pkg/seaice. |
35 |
#define SEAICE_EXTERNAL_FLUXES |
#define SEAICE_EXTERNAL_FLUXES |
36 |
|
|
37 |
C-- The actual number of ice categories used to solve for seaice flux is |
C-- This CPP flag has been retired. The number of ice categories |
38 |
C now a run-time parameter (SEAICE_multDim). |
C used to solve for seaice flux is now specified by run-time |
39 |
C This CPP-flag will be completely removed soon (no longer in main code); |
C parameter SEAICE_multDim. |
40 |
C it is just used to set default number of categories, i.e., =1 if undef, |
C Note: be aware of pickup_seaice.* compatibility issues when |
41 |
C or =MULTDIM if defined (MULTDIM=7 in default SEAICE_SIZE.h). |
C restarting a simulation with a different number of categories. |
|
C Note: be aware of pickup_seaice.* compatibility issues when restarting |
|
|
C a simulation with a different number of categories. |
|
42 |
c#define SEAICE_MULTICATEGORY |
c#define SEAICE_MULTICATEGORY |
43 |
|
|
44 |
C-- run with sea Ice Thickness Distribution (ITD); |
C-- run with sea Ice Thickness Distribution (ITD); |
45 |
C set number of categories (nITD) in SEAICE_SIZE.h |
C set number of categories (nITD) in SEAICE_SIZE.h |
46 |
#undef SEAICE_ITD |
#undef SEAICE_ITD |
47 |
|
|
|
C-- SEAICE_ITD replaces SEAICE_MULTICATEGORY |
|
|
#ifdef SEAICE_ITD |
|
|
#undef SEAICE_MULTICATEGORY |
|
|
#endif |
|
|
|
|
|
C-- Use the Old version of seaice_growth (close to cvs version 1.70) |
|
|
C otherwise, use the merged version (with some of Ian Fenty s code) |
|
|
#undef SEAICE_GROWTH_LEGACY |
|
|
|
|
48 |
C-- Since the missing sublimation term is now included |
C-- Since the missing sublimation term is now included |
49 |
C this flag is needed for backward compatibility |
C this flag is needed for backward compatibility |
50 |
#undef SEAICE_DISABLE_SUBLIM |
#undef SEAICE_DISABLE_SUBLIM |
74 |
#ifdef SEAICE_CGRID |
#ifdef SEAICE_CGRID |
75 |
C enable JFNK code by defining the following flag |
C enable JFNK code by defining the following flag |
76 |
# define SEAICE_ALLOW_JFNK |
# define SEAICE_ALLOW_JFNK |
77 |
|
C enable LSR to use global (multi-tile) tri-diagonal solver |
78 |
|
# undef SEAICE_GLOBAL_3DIAG_SOLVER |
79 |
C enable EVP code by defining the following flag |
C enable EVP code by defining the following flag |
80 |
# define SEAICE_ALLOW_EVP |
# define SEAICE_ALLOW_EVP |
81 |
# ifdef SEAICE_ALLOW_EVP |
# ifdef SEAICE_ALLOW_EVP |
89 |
# undef SEAICE_ZETA_SMOOTHREG |
# undef SEAICE_ZETA_SMOOTHREG |
90 |
C allow the truncated ellipse rheology (runtime flag SEAICEuseTEM) |
C allow the truncated ellipse rheology (runtime flag SEAICEuseTEM) |
91 |
# undef SEAICE_ALLOW_TEM |
# undef SEAICE_ALLOW_TEM |
92 |
|
C Use LSR vector code; not useful on non-vector machines, because it |
93 |
|
C slows down convergence considerably, but the extra iterations are |
94 |
|
C more than made up by the much faster code on vector machines. For |
95 |
|
C the only regularly test vector machine these flags a specified |
96 |
|
C in the build options file SUPER-UX_SX-8_sxf90_awi, so that we comment |
97 |
|
C them out here. |
98 |
|
C# define SEAICE_VECTORIZE_LSR |
99 |
|
C# ifdef SEAICE_VECTORIZE_LSR |
100 |
|
C Use modified LSR vector code that splits vector loop into two with |
101 |
|
C step size 2. This modification improves the convergence of the vector |
102 |
|
C code dramatically, so that is may actually be useful in general, but |
103 |
|
C that needs to be tested. |
104 |
|
C# define SEAICE_VECTORIZE_LSR_ZEBRA |
105 |
|
C# endif |
106 |
#else /* not SEAICE_CGRID, but old B-grid */ |
#else /* not SEAICE_CGRID, but old B-grid */ |
107 |
C-- By default for B-grid dynamics solver wind stress under sea-ice is |
C-- By default for B-grid dynamics solver wind stress under sea-ice is |
108 |
C set to the same value as it would be if there was no sea-ice. |
C set to the same value as it would be if there was no sea-ice. |
119 |
# undef SEAICE_LSRBNEW |
# undef SEAICE_LSRBNEW |
120 |
#endif /* SEAICE_CGRID */ |
#endif /* SEAICE_CGRID */ |
121 |
|
|
|
C-- When set use MAX_HEFF to cap seaice thickness in seaice_growth; |
|
|
C currently only relevant for SEAICE_GROWTH_LEGACY |
|
|
#undef SEAICE_CAP_HEFF |
|
122 |
C-- When set limit the Ice-Loading to mass of 1/5 of Surface ocean grid-box |
C-- When set limit the Ice-Loading to mass of 1/5 of Surface ocean grid-box |
123 |
#undef SEAICE_CAP_ICELOAD |
#undef SEAICE_CAP_ICELOAD |
124 |
C-- When set use SEAICE_clipVelocties = .true., to clip U/VICE at 40cm/s, |
C-- When set use SEAICE_clipVelocties = .true., to clip U/VICE at 40cm/s, |