17 |
C-- Write "text-plots" of certain fields in STDOUT for debugging. |
C-- Write "text-plots" of certain fields in STDOUT for debugging. |
18 |
#undef SEAICE_DEBUG |
#undef SEAICE_DEBUG |
19 |
|
|
20 |
|
C-- This flag is meant for options that make more sense than the |
21 |
|
C original options but that break the verification experiments. |
22 |
|
#undef SEAICE_BREAKS_VERIFICATION |
23 |
|
|
24 |
C-- Allow sea-ice dynamic code. |
C-- Allow sea-ice dynamic code. |
25 |
C This option is provided to allow use of TAMC |
C This option is provided to allow use of TAMC |
26 |
C on the thermodynamics component of the code only. |
C on the thermodynamics component of the code only. |
28 |
C using variable SEAICEuseDYNAMICS. |
C using variable SEAICEuseDYNAMICS. |
29 |
#define SEAICE_ALLOW_DYNAMICS |
#define SEAICE_ALLOW_DYNAMICS |
30 |
|
|
|
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 (=> cannot be defined without pkg/EXF ) |
|
|
#define SEAICE_EXTERNAL_FORCING |
|
|
#ifndef ALLOW_EXF |
|
|
# undef SEAICE_EXTERNAL_FORCING |
|
|
#endif |
|
|
|
|
|
#ifdef SEAICE_EXTERNAL_FORCING |
|
|
# include "EXF_OPTIONS.h" |
|
31 |
C-- By default, the sea-ice package uses its own integrated bulk |
C-- By default, the sea-ice package uses its own integrated bulk |
32 |
C formulae to compute fluxes (fu, fv, EmPmR, Qnet, and Qsw) over |
C formulae to compute fluxes (fu, fv, EmPmR, Qnet, and Qsw) over |
33 |
C open-ocean. When this flag is set, these variables are computed |
C open-ocean. When this flag is set, these variables are computed |
34 |
C in a separate external package, for example, pkg/exf, and then |
C in a separate external package, for example, pkg/exf, and then |
35 |
C modified for sea-ice effects by pkg/seaice. |
C modified for sea-ice effects by pkg/seaice. |
36 |
# define SEAICE_EXTERNAL_FLUXES |
#define SEAICE_EXTERNAL_FLUXES |
|
|
|
|
#else /* SEAICE_EXTERNAL_FORCING */ |
|
|
C- current implementation requires those options to be set: |
|
|
# undef SEAICE_EXTERNAL_FLUXES |
|
|
# define ALLOW_ATM_TEMP |
|
|
# define ALLOW_DOWNWARD_RADIATION |
|
|
# define ALLOW_RUNOFF |
|
|
|
|
|
#endif /* SEAICE_EXTERNAL_FORCING */ |
|
|
|
|
|
#ifdef ALLOW_OBCS |
|
|
C- OBCS information is needed to define the correct sea ice mask. |
|
|
#include "OBCS_OPTIONS.h" |
|
|
#endif /* ALLOW_OBCS */ |
|
37 |
|
|
38 |
C-- By default, the sea-ice package uses 2-category thermodynamics. |
C-- By default, the sea-ice package uses 2-category thermodynamics. |
39 |
C When this flag is set, an 8-category calculation of ice |
C When this flag is set, an 8-category calculation of ice |
63 |
#undef SEAICE_VARIABLE_FREEZING_POINT |
#undef SEAICE_VARIABLE_FREEZING_POINT |
64 |
|
|
65 |
C-- Allow SEAICEuseFlooding, which converts snow to ice if submerged. |
C-- Allow SEAICEuseFlooding, which converts snow to ice if submerged. |
66 |
#undef ALLOW_SEAICE_FLOODING |
#define ALLOW_SEAICE_FLOODING |
67 |
|
|
68 |
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. |
69 |
#define SEAICE_SALINITY |
#define SEAICE_SALINITY |