1 |
C $Header: /u/u3/gcmpack/MITgcm/verification/lab_sea/code/SEAICE_OPTIONS.h,v 1.4 2003/10/09 04:19:31 edhill Exp $ |
2 |
|
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. Sea ice model is enabled with ALLOW_SEAICE in | |
9 |
C | CPP_OPTIONS.h | |
10 |
C \==========================================================/ |
11 |
|
12 |
#ifndef SEAICE_OPTIONS_H |
13 |
#define SEAICE_OPTIONS_H |
14 |
#include "PACKAGES_CONFIG.h" |
15 |
#ifdef ALLOW_SEAICE |
16 |
|
17 |
#include "CPP_OPTIONS.h" |
18 |
|
19 |
C-- Write "text-plots" of certain fields in STDOUT for debugging. |
20 |
#undef SEAICE_DEBUG |
21 |
|
22 |
C-- Allow sea-ice dynamic code. |
23 |
C This option is provided to allow use of TAMC |
24 |
C on the thermodynamics component of the code only. |
25 |
C Sea-ice dynamics can also be turned off at runtime |
26 |
C using variable SEAICEuseDYNAMICS. |
27 |
#define SEAICE_ALLOW_DYNAMICS |
28 |
|
29 |
C-- By default, pkg/seaice defines forcing variable internally, in |
30 |
C SEAICE_FFIELDS.h, and reads them in from files. When CPP option |
31 |
C SEAICE_EXTERNAL_FORCING is defined, the above forcing variables |
32 |
C are defined and provided by an external package. At present this |
33 |
C option is hardwired for pkg/exf and the variables are passed using |
34 |
C include file exf_fields.h. |
35 |
#define SEAICE_EXTERNAL_FORCING |
36 |
|
37 |
C-- By default, the sea-ice package uses its own integrated bulk |
38 |
C formulae to compute fluxes (fu, fv, EmPmR, Qnet, and Qsw) over |
39 |
C open-ocean. When this flag is set, these variables are computed |
40 |
C in a separate external package, for example, pkg/exf, and then |
41 |
C modified for sea-ice effects by pkg/seaice. |
42 |
#undef SEAICE_EXTERNAL_FLUXES |
43 |
|
44 |
C-- This include is necessary because of awkward dependancies with pkg/exf |
45 |
#define ALLOW_EXF |
46 |
#include "EXF_OPTIONS.h" |
47 |
|
48 |
#endif /* ALLOW_SEAICE */ |
49 |
#endif /* SEAICE_OPTIONS_H */ |