4 |
#ifndef EXF_OPTIONS_H |
#ifndef EXF_OPTIONS_H |
5 |
#define EXF_OPTIONS_H |
#define EXF_OPTIONS_H |
6 |
#include "PACKAGES_CONFIG.h" |
#include "PACKAGES_CONFIG.h" |
7 |
|
#include "AD_CONFIG.h" |
8 |
|
|
9 |
#ifdef ALLOW_EXF |
#ifdef ALLOW_EXF |
10 |
|
|
11 |
#include "CPP_OPTIONS.h" |
#include "CPP_OPTIONS.h" |
25 |
c pkg/exf CPP options: |
c pkg/exf CPP options: |
26 |
c -------------------- |
c -------------------- |
27 |
c |
c |
|
c >>> INCLUDE_EXTERNAL_FORCING_PACKAGE <<< |
|
|
c Include this package into the setup. |
|
|
c |
|
28 |
c >>> EXF_VERBOSE <<< |
c >>> EXF_VERBOSE <<< |
29 |
c Do a bit more printout for the log file than usual. |
c Do a bit more printout for the log file than usual. |
30 |
c |
c |
31 |
c >>> ALLOW_ATM_WIND <<< |
c >>> ALLOW_ATM_WIND <<< |
32 |
c If defined, 10-m wind fields can be read-in from files. |
c If defined, 10-m wind fields can be read-in from files. |
33 |
c |
c |
34 |
c >>> ALLOW_ATM_TEMP <<< |
c >>> ALLOW_ATM_TEMP <<< |
35 |
c If defined, atmospheric temperature and specific |
c If defined, atmospheric temperature and specific |
36 |
c humidity fields can be read-in from files. |
c humidity fields can be read-in from files. |
37 |
c |
c |
38 |
c >>> ALLOW_DOWNWARD_RADIATION <<< |
c >>> ALLOW_DOWNWARD_RADIATION <<< |
39 |
c If defined, downward long-wave and short-wave radiation |
c If defined, downward long-wave and short-wave radiation |
40 |
c can be read-in form files or computed from lwflux and swflux. |
c can be read-in form files or computed from lwflux and swflux. |
41 |
c |
c |
42 |
|
c >>> ALLOW_ZENITHANGLE <<< |
43 |
|
c If defined, ocean albedo varies with the zenith angle, and |
44 |
|
c incoming fluxes at the top of the atmosphere are computed |
45 |
|
c |
46 |
c >>> ALLOW_BULKFORMULAE <<< |
c >>> ALLOW_BULKFORMULAE <<< |
47 |
c Allows the use of bulk formulae in order to estimate |
c Allows the use of bulk formulae in order to estimate |
48 |
c turbulent and radiative fluxes at the ocean's surface. |
c turbulent and radiative fluxes at the ocean surface. |
49 |
c |
c |
50 |
c >>> EXF_READ_EVAP <<< |
c >>> EXF_READ_EVAP <<< |
51 |
c If defined, evaporation fields are read-in, rather than |
c If defined, evaporation fields are read-in, rather than |
52 |
c computed from atmospheric state. |
c computed from atmospheric state. |
53 |
c |
c |
54 |
c >>> ALLOW_RUNOFF <<< |
c >>> ALLOW_RUNOFF <<< |
55 |
c If defined, river and glacier runoff can be read-in from files. |
c If defined, river and glacier runoff can be read-in from files. |
56 |
c |
c |
57 |
c >>> ATMOSPHERIC_LOADING <<< |
c >>> ATMOSPHERIC_LOADING <<< |
58 |
c If defined, atmospheric pressure can be read-in from files. |
c If defined, atmospheric pressure can be read-in from files. |
59 |
c WARNING: this flag is set (define/undef) in CPP_OPTIONS.h |
c WARNING: this flag is set (define/undef) in CPP_OPTIONS.h |
60 |
c and cannot be changed here (in EXF_OPTIONS) |
c and cannot be changed here (in EXF_OPTIONS) |
61 |
c |
c |
62 |
|
c >>> ICE_AREAMASK <<< |
63 |
|
c If defined, fractional ice-covered area MASK can be read-in from files. |
64 |
|
c |
65 |
c >>> ALLOW_CLIMSST_RELAXATION <<< |
c >>> ALLOW_CLIMSST_RELAXATION <<< |
66 |
c Allow the relaxation to a monthly climatology of sea surface |
c Allow the relaxation to a monthly climatology of sea surface |
67 |
c temperature, e.g. the Reynolds climatology. |
c temperature, e.g. the Reynolds climatology. |
151 |
# undef ALLOW_BULK_LARGEYEAGER04 |
# undef ALLOW_BULK_LARGEYEAGER04 |
152 |
#endif |
#endif |
153 |
|
|
154 |
|
C Zenith Angle/Albedo related flags. |
155 |
|
#ifdef ALLOW_DOWNWARD_RADIATION |
156 |
|
# undef ALLOW_ZENITHANGLE |
157 |
|
#endif |
158 |
|
|
159 |
C Relaxation to monthly climatologies. |
C Relaxation to monthly climatologies. |
160 |
#undef ALLOW_CLIMSST_RELAXATION |
#define ALLOW_CLIMSST_RELAXATION |
161 |
#undef ALLOW_CLIMSSS_RELAXATION |
#define ALLOW_CLIMSSS_RELAXATION |
162 |
|
|
163 |
C Use spatial interpolation to interpolate |
C Use spatial interpolation to interpolate |
164 |
C forcing files from input grid to model grid. |
C forcing files from input grid to model grid. |
165 |
#define USE_EXF_INTERPOLATION |
#define USE_EXF_INTERPOLATION |
166 |
|
C runoff is a special case for which one might want to bypass |
167 |
C Subtract UVEL and VVEL from UWIND and VWIND. |
C interpolation from an input grid |
168 |
#define EXF_SUBTRACT_UVVEL_FROM_UVWIND |
#ifdef USE_EXF_INTERPOLATION |
169 |
|
# undef USE_NO_INTERP_RUNOFF |
170 |
|
#endif |
171 |
|
|
172 |
#define EXF_INTERP_USE_DYNALLOC |
#define EXF_INTERP_USE_DYNALLOC |
173 |
#if ( defined (EXF_INTERP_USE_DYNALLOC) & defined (USING_THREADS) ) |
#if ( defined (EXF_INTERP_USE_DYNALLOC) & defined (USING_THREADS) ) |