1 |
cnh |
1.6 |
C $Header: /u/gcmpack/MITgcm/pkg/exf/EXF_OPTIONS.h,v 1.5 2004/03/17 23:08:09 dimitri Exp $ |
2 |
edhill |
1.2 |
C $Name: $ |
3 |
|
|
|
4 |
|
|
#ifndef EXF_OPTIONS_H |
5 |
|
|
#define EXF_OPTIONS_H |
6 |
|
|
#include "PACKAGES_CONFIG.h" |
7 |
|
|
#ifdef ALLOW_EXF |
8 |
|
|
|
9 |
|
|
#include "CPP_OPTIONS.h" |
10 |
|
|
|
11 |
|
|
C Despite the comments below, this package is currently configured by |
12 |
|
|
C ECCO_CPPOPTIONS.h and so you should not customize this file. |
13 |
heimbach |
1.4 |
|
14 |
|
|
CPH >>>>>> THIS SHOULD BE INCLUDED BY CPP_OPTIONS.h <<<<<< |
15 |
|
|
CPH >>>>>> TO AVOID ORDERING OF HEADERS TO MATTER <<<<<< |
16 |
|
|
CPH >>>>>> UNTIL WE DECIDE ON CONSISTENT CHANGE IN <<<<<< |
17 |
|
|
CPH >>>>>> POLICY <<<<<< |
18 |
|
|
CPH#include "ECCO_CPPOPTIONS.h" |
19 |
edhill |
1.2 |
|
20 |
|
|
C CPP flags controlling which code is included in the files that |
21 |
|
|
C will be compiled. |
22 |
|
|
C |
23 |
|
|
|
24 |
|
|
c pkg/exf CPP options: |
25 |
|
|
c -------------------- |
26 |
|
|
c |
27 |
|
|
c >>> INCLUDE_EXTERNAL_FORCING_PACKAGE <<< |
28 |
|
|
c Include this package into the setup. |
29 |
|
|
c |
30 |
|
|
c >>> EXF_VERBOSE <<< |
31 |
|
|
c Do a bit more printout for the log file than usual. |
32 |
|
|
c |
33 |
|
|
c >>> ALLOW_ATM_WIND <<< |
34 |
|
|
c If defined, 10-m wind fields can be read-in from files. |
35 |
|
|
c |
36 |
|
|
c >>> ALLOW_ATM_TEMP <<< |
37 |
|
|
c If defined, atmospheric temperature and specific |
38 |
|
|
c humidity fields can be read-in from files. |
39 |
|
|
c |
40 |
|
|
c >>> ALLOW_DOWNWARD_RADIATION <<< |
41 |
|
|
c If defined, downward long-wave and short-wave radiation |
42 |
|
|
c can be read-in form files or computed from lwflux and swflux. |
43 |
|
|
c |
44 |
|
|
c >>> ALLOW_BULKFORMULAE <<< |
45 |
|
|
c Allows the use of bulk formulae in order to estimate |
46 |
|
|
c turbulent and radiative fluxes at the ocean's surface. |
47 |
|
|
c |
48 |
|
|
c >>> EXF_READ_EVAP <<< |
49 |
|
|
c If defined, evaporation fields are read-in, rather than |
50 |
|
|
c computed from atmospheric state. |
51 |
|
|
c |
52 |
|
|
c >>> ALLOW_RUNOFF <<< |
53 |
|
|
c If defined, river and glacier runoff can be read-in from files. |
54 |
|
|
c |
55 |
|
|
c >>> ATMOSPHERIC_LOADING <<< |
56 |
|
|
c If defined, atmospheric pressure can be read-in from files. |
57 |
|
|
c |
58 |
|
|
c >>> ALLOW_CLIMTEMP_RELAXATION <<< |
59 |
|
|
c Allow the relaxation to a monthly climatology of potential |
60 |
|
|
c temperature, e.g. the Levitus climatology. |
61 |
|
|
c |
62 |
|
|
c >>> ALLOW_CLIMSALT_RELAXATION <<< |
63 |
|
|
c Allow the relaxation to a monthly climatology of salinity, |
64 |
|
|
c e.g. the Levitus climatology. |
65 |
|
|
c |
66 |
|
|
c >>> ALLOW_CLIMSST_RELAXATION <<< |
67 |
|
|
c Allow the relaxation to a monthly climatology of sea surface |
68 |
|
|
c temperature, e.g. the Reynolds climatology. |
69 |
|
|
c |
70 |
|
|
c >>> ALLOW_CLIMSSS_RELAXATION <<< |
71 |
|
|
c Allow the relaxation to a monthly climatology of sea surface |
72 |
|
|
c salinity, e.g. the Levitus climatology. |
73 |
|
|
c |
74 |
|
|
c >>> USE_EXF_INTERPOLATION <<< |
75 |
|
|
c Allows specification of arbitrary Cartesian input grids. |
76 |
|
|
c |
77 |
|
|
c ==================================================================== |
78 |
|
|
c |
79 |
|
|
c The following CPP options: |
80 |
|
|
c |
81 |
|
|
c ALLOW_ATM_WIND (WIND) |
82 |
|
|
c ALLOW_ATM_TEMP (TEMP) |
83 |
|
|
c ALLOW_DOWNWARD_RADIATION (DOWN) |
84 |
|
|
c ALLOW_BULKFORMULAE (BULK) |
85 |
|
|
c EXF_READ_EVAP (EVAP) |
86 |
|
|
c |
87 |
|
|
c permit the ocean-model forcing configurations listed in the |
88 |
|
|
c table below. The first configuration is the default, |
89 |
|
|
c flux-forced, ocean model. The next four are stand-alone |
90 |
|
|
c configurations that use pkg/exf, open-water bulk formulae to |
91 |
|
|
c compute the missing surface fluxes from atmospheric variables. |
92 |
|
|
c The last four configurations can be used in conjunction with |
93 |
|
|
c pkg/seaice to model ice-covered regions. The forcing fields |
94 |
|
|
c in the rightmost column are defined in exf_fields. |
95 |
|
|
c |
96 |
|
|
c |
97 |
|
|
c WIND |TEMP |DOWN |BULK |EVAP | actions |
98 |
|
|
c -----|-----|-----|-----|-----|------------------------------------- |
99 |
|
|
c | | | | | |
100 |
|
|
c - | - | - | - | - | Read-in ustress, vstress, hflux, |
101 |
|
|
c | | | | | swflux, and sflux. |
102 |
|
|
c | | | | | |
103 |
|
|
c def | def | def | def | - | Read-in uwind, vwind, atemp, aqh, |
104 |
|
|
c | | | | | swdown, lwdown, precip, and runoff. |
105 |
|
|
c | | | | | Compute ustress, vstress, hflux, |
106 |
|
|
c | | | | | swflux, and sflux. |
107 |
|
|
c | | | | | |
108 |
|
|
c def | def | - | def | - | Read-in uwind, vwind, atemp, aqh, |
109 |
|
|
c | | | | | swflux, lwflux, precip, and runoff. |
110 |
|
|
c | | | | | Compute ustress, vstress, hflux, |
111 |
|
|
c | | | | | and sflux. |
112 |
|
|
c | | | | | |
113 |
|
|
c def | - | - | def | - | Read-in uwind, vwind, hflux, |
114 |
|
|
c | | | | | swflux, and sflux. |
115 |
|
|
c | | | | | Compute ustress and vstress. |
116 |
|
|
c | | | | | |
117 |
|
|
c - | def | - | def | - | Read-in ustress, vstress, atemp, |
118 |
|
|
c | | | | | aqh, swflux, lwflux, precip, and |
119 |
|
|
c | | | | | runoff. Compute hflux and sflux. |
120 |
|
|
c | | | | | |
121 |
|
|
c def | def | - | - | def | Read-in uwind, vwind, atemp, aqh, |
122 |
|
|
c | | | | | swflux, lwflux, precip, runoff, |
123 |
|
|
c | | | | | and evap. |
124 |
|
|
c | | | | | |
125 |
|
|
c def | def | - | def | - | Read-in uwind, vwind, atemp, aqh, |
126 |
|
|
c | | | | | swflux, lwflux, precip, and runoff. |
127 |
|
|
c | | | | | Compute open-water ustress, vstress, |
128 |
|
|
c | | | | | hflux, swflux, and evap. |
129 |
|
|
c | | | | | |
130 |
|
|
c def | def | def | - | def | Read-in uwind, vwind, atemp, aqh, |
131 |
|
|
c | | | | | swdown, lwdown, precip, runoff, |
132 |
|
|
c | | | | | and evap. |
133 |
|
|
c | | | | | |
134 |
|
|
c def | def | def | def | - | Read-in uwind, vwind, atemp, aqh, |
135 |
|
|
c | | | | | swdown, lwdown, precip, and runoff. |
136 |
|
|
c | | | | | Compute open-water ustress, vstress, |
137 |
|
|
c | | | | | hflux, swflux, and evap. |
138 |
|
|
c |
139 |
|
|
c ==================================================================== |
140 |
|
|
|
141 |
cnh |
1.6 |
#ifdef USING_THREADS |
142 |
|
|
#define EXF_IREAD_USE_GLOBAL_POINTER |
143 |
|
|
#endif |
144 |
|
|
|
145 |
edhill |
1.2 |
#endif /* ALLOW_EXF */ |
146 |
|
|
#endif /* EXF_OPTIONS_H */ |