/[MITgcm]/MITgcm_contrib/ecco_darwin/v2_cs510_Brix/code/EXF_OPTIONS.h
ViewVC logotype

Annotation of /MITgcm_contrib/ecco_darwin/v2_cs510_Brix/code/EXF_OPTIONS.h

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


Revision 1.2 - (hide annotations) (download)
Thu Oct 4 05:16:14 2018 UTC (6 years, 10 months ago) by dimitri
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +15 -26 lines
File MIME type: text/plain
trying to regenerate /nobackup/hbrix/MITgcm_110502/build_darwin_ag4/mitgcmuv

1 dimitri 1.2 C $Header: /u/gcmpack/MITgcm_contrib/high_res_cube/code-mods/EXF_OPTIONS.h,v 1.4 2007/12/23 06:04:43 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     #define ALLOW_CARBON
9     #define USE_EXFCO2
10    
11     #include "CPP_OPTIONS.h"
12    
13     #ifdef ALLOW_AUTODIFF_TAMC
14    
15     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    
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 dimitri 1.2 c >>> EXF_VERBOSE <<<
29     c Do a bit more printout for the log file than usual.
30 dimitri 1.1 c
31     c >>> ALLOW_ATM_WIND <<<
32     c If defined, 10-m wind fields can be read-in from files.
33 dimitri 1.2 c
34 dimitri 1.1 c >>> ALLOW_ATM_TEMP <<<
35     c If defined, atmospheric temperature and specific
36     c humidity fields can be read-in from files.
37 dimitri 1.2 c
38 dimitri 1.1 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 dimitri 1.2 c turbulent and radiative fluxes at the ocean's surface.
45 dimitri 1.1 c
46     c >>> EXF_READ_EVAP <<<
47     c If defined, evaporation fields are read-in, rather than
48     c computed from atmospheric state.
49 dimitri 1.2 c
50 dimitri 1.1 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 dimitri 1.2 c WARNING: this flag is set (define/undef) in CPP_OPTIONS.h
56 dimitri 1.1 c and cannot be changed here (in EXF_OPTIONS)
57     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 dimitri 1.2 c >>> ALLOW_CARBON <<<
70     c If defined, atmospheric partial pressure of CO2
71     c can be read-in from files. define flag is set in DARWIN.h
72     c
73 dimitri 1.1 c ====================================================================
74     c
75     c The following CPP options:
76     c
77     c ALLOW_ATM_WIND (WIND)
78     c ALLOW_ATM_TEMP (TEMP)
79     c ALLOW_DOWNWARD_RADIATION (DOWN)
80     c ALLOW_BULKFORMULAE (BULK)
81     c EXF_READ_EVAP (EVAP)
82     c
83     c permit the ocean-model forcing configurations listed in the
84     c table below. The first configuration is the default,
85     c flux-forced, ocean model. The next four are stand-alone
86     c configurations that use pkg/exf, open-water bulk formulae to
87     c compute the missing surface fluxes from atmospheric variables.
88     c The last four configurations can be used in conjunction with
89     c pkg/seaice to model ice-covered regions. The forcing fields
90     c in the rightmost column are defined in exf_fields.
91     c
92     c
93     c WIND |TEMP |DOWN |BULK |EVAP | actions
94     c -----|-----|-----|-----|-----|-------------------------------------
95     c | | | | |
96     c - | - | - | - | - | Read-in ustress, vstress, hflux,
97     c | | | | | swflux, and sflux.
98     c | | | | |
99     c def | def | def | def | - | Read-in uwind, vwind, atemp, aqh,
100     c | | | | | swdown, lwdown, precip, and runoff.
101     c | | | | | Compute ustress, vstress, hflux,
102     c | | | | | swflux, and sflux.
103     c | | | | |
104     c def | def | - | def | - | Read-in uwind, vwind, atemp, aqh,
105     c | | | | | swflux, lwflux, precip, and runoff.
106     c | | | | | Compute ustress, vstress, hflux,
107     c | | | | | and sflux.
108     c | | | | |
109     c def | - | - | def | - | Read-in uwind, vwind, hflux,
110     c | | | | | swflux, and sflux.
111     c | | | | | Compute ustress and vstress.
112     c | | | | |
113     c - | def | - | def | - | Read-in ustress, vstress, atemp,
114     c | | | | | aqh, swflux, lwflux, precip, and
115     c | | | | | runoff. Compute hflux and sflux.
116     c | | | | |
117     c def | def | - | - | def | Read-in uwind, vwind, atemp, aqh,
118     c | | | | | swflux, lwflux, precip, runoff,
119     c | | | | | and evap.
120     c | | | | |
121     c def | def | - | def | - | Read-in uwind, vwind, atemp, aqh,
122     c | | | | | swflux, lwflux, precip, and runoff.
123     c | | | | | Compute open-water ustress, vstress,
124     c | | | | | hflux, swflux, and evap.
125     c | | | | |
126     c def | def | def | - | def | Read-in uwind, vwind, atemp, aqh,
127     c | | | | | swdown, lwdown, precip, runoff,
128     c | | | | | and evap.
129     c | | | | |
130     c def | def | def | def | - | Read-in uwind, vwind, atemp, aqh,
131     c | | | | | swdown, lwdown, precip, and runoff.
132     c | | | | | Compute open-water ustress, vstress,
133     c | | | | | hflux, swflux, and evap.
134     c
135     c ====================================================================
136    
137 dimitri 1.2 C Do more printout for the protocol file than usual.
138     #undef EXF_VERBOSE
139    
140 dimitri 1.1 C Bulk formulae related flags.
141     #define ALLOW_ATM_TEMP
142     #define ALLOW_ATM_WIND
143     #define ALLOW_DOWNWARD_RADIATION
144     #define ALLOW_RUNOFF
145     #if (defined (ALLOW_ATM_TEMP) || \
146     defined (ALLOW_ATM_WIND))
147     # define ALLOW_BULKFORMULAE
148     # undef ALLOW_BULK_LARGEYEAGER04
149     #endif
150    
151     C Relaxation to monthly climatologies.
152     #define ALLOW_CLIMSST_RELAXATION
153     #define ALLOW_CLIMSSS_RELAXATION
154    
155     C Use spatial interpolation to interpolate
156     C forcing files from input grid to model grid.
157     #define USE_EXF_INTERPOLATION
158    
159     #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