16 |
C-- Write "text-plots" of certain fields in STDOUT for debugging. |
C-- Write "text-plots" of certain fields in STDOUT for debugging. |
17 |
#undef SEAICE_DEBUG |
#undef SEAICE_DEBUG |
18 |
|
|
19 |
|
C-- This flag is meant for options that make more sense than the |
20 |
|
C original options but that break the verification experiments. |
21 |
|
#define SEAICE_BREAKS_VERIFICATION |
22 |
|
|
23 |
C-- Allow sea-ice dynamic code. |
C-- Allow sea-ice dynamic code. |
24 |
C This option is provided to allow use of TAMC |
C This option is provided to allow use of TAMC |
25 |
C on the thermodynamics component of the code only. |
C on the thermodynamics component of the code only. |
27 |
C using variable SEAICEuseDYNAMICS. |
C using variable SEAICEuseDYNAMICS. |
28 |
#define SEAICE_ALLOW_DYNAMICS |
#define SEAICE_ALLOW_DYNAMICS |
29 |
|
|
|
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" |
|
30 |
C-- By default, the sea-ice package uses its own integrated bulk |
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 |
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 |
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 |
C in a separate external package, for example, pkg/exf, and then |
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 |
|
|
|
|
#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 */ |
|
36 |
|
|
37 |
C-- By default, the sea-ice package uses 2-category thermodynamics. |
C-- By default, the sea-ice package uses 2-category thermodynamics. |
38 |
C When this flag is set, an 8-category calculation of ice |
C When this flag is set, an 8-category calculation of ice |