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" |
12 |
|
|
13 |
C Despite the comments below, this package is currently configured by |
#ifdef ALLOW_AUTODIFF_TAMC |
14 |
C ECCO_CPPOPTIONS.h and so you should not customize this file. |
|
15 |
|
C When compile for AD mode, |
16 |
|
C this package is currently configured by ECCO_CPPOPTIONS.h |
17 |
|
C which is directly included in CPP_OPTIONS.h |
18 |
|
|
19 |
CPH >>>>>> THIS SHOULD BE INCLUDED BY CPP_OPTIONS.h <<<<<< |
#else /* ndef ALLOW_AUTODIFF_TAMC */ |
|
CPH >>>>>> TO AVOID ORDERING OF HEADERS TO MATTER <<<<<< |
|
|
CPH >>>>>> UNTIL WE DECIDE ON CONSISTENT CHANGE IN <<<<<< |
|
|
CPH >>>>>> POLICY <<<<<< |
|
|
CPH#include "ECCO_CPPOPTIONS.h" |
|
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. |
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 |
52 |
c |
c |
53 |
c >>> ATMOSPHERIC_LOADING <<< |
c >>> ATMOSPHERIC_LOADING <<< |
54 |
c If defined, atmospheric pressure can be read-in from files. |
c If defined, atmospheric pressure can be read-in from files. |
55 |
|
c WARNING: this flag is set (define/undef) in CPP_OPTIONS.h |
56 |
|
c and cannot be changed here (in EXF_OPTIONS) |
57 |
c |
c |
58 |
c >>> ALLOW_CLIMTEMP_RELAXATION <<< |
c >>> ICE_AREAMASK <<< |
59 |
c Allow the relaxation to a monthly climatology of potential |
c If defined, fractional ice-covered area MASK can be read-in from files. |
|
c temperature, e.g. the Levitus climatology. |
|
|
c |
|
|
c >>> ALLOW_CLIMSALT_RELAXATION <<< |
|
|
c Allow the relaxation to a monthly climatology of salinity, |
|
|
c e.g. the Levitus climatology. |
|
60 |
c |
c |
61 |
c >>> ALLOW_CLIMSST_RELAXATION <<< |
c >>> ALLOW_CLIMSST_RELAXATION <<< |
62 |
c Allow the relaxation to a monthly climatology of sea surface |
c Allow the relaxation to a monthly climatology of sea surface |
133 |
c |
c |
134 |
c ==================================================================== |
c ==================================================================== |
135 |
|
|
136 |
|
C Do more printout for the protocol file than usual. |
137 |
|
#undef EXF_VERBOSE |
138 |
|
|
139 |
|
C Bulk formulae related flags. |
140 |
|
#define ALLOW_ATM_TEMP |
141 |
|
#define ALLOW_ATM_WIND |
142 |
|
#define ALLOW_DOWNWARD_RADIATION |
143 |
|
#define ALLOW_RUNOFF |
144 |
|
#if (defined (ALLOW_ATM_TEMP) || \ |
145 |
|
defined (ALLOW_ATM_WIND)) |
146 |
|
# define ALLOW_BULKFORMULAE |
147 |
|
# undef ALLOW_BULK_LARGEYEAGER04 |
148 |
|
#endif |
149 |
|
|
150 |
|
C Relaxation to monthly climatologies. |
151 |
|
#define ALLOW_CLIMSST_RELAXATION |
152 |
|
#define ALLOW_CLIMSSS_RELAXATION |
153 |
|
|
154 |
|
C Use spatial interpolation to interpolate |
155 |
|
C forcing files from input grid to model grid. |
156 |
|
#undef USE_EXF_INTERPOLATION |
157 |
|
C runoff is a special case for which one might want to bypass |
158 |
|
C interpolation from an input grid |
159 |
|
#ifdef USE_EXF_INTERPOLATION |
160 |
|
# undef USE_NO_INTERP_RUNOFF |
161 |
|
#endif |
162 |
|
|
163 |
|
#define EXF_INTERP_USE_DYNALLOC |
164 |
|
#if ( defined (EXF_INTERP_USE_DYNALLOC) & defined (USING_THREADS) ) |
165 |
|
# define EXF_IREAD_USE_GLOBAL_POINTER |
166 |
|
#endif |
167 |
|
|
168 |
|
#endif /* ndef ALLOW_AUTODIFF_TAMC */ |
169 |
#endif /* ALLOW_EXF */ |
#endif /* ALLOW_EXF */ |
170 |
#endif /* EXF_OPTIONS_H */ |
#endif /* EXF_OPTIONS_H */ |