/[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.12 - (hide annotations) (download)
Fri Dec 28 21:26:16 2007 UTC (16 years, 6 months ago) by heimbach
Branch: MAIN
CVS Tags: checkpoint59q, checkpoint59p, checkpoint59r, checkpoint59m, checkpoint59o, checkpoint59n
Changes since 1.11: +4 -2 lines
File MIME type: text/plain
Add AD_CONFIG.h

1 heimbach 1.12 C $Header: /u/gcmpack/MITgcm/pkg/exf/EXF_OPTIONS.h,v 1.11 2007/12/05 23:57:44 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 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     c >>> ALLOW_CLIMSST_RELAXATION <<<
59     c Allow the relaxation to a monthly climatology of sea surface
60     c temperature, e.g. the Reynolds climatology.
61     c
62     c >>> ALLOW_CLIMSSS_RELAXATION <<<
63     c Allow the relaxation to a monthly climatology of sea surface
64     c salinity, e.g. the Levitus climatology.
65     c
66     c >>> USE_EXF_INTERPOLATION <<<
67     c Allows specification of arbitrary Cartesian input grids.
68     c
69     c ====================================================================
70     c
71     c The following CPP options:
72     c
73     c ALLOW_ATM_WIND (WIND)
74     c ALLOW_ATM_TEMP (TEMP)
75     c ALLOW_DOWNWARD_RADIATION (DOWN)
76     c ALLOW_BULKFORMULAE (BULK)
77     c EXF_READ_EVAP (EVAP)
78     c
79     c permit the ocean-model forcing configurations listed in the
80     c table below. The first configuration is the default,
81     c flux-forced, ocean model. The next four are stand-alone
82     c configurations that use pkg/exf, open-water bulk formulae to
83     c compute the missing surface fluxes from atmospheric variables.
84     c The last four configurations can be used in conjunction with
85     c pkg/seaice to model ice-covered regions. The forcing fields
86     c in the rightmost column are defined in exf_fields.
87     c
88     c
89     c WIND |TEMP |DOWN |BULK |EVAP | actions
90     c -----|-----|-----|-----|-----|-------------------------------------
91     c | | | | |
92     c - | - | - | - | - | Read-in ustress, vstress, hflux,
93     c | | | | | swflux, and sflux.
94     c | | | | |
95     c def | def | def | def | - | Read-in uwind, vwind, atemp, aqh,
96     c | | | | | swdown, lwdown, precip, and runoff.
97     c | | | | | Compute ustress, vstress, hflux,
98     c | | | | | swflux, and sflux.
99     c | | | | |
100     c def | def | - | def | - | Read-in uwind, vwind, atemp, aqh,
101     c | | | | | swflux, lwflux, precip, and runoff.
102     c | | | | | Compute ustress, vstress, hflux,
103     c | | | | | and sflux.
104     c | | | | |
105     c def | - | - | def | - | Read-in uwind, vwind, hflux,
106     c | | | | | swflux, and sflux.
107     c | | | | | Compute ustress and vstress.
108     c | | | | |
109     c - | def | - | def | - | Read-in ustress, vstress, atemp,
110     c | | | | | aqh, swflux, lwflux, precip, and
111     c | | | | | runoff. Compute hflux and sflux.
112     c | | | | |
113     c def | def | - | - | def | Read-in uwind, vwind, atemp, aqh,
114     c | | | | | swflux, lwflux, precip, runoff,
115     c | | | | | and evap.
116     c | | | | |
117     c def | def | - | def | - | Read-in uwind, vwind, atemp, aqh,
118     c | | | | | swflux, lwflux, precip, and runoff.
119     c | | | | | Compute open-water ustress, vstress,
120     c | | | | | hflux, swflux, and evap.
121     c | | | | |
122     c def | def | def | - | def | Read-in uwind, vwind, atemp, aqh,
123     c | | | | | swdown, lwdown, precip, runoff,
124     c | | | | | and evap.
125     c | | | | |
126     c def | def | def | def | - | Read-in uwind, vwind, atemp, aqh,
127     c | | | | | swdown, lwdown, precip, and runoff.
128     c | | | | | Compute open-water ustress, vstress,
129     c | | | | | hflux, swflux, and evap.
130     c
131     c ====================================================================
132    
133 jmc 1.9 C Do more printout for the protocol file than usual.
134 heimbach 1.12 #undef EXF_VERBOSE
135 jmc 1.9
136     C Bulk formulae related flags.
137     #define ALLOW_ATM_TEMP
138     #define ALLOW_ATM_WIND
139     #define ALLOW_DOWNWARD_RADIATION
140     #define ALLOW_RUNOFF
141     #if (defined (ALLOW_ATM_TEMP) || \
142     defined (ALLOW_ATM_WIND))
143     # define ALLOW_BULKFORMULAE
144     # undef ALLOW_BULK_LARGEYEAGER04
145     #endif
146    
147     C Relaxation to monthly climatologies.
148     #define ALLOW_CLIMSST_RELAXATION
149     #define ALLOW_CLIMSSS_RELAXATION
150    
151     C Use spatial interpolation to interpolate
152     C forcing files from input grid to model grid.
153     #undef USE_EXF_INTERPOLATION
154    
155     #define EXF_INTERP_USE_DYNALLOC
156     #if ( defined (EXF_INTERP_USE_DYNALLOC) & defined (USING_THREADS) )
157     # define EXF_IREAD_USE_GLOBAL_POINTER
158 cnh 1.6 #endif
159    
160 jmc 1.9 #endif /* ndef ALLOW_AUTODIFF_TAMC */
161 edhill 1.2 #endif /* ALLOW_EXF */
162     #endif /* EXF_OPTIONS_H */

  ViewVC Help
Powered by ViewVC 1.1.22