/[MITgcm]/MITgcm_contrib/high_res_cube/code-mods/EXF_OPTIONS.h
ViewVC logotype

Annotation of /MITgcm_contrib/high_res_cube/code-mods/EXF_OPTIONS.h

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


Revision 1.4 - (hide annotations) (download)
Sun Dec 23 06:04:43 2007 UTC (17 years, 6 months ago) by dimitri
Branch: MAIN
Changes since 1.3: +3 -3 lines
File MIME type: text/plain
preparing cube80: add surface T/S relaxation terms in
order to estimate corrections to surface forcing terms.

1 dimitri 1.4 C $Header: /u/gcmpack/MITgcm_contrib/high_res_cube/code-mods/EXF_OPTIONS.h,v 1.3 2007/12/06 21:01:13 dimitri Exp $
2 dimitri 1.1 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     #ifdef ALLOW_AUTODIFF_TAMC
12    
13     C When compile for AD mode,
14     C this package is currently configured by ECCO_CPPOPTIONS.h
15     C which is directly included in CPP_OPTIONS.h
16    
17     #else /* ndef ALLOW_AUTODIFF_TAMC */
18    
19     C CPP flags controlling which code is included in the files that
20     C will be compiled.
21     C
22    
23     c pkg/exf CPP options:
24     c --------------------
25     c
26     c >>> EXF_VERBOSE <<<
27     c Do a bit more printout for the log file than usual.
28     c
29     c >>> ALLOW_ATM_WIND <<<
30     c If defined, 10-m wind fields can be read-in from files.
31     c
32     c >>> ALLOW_ATM_TEMP <<<
33     c If defined, atmospheric temperature and specific
34     c humidity fields can be read-in from files.
35     c
36     c >>> ALLOW_DOWNWARD_RADIATION <<<
37     c If defined, downward long-wave and short-wave radiation
38     c can be read-in form files or computed from lwflux and swflux.
39     c
40     c >>> ALLOW_BULKFORMULAE <<<
41     c Allows the use of bulk formulae in order to estimate
42     c turbulent and radiative fluxes at the ocean's surface.
43     c
44     c >>> EXF_READ_EVAP <<<
45     c If defined, evaporation fields are read-in, rather than
46     c computed from atmospheric state.
47     c
48     c >>> ALLOW_RUNOFF <<<
49     c If defined, river and glacier runoff can be read-in from files.
50     c
51     c >>> ATMOSPHERIC_LOADING <<<
52     c If defined, atmospheric pressure can be read-in from files.
53     c WARNING: this flag is set (define/undef) in CPP_OPTIONS.h
54     c and cannot be changed here (in EXF_OPTIONS)
55     c
56     c >>> ALLOW_CLIMSST_RELAXATION <<<
57     c Allow the relaxation to a monthly climatology of sea surface
58     c temperature, e.g. the Reynolds climatology.
59     c
60     c >>> ALLOW_CLIMSSS_RELAXATION <<<
61     c Allow the relaxation to a monthly climatology of sea surface
62     c salinity, e.g. the Levitus climatology.
63     c
64     c >>> USE_EXF_INTERPOLATION <<<
65     c Allows specification of arbitrary Cartesian input grids.
66     c
67     c ====================================================================
68     c
69     c The following CPP options:
70     c
71     c ALLOW_ATM_WIND (WIND)
72     c ALLOW_ATM_TEMP (TEMP)
73     c ALLOW_DOWNWARD_RADIATION (DOWN)
74     c ALLOW_BULKFORMULAE (BULK)
75     c EXF_READ_EVAP (EVAP)
76     c
77     c permit the ocean-model forcing configurations listed in the
78     c table below. The first configuration is the default,
79     c flux-forced, ocean model. The next four are stand-alone
80     c configurations that use pkg/exf, open-water bulk formulae to
81     c compute the missing surface fluxes from atmospheric variables.
82     c The last four configurations can be used in conjunction with
83     c pkg/seaice to model ice-covered regions. The forcing fields
84     c in the rightmost column are defined in exf_fields.
85     c
86     c
87     c WIND |TEMP |DOWN |BULK |EVAP | actions
88     c -----|-----|-----|-----|-----|-------------------------------------
89     c | | | | |
90     c - | - | - | - | - | Read-in ustress, vstress, hflux,
91     c | | | | | swflux, and sflux.
92     c | | | | |
93     c def | def | def | def | - | Read-in uwind, vwind, atemp, aqh,
94     c | | | | | swdown, lwdown, precip, and runoff.
95     c | | | | | Compute ustress, vstress, hflux,
96     c | | | | | swflux, and sflux.
97     c | | | | |
98     c def | def | - | def | - | Read-in uwind, vwind, atemp, aqh,
99     c | | | | | swflux, lwflux, precip, and runoff.
100     c | | | | | Compute ustress, vstress, hflux,
101     c | | | | | and sflux.
102     c | | | | |
103     c def | - | - | def | - | Read-in uwind, vwind, hflux,
104     c | | | | | swflux, and sflux.
105     c | | | | | Compute ustress and vstress.
106     c | | | | |
107     c - | def | - | def | - | Read-in ustress, vstress, atemp,
108     c | | | | | aqh, swflux, lwflux, precip, and
109     c | | | | | runoff. Compute hflux and sflux.
110     c | | | | |
111     c def | def | - | - | def | Read-in uwind, vwind, atemp, aqh,
112     c | | | | | swflux, lwflux, precip, runoff,
113     c | | | | | and evap.
114     c | | | | |
115     c def | def | - | def | - | Read-in uwind, vwind, atemp, aqh,
116     c | | | | | swflux, lwflux, precip, and runoff.
117     c | | | | | Compute open-water ustress, vstress,
118     c | | | | | hflux, swflux, and evap.
119     c | | | | |
120     c def | def | def | - | def | Read-in uwind, vwind, atemp, aqh,
121     c | | | | | swdown, lwdown, precip, runoff,
122     c | | | | | and evap.
123     c | | | | |
124     c def | def | def | def | - | Read-in uwind, vwind, atemp, aqh,
125     c | | | | | swdown, lwdown, precip, and runoff.
126     c | | | | | Compute open-water ustress, vstress,
127     c | | | | | hflux, swflux, and evap.
128     c
129     c ====================================================================
130    
131     C Do more printout for the protocol file than usual.
132     #undef EXF_VERBOSE
133    
134     C Bulk formulae related flags.
135     #define ALLOW_ATM_TEMP
136     #define ALLOW_ATM_WIND
137     #define ALLOW_DOWNWARD_RADIATION
138     #define ALLOW_RUNOFF
139     #if (defined (ALLOW_ATM_TEMP) || \
140     defined (ALLOW_ATM_WIND))
141     # define ALLOW_BULKFORMULAE
142     # undef ALLOW_BULK_LARGEYEAGER04
143     #endif
144    
145     C Relaxation to monthly climatologies.
146 dimitri 1.4 #define ALLOW_CLIMSST_RELAXATION
147     #define ALLOW_CLIMSSS_RELAXATION
148 dimitri 1.1
149     C Use spatial interpolation to interpolate
150     C forcing files from input grid to model grid.
151     #define USE_EXF_INTERPOLATION
152    
153     #define EXF_INTERP_USE_DYNALLOC
154     #if ( defined (EXF_INTERP_USE_DYNALLOC) & defined (USING_THREADS) )
155     # define EXF_IREAD_USE_GLOBAL_POINTER
156     #endif
157    
158     #endif /* ndef ALLOW_AUTODIFF_TAMC */
159     #endif /* ALLOW_EXF */
160     #endif /* EXF_OPTIONS_H */

  ViewVC Help
Powered by ViewVC 1.1.22