/[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.2 - (hide annotations) (download)
Mon Dec 3 07:58:17 2007 UTC (17 years, 7 months ago) by dimitri
Branch: MAIN
Changes since 1.1: +5 -2 lines
File MIME type: text/plain
December 2, 2007. Cube79 - same as cube78 (blend3) but with:
                           i) EXF_SUBTRACT_UVVEL_FROM_UVWIND
                           ii) global-mean rain adjustment
                           iii) _eta_mean = 0 initial conditions

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

  ViewVC Help
Powered by ViewVC 1.1.22