/[MITgcm]/MITgcm/pkg/exf/EXF_OPTIONS.h
ViewVC logotype

Annotation of /MITgcm/pkg/exf/EXF_OPTIONS.h

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.14 - (hide annotations) (download)
Mon Feb 16 09:10:18 2009 UTC (15 years, 4 months ago) by mlosch
Branch: MAIN
CVS Tags: checkpoint62, checkpoint62c, checkpoint62b, checkpoint62a, checkpoint61n, checkpoint61o, checkpoint61l, checkpoint61m, checkpoint61j, checkpoint61k, checkpoint61v, checkpoint61w, checkpoint61t, checkpoint61u, checkpoint61r, checkpoint61s, checkpoint61p, checkpoint61q, checkpoint61z, checkpoint61x, checkpoint61y
Changes since 1.13: +6 -1 lines
File MIME type: text/plain
add capability to bypass interpolation for runoff
by setting yet another CPP-flag

1 mlosch 1.14 C $Header: /u/gcmpack/MITgcm/pkg/exf/EXF_OPTIONS.h,v 1.13 2008/06/11 18:55:09 gforget Exp $
2 edhill 1.2 C $Name: $
3    
4     #ifndef EXF_OPTIONS_H
5     #define EXF_OPTIONS_H
6     #include "PACKAGES_CONFIG.h"
7 heimbach 1.12 #include "AD_CONFIG.h"
8    
9 edhill 1.2 #ifdef ALLOW_EXF
10    
11     #include "CPP_OPTIONS.h"
12    
13 jmc 1.9 #ifdef ALLOW_AUTODIFF_TAMC
14 heimbach 1.4
15 jmc 1.9 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     #else /* ndef ALLOW_AUTODIFF_TAMC */
20 edhill 1.2
21     C CPP flags controlling which code is included in the files that
22     C will be compiled.
23     C
24    
25     c pkg/exf CPP options:
26     c --------------------
27     c
28     c >>> EXF_VERBOSE <<<
29     c Do a bit more printout for the log file than usual.
30     c
31     c >>> ALLOW_ATM_WIND <<<
32     c If defined, 10-m wind fields can be read-in from files.
33     c
34     c >>> ALLOW_ATM_TEMP <<<
35     c If defined, atmospheric temperature and specific
36     c humidity fields can be read-in from files.
37     c
38     c >>> ALLOW_DOWNWARD_RADIATION <<<
39     c If defined, downward long-wave and short-wave radiation
40     c can be read-in form files or computed from lwflux and swflux.
41     c
42     c >>> ALLOW_BULKFORMULAE <<<
43     c Allows the use of bulk formulae in order to estimate
44     c turbulent and radiative fluxes at the ocean's surface.
45     c
46     c >>> EXF_READ_EVAP <<<
47     c If defined, evaporation fields are read-in, rather than
48     c computed from atmospheric state.
49     c
50     c >>> ALLOW_RUNOFF <<<
51     c If defined, river and glacier runoff can be read-in from files.
52     c
53     c >>> ATMOSPHERIC_LOADING <<<
54     c If defined, atmospheric pressure can be read-in from files.
55 jmc 1.8 c WARNING: this flag is set (define/undef) in CPP_OPTIONS.h
56     c and cannot be changed here (in EXF_OPTIONS)
57 edhill 1.2 c
58 gforget 1.13 c >>> ICE_AREAMASK <<<
59     c If defined, fractional ice-covered area MASK can be read-in from files.
60     c
61 edhill 1.2 c >>> ALLOW_CLIMSST_RELAXATION <<<
62     c Allow the relaxation to a monthly climatology of sea surface
63     c temperature, e.g. the Reynolds climatology.
64     c
65     c >>> ALLOW_CLIMSSS_RELAXATION <<<
66     c Allow the relaxation to a monthly climatology of sea surface
67     c salinity, e.g. the Levitus climatology.
68     c
69     c >>> USE_EXF_INTERPOLATION <<<
70     c Allows specification of arbitrary Cartesian input grids.
71     c
72     c ====================================================================
73     c
74     c The following CPP options:
75     c
76     c ALLOW_ATM_WIND (WIND)
77     c ALLOW_ATM_TEMP (TEMP)
78     c ALLOW_DOWNWARD_RADIATION (DOWN)
79     c ALLOW_BULKFORMULAE (BULK)
80     c EXF_READ_EVAP (EVAP)
81     c
82     c permit the ocean-model forcing configurations listed in the
83     c table below. The first configuration is the default,
84     c flux-forced, ocean model. The next four are stand-alone
85     c configurations that use pkg/exf, open-water bulk formulae to
86     c compute the missing surface fluxes from atmospheric variables.
87     c The last four configurations can be used in conjunction with
88     c pkg/seaice to model ice-covered regions. The forcing fields
89     c in the rightmost column are defined in exf_fields.
90     c
91     c
92     c WIND |TEMP |DOWN |BULK |EVAP | actions
93     c -----|-----|-----|-----|-----|-------------------------------------
94     c | | | | |
95     c - | - | - | - | - | Read-in ustress, vstress, hflux,
96     c | | | | | swflux, and sflux.
97     c | | | | |
98     c def | def | def | def | - | Read-in uwind, vwind, atemp, aqh,
99     c | | | | | swdown, lwdown, precip, and runoff.
100     c | | | | | Compute ustress, vstress, hflux,
101     c | | | | | swflux, and sflux.
102     c | | | | |
103     c def | def | - | def | - | Read-in uwind, vwind, atemp, aqh,
104     c | | | | | swflux, lwflux, precip, and runoff.
105     c | | | | | Compute ustress, vstress, hflux,
106     c | | | | | and sflux.
107     c | | | | |
108     c def | - | - | def | - | Read-in uwind, vwind, hflux,
109     c | | | | | swflux, and sflux.
110     c | | | | | Compute ustress and vstress.
111     c | | | | |
112     c - | def | - | def | - | Read-in ustress, vstress, atemp,
113     c | | | | | aqh, swflux, lwflux, precip, and
114     c | | | | | runoff. Compute hflux and sflux.
115     c | | | | |
116     c def | def | - | - | def | Read-in uwind, vwind, atemp, aqh,
117     c | | | | | swflux, lwflux, precip, runoff,
118     c | | | | | and evap.
119     c | | | | |
120     c def | def | - | def | - | Read-in uwind, vwind, atemp, aqh,
121     c | | | | | swflux, lwflux, precip, and runoff.
122     c | | | | | Compute open-water ustress, vstress,
123     c | | | | | hflux, swflux, and evap.
124     c | | | | |
125     c def | def | def | - | def | Read-in uwind, vwind, atemp, aqh,
126     c | | | | | swdown, lwdown, precip, runoff,
127     c | | | | | and evap.
128     c | | | | |
129     c def | def | def | def | - | Read-in uwind, vwind, atemp, aqh,
130     c | | | | | swdown, lwdown, precip, and runoff.
131     c | | | | | Compute open-water ustress, vstress,
132     c | | | | | hflux, swflux, and evap.
133     c
134     c ====================================================================
135    
136 jmc 1.9 C Do more printout for the protocol file than usual.
137 heimbach 1.12 #undef EXF_VERBOSE
138 jmc 1.9
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 mlosch 1.14 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 jmc 1.9
163     #define EXF_INTERP_USE_DYNALLOC
164     #if ( defined (EXF_INTERP_USE_DYNALLOC) & defined (USING_THREADS) )
165     # define EXF_IREAD_USE_GLOBAL_POINTER
166 cnh 1.6 #endif
167    
168 jmc 1.9 #endif /* ndef ALLOW_AUTODIFF_TAMC */
169 edhill 1.2 #endif /* ALLOW_EXF */
170     #endif /* EXF_OPTIONS_H */

  ViewVC Help
Powered by ViewVC 1.1.22