5 |
#define EXF_OPTIONS_H |
#define EXF_OPTIONS_H |
6 |
#include "PACKAGES_CONFIG.h" |
#include "PACKAGES_CONFIG.h" |
7 |
#include "AD_CONFIG.h" |
#include "AD_CONFIG.h" |
8 |
|
#include "CPP_OPTIONS.h" |
9 |
|
|
10 |
#ifdef ALLOW_EXF |
#ifdef ALLOW_EXF |
11 |
|
C Package-specific Options & Macros go here |
|
#include "CPP_OPTIONS.h" |
|
12 |
|
|
13 |
#ifdef ALLOW_AUTODIFF_TAMC |
#ifdef ALLOW_AUTODIFF_TAMC |
14 |
|
|
20 |
|
|
21 |
C CPP flags controlling which code is included in the files that |
C CPP flags controlling which code is included in the files that |
22 |
C will be compiled. |
C will be compiled. |
|
C |
|
23 |
|
|
24 |
c pkg/exf CPP options: |
c pkg/exf CPP options: |
25 |
c -------------------- |
c -------------------- |
26 |
c |
c |
27 |
c >>> EXF_VERBOSE <<< |
c > ( EXF_VERBOSE ) < replaced with run-time, logical parameter "exf_verbose". |
|
c Do a bit more printout for the log file than usual. |
|
28 |
c |
c |
29 |
c >>> ALLOW_ATM_WIND <<< |
c >>> ALLOW_ATM_WIND <<< |
30 |
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. |
135 |
c |
c |
136 |
c ==================================================================== |
c ==================================================================== |
137 |
|
|
|
C Do more printout for the protocol file than usual. |
|
|
#undef EXF_VERBOSE |
|
|
|
|
138 |
C Bulk formulae related flags. |
C Bulk formulae related flags. |
139 |
#define ALLOW_ATM_TEMP |
#define ALLOW_ATM_TEMP |
140 |
#define ALLOW_ATM_WIND |
#define ALLOW_ATM_WIND |
141 |
#define ALLOW_DOWNWARD_RADIATION |
#define ALLOW_DOWNWARD_RADIATION |
142 |
#define ALLOW_RUNOFF |
#define ALLOW_RUNOFF |
143 |
#if (defined (ALLOW_ATM_TEMP) || \ |
#if (defined (ALLOW_ATM_TEMP) || defined (ALLOW_ATM_WIND)) |
|
defined (ALLOW_ATM_WIND)) |
|
144 |
# define ALLOW_BULKFORMULAE |
# define ALLOW_BULKFORMULAE |
145 |
# undef ALLOW_BULK_LARGEYEAGER04 |
# undef ALLOW_BULK_LARGEYEAGER04 |
146 |
#endif |
#endif |
150 |
# undef ALLOW_ZENITHANGLE |
# undef ALLOW_ZENITHANGLE |
151 |
#endif |
#endif |
152 |
|
|
153 |
|
C Use ocean_emissivity*lwdwon in lwFlux. This flag should be define |
154 |
|
C unless to reproduce old results (obtained with inconsistent old code) |
155 |
|
#ifdef ALLOW_DOWNWARD_RADIATION |
156 |
|
# define EXF_LWDOWN_WITH_EMISSIVITY |
157 |
|
#endif |
158 |
|
|
159 |
C Relaxation to monthly climatologies. |
C Relaxation to monthly climatologies. |
160 |
#define ALLOW_CLIMSST_RELAXATION |
#define ALLOW_CLIMSST_RELAXATION |
161 |
#define ALLOW_CLIMSSS_RELAXATION |
#define ALLOW_CLIMSSS_RELAXATION |
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 |
C for interpolated vector fields, rotate towards model-grid axis |
167 |
C interpolation from an input grid |
C using old rotation formulae (instead of grid-angles) |
168 |
#ifdef USE_EXF_INTERPOLATION |
#undef EXF_USE_OLD_VEC_ROTATION |
169 |
# undef USE_NO_INTERP_RUNOFF |
C for interpolation around N & S pole, use the old formulation |
170 |
#endif |
C (no pole symmetry, single vector-comp interp, reset to 0 zonal-comp @ N.pole) |
171 |
|
#undef EXF_USE_OLD_INTERP_POLE |
172 |
|
|
173 |
#define EXF_INTERP_USE_DYNALLOC |
#define EXF_INTERP_USE_DYNALLOC |
174 |
#if ( defined (EXF_INTERP_USE_DYNALLOC) & defined (USING_THREADS) ) |
#if ( defined (EXF_INTERP_USE_DYNALLOC) && defined (USING_THREADS) ) |
175 |
# define EXF_IREAD_USE_GLOBAL_POINTER |
# define EXF_IREAD_USE_GLOBAL_POINTER |
176 |
#endif |
#endif |
177 |
|
|