/[MITgcm]/MITgcm_contrib/verification_other/global_oce_llc90/code/EXF_OPTIONS.h
ViewVC logotype

Annotation of /MITgcm_contrib/verification_other/global_oce_llc90/code/EXF_OPTIONS.h

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


Revision 1.1 - (hide annotations) (download)
Fri Aug 24 16:33:53 2012 UTC (12 years, 11 months ago) by gforget
Branch: MAIN
CVS Tags: checkpoint65f, checkpoint65g, checkpoint65e
File MIME type: text/plain
- llc90 setup; the rest of which is from global_oce_cs32/code.

1 gforget 1.1 C $Header: /u/gcmpack/MITgcm/pkg/exf/EXF_OPTIONS.h,v 1.23 2012/01/16 22:58:33 jmc Exp $
2     C $Name: $
3    
4     #ifndef EXF_OPTIONS_H
5     #define EXF_OPTIONS_H
6     #include "PACKAGES_CONFIG.h"
7     #include "AD_CONFIG.h"
8     #include "CPP_OPTIONS.h"
9    
10     #ifdef ALLOW_EXF
11     C Package-specific Options & Macros go here
12    
13     C CPP flags controlling which code is included in the files that
14     C will be compiled.
15    
16     c pkg/exf CPP options:
17     c --------------------
18     c
19     c > ( EXF_VERBOSE ) < replaced with run-time, logical parameter "exf_verbose".
20     c
21     c >>> ALLOW_ATM_WIND <<<
22     c If defined, 10-m wind fields can be read-in from files.
23     c
24     c >>> ALLOW_ATM_TEMP <<<
25     c If defined, atmospheric temperature and specific
26     c humidity fields can be read-in from files.
27     c
28     c >>> ALLOW_DOWNWARD_RADIATION <<<
29     c If defined, downward long-wave and short-wave radiation
30     c can be read-in form files or computed from lwflux and swflux.
31     c
32     c >>> ALLOW_ZENITHANGLE <<<
33     c If defined, ocean albedo varies with the zenith angle, and
34     c incoming fluxes at the top of the atmosphere are computed
35     c
36     c >>> ALLOW_BULKFORMULAE <<<
37     c Allows the use of bulk formulae in order to estimate
38     c turbulent and radiative fluxes at the ocean surface.
39     c
40     c >>> EXF_READ_EVAP <<<
41     c If defined, evaporation fields are read-in, rather than
42     c computed from atmospheric state.
43     c
44     c >>> ALLOW_RUNOFF <<<
45     c If defined, river and glacier runoff can be read-in from files.
46     c
47     c >>> ATMOSPHERIC_LOADING <<<
48     c If defined, atmospheric pressure can be read-in from files.
49     c WARNING: this flag is set (define/undef) in CPP_OPTIONS.h
50     c and cannot be changed here (in EXF_OPTIONS)
51     c
52     c >>> ICE_AREAMASK <<<
53     c If defined, fractional ice-covered area MASK can be read-in from files.
54     c
55     c >>> ALLOW_CLIMSST_RELAXATION <<<
56     c Allow the relaxation to a monthly climatology of sea surface
57     c temperature, e.g. the Reynolds climatology.
58     c
59     c >>> ALLOW_CLIMSSS_RELAXATION <<<
60     c Allow the relaxation to a monthly climatology of sea surface
61     c salinity, e.g. the Levitus climatology.
62     c
63     c >>> USE_EXF_INTERPOLATION <<<
64     c Allows specification of arbitrary Cartesian input grids.
65     c
66     c ====================================================================
67     c
68     c The following CPP options:
69     c
70     c ALLOW_ATM_WIND (WIND)
71     c ALLOW_ATM_TEMP (TEMP)
72     c ALLOW_DOWNWARD_RADIATION (DOWN)
73     c ALLOW_BULKFORMULAE (BULK)
74     c EXF_READ_EVAP (EVAP)
75     c
76     c permit the ocean-model forcing configurations listed in the
77     c table below. The first configuration is the default,
78     c flux-forced, ocean model. The next four are stand-alone
79     c configurations that use pkg/exf, open-water bulk formulae to
80     c compute the missing surface fluxes from atmospheric variables.
81     c The last four configurations can be used in conjunction with
82     c pkg/seaice to model ice-covered regions. The forcing fields
83     c in the rightmost column are defined in exf_fields.
84     c
85     c
86     c WIND |TEMP |DOWN |BULK |EVAP | actions
87     c -----|-----|-----|-----|-----|-------------------------------------
88     c | | | | |
89     c - | - | - | - | - | Read-in ustress, vstress, hflux,
90     c | | | | | swflux, and sflux.
91     c | | | | |
92     c def | def | def | def | - | Read-in uwind, vwind, atemp, aqh,
93     c | | | | | swdown, lwdown, precip, and runoff.
94     c | | | | | Compute ustress, vstress, hflux,
95     c | | | | | swflux, and sflux.
96     c | | | | |
97     c def | def | - | def | - | Read-in uwind, vwind, atemp, aqh,
98     c | | | | | swflux, lwflux, precip, and runoff.
99     c | | | | | Compute ustress, vstress, hflux,
100     c | | | | | and sflux.
101     c | | | | |
102     c def | - | - | def | - | Read-in uwind, vwind, hflux,
103     c | | | | | swflux, and sflux.
104     c | | | | | Compute ustress and vstress.
105     c | | | | |
106     c - | def | - | def | - | Read-in ustress, vstress, atemp,
107     c | | | | | aqh, swflux, lwflux, precip, and
108     c | | | | | runoff. Compute hflux and sflux.
109     c | | | | |
110     c def | def | - | - | def | Read-in uwind, vwind, atemp, aqh,
111     c | | | | | swflux, lwflux, precip, runoff,
112     c | | | | | and evap.
113     c | | | | |
114     c def | def | - | def | - | Read-in uwind, vwind, atemp, aqh,
115     c | | | | | swflux, lwflux, precip, and runoff.
116     c | | | | | Compute open-water ustress, vstress,
117     c | | | | | hflux, swflux, and evap.
118     c | | | | |
119     c def | def | def | - | def | Read-in uwind, vwind, atemp, aqh,
120     c | | | | | swdown, lwdown, precip, runoff,
121     c | | | | | and evap.
122     c | | | | |
123     c def | def | def | def | - | Read-in uwind, vwind, atemp, aqh,
124     c | | | | | swdown, lwdown, precip, and runoff.
125     c | | | | | Compute open-water ustress, vstress,
126     c | | | | | hflux, swflux, and evap.
127     c
128     c ====================================================================
129    
130     C Bulk formulae related flags.
131     #define ALLOW_ATM_TEMP
132     #define ALLOW_ATM_WIND
133     #define ALLOW_DOWNWARD_RADIATION
134     #define ALLOW_RUNOFF
135     #if (defined (ALLOW_ATM_TEMP) || defined (ALLOW_ATM_WIND))
136     # define ALLOW_BULKFORMULAE
137     # define ALLOW_BULK_LARGEYEAGER04
138     #endif
139    
140     C Zenith Angle/Albedo related flags.
141     #ifdef ALLOW_DOWNWARD_RADIATION
142     # define ALLOW_ZENITHANGLE
143     # undef ALLOW_ZENITHANGLE_BOUNDSWDOWN
144     #endif
145    
146     C Use ocean_emissivity*lwdwon in lwFlux. This flag should be define
147     C unless to reproduce old results (obtained with inconsistent old code)
148     #ifdef ALLOW_DOWNWARD_RADIATION
149     # define EXF_LWDOWN_WITH_EMISSIVITY
150     #endif
151    
152     C Relaxation to monthly climatologies.
153     #define ALLOW_CLIMSST_RELAXATION
154     #define ALLOW_CLIMSSS_RELAXATION
155    
156     C Use spatial interpolation to interpolate
157     C forcing files from input grid to model grid.
158     #define USE_EXF_INTERPOLATION
159     C for interpolated vector fields, rotate towards model-grid axis
160     C using old rotation formulae (instead of grid-angles)
161     #undef EXF_USE_OLD_VEC_ROTATION
162     C for interpolation around N & S pole, use the old formulation
163     C (no pole symmetry, single vector-comp interp, reset to 0 zonal-comp @ N.pole)
164     #undef EXF_USE_OLD_INTERP_POLE
165    
166     #define EXF_INTERP_USE_DYNALLOC
167     #if ( defined (EXF_INTERP_USE_DYNALLOC) && defined (USING_THREADS) )
168     # define EXF_IREAD_USE_GLOBAL_POINTER
169     #endif
170    
171     #endif /* ALLOW_EXF */
172     #endif /* EXF_OPTIONS_H */

  ViewVC Help
Powered by ViewVC 1.1.22