/[MITgcm]/MITgcm/pkg/exf/EXF_OPTIONS.h
ViewVC logotype

Diff of /MITgcm/pkg/exf/EXF_OPTIONS.h

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

revision 1.12 by heimbach, Fri Dec 28 21:26:16 2007 UTC revision 1.21 by jmc, Sun Dec 25 22:26:15 2011 UTC
# Line 5  C $Name$ Line 5  C $Name$
5  #define EXF_OPTIONS_H  #define EXF_OPTIONS_H
6  #include "PACKAGES_CONFIG.h"  #include "PACKAGES_CONFIG.h"
7  #include "AD_CONFIG.h"  #include "AD_CONFIG.h"
8    #include "CPP_OPTIONS.h"
9    
10  #ifdef ALLOW_EXF  #ifdef ALLOW_EXF
11    C     Package-specific Options & Macros go here
 #include "CPP_OPTIONS.h"  
12    
13  #ifdef ALLOW_AUTODIFF_TAMC  #ifdef ALLOW_AUTODIFF_TAMC
14    
# Line 20  C which is directly included in CPP_OPTI Line 20  C which is directly included in CPP_OPTI
20    
21  C CPP flags controlling which code is included in the files that  C CPP flags controlling which code is included in the files that
22  C will be compiled.  C will be compiled.
 C  
23    
24  c   pkg/exf CPP options:  c   pkg/exf CPP options:
25  c   --------------------  c   --------------------
26  c  c
27  c   >>> EXF_VERBOSE <<<  c   > ( EXF_VERBOSE ) < replaced with run-time, logical parameter "exf_verbose".
 c       Do a bit more printout for the log file than usual.  
28  c  c
29  c   >>> ALLOW_ATM_WIND <<<  c   >>> ALLOW_ATM_WIND <<<
30  c       If defined, 10-m wind fields can be read-in from files.  c       If defined, 10-m wind fields can be read-in from files.
31  c                                          c
32  c   >>> ALLOW_ATM_TEMP <<<  c   >>> ALLOW_ATM_TEMP <<<
33  c       If defined, atmospheric temperature and specific  c       If defined, atmospheric temperature and specific
34  c       humidity fields can be read-in from files.  c       humidity fields can be read-in from files.
35  c                                          c
36  c   >>> ALLOW_DOWNWARD_RADIATION <<<  c   >>> ALLOW_DOWNWARD_RADIATION <<<
37  c       If defined, downward long-wave and short-wave radiation  c       If defined, downward long-wave and short-wave radiation
38  c       can be read-in form files or computed from lwflux and swflux.  c       can be read-in form files or computed from lwflux and swflux.
39  c  c
40    c   >>> ALLOW_ZENITHANGLE <<<
41    c       If defined, ocean albedo varies with the zenith angle, and
42    c       incoming fluxes at the top of the atmosphere are computed
43    c
44  c   >>> ALLOW_BULKFORMULAE <<<  c   >>> ALLOW_BULKFORMULAE <<<
45  c       Allows the use of bulk formulae in order to estimate  c       Allows the use of bulk formulae in order to estimate
46  c       turbulent and radiative fluxes at the ocean's surface.  c       turbulent and radiative fluxes at the ocean surface.
47  c  c
48  c   >>> EXF_READ_EVAP <<<  c   >>> EXF_READ_EVAP <<<
49  c       If defined, evaporation fields are read-in, rather than  c       If defined, evaporation fields are read-in, rather than
50  c       computed from atmospheric state.  c       computed from atmospheric state.
51  c                                          c
52  c   >>> ALLOW_RUNOFF <<<  c   >>> ALLOW_RUNOFF <<<
53  c       If defined, river and glacier runoff can be read-in from files.  c       If defined, river and glacier runoff can be read-in from files.
54  c  c
55  c   >>> ATMOSPHERIC_LOADING <<<  c   >>> ATMOSPHERIC_LOADING <<<
56  c       If defined, atmospheric pressure can be read-in from files.  c       If defined, atmospheric pressure can be read-in from files.
57  c   WARNING: this flag is set (define/undef) in CPP_OPTIONS.h  c   WARNING: this flag is set (define/undef) in CPP_OPTIONS.h
58  c            and cannot be changed here (in EXF_OPTIONS)  c            and cannot be changed here (in EXF_OPTIONS)
59  c  c
60    c   >>> ICE_AREAMASK <<<
61    c       If defined, fractional ice-covered area MASK can be read-in from files.
62    c
63  c   >>> ALLOW_CLIMSST_RELAXATION <<<  c   >>> ALLOW_CLIMSST_RELAXATION <<<
64  c       Allow the relaxation to a monthly climatology of sea surface  c       Allow the relaxation to a monthly climatology of sea surface
65  c       temperature, e.g. the Reynolds climatology.  c       temperature, e.g. the Reynolds climatology.
# Line 130  c         |     |     |     |     | hflu Line 135  c         |     |     |     |     | hflu
135  c  c
136  c   ====================================================================  c   ====================================================================
137    
 C   Do more printout for the protocol file than usual.  
 #undef EXF_VERBOSE  
   
138  C   Bulk formulae related flags.  C   Bulk formulae related flags.
139  #define  ALLOW_ATM_TEMP  #define  ALLOW_ATM_TEMP
140  #define  ALLOW_ATM_WIND  #define  ALLOW_ATM_WIND
141  #define  ALLOW_DOWNWARD_RADIATION  #define  ALLOW_DOWNWARD_RADIATION
142  #define  ALLOW_RUNOFF  #define  ALLOW_RUNOFF
143  #if (defined (ALLOW_ATM_TEMP) || \  #if (defined (ALLOW_ATM_TEMP) || defined (ALLOW_ATM_WIND))
      defined (ALLOW_ATM_WIND))  
144  # define ALLOW_BULKFORMULAE  # define ALLOW_BULKFORMULAE
145  # undef ALLOW_BULK_LARGEYEAGER04  # undef ALLOW_BULK_LARGEYEAGER04
146  #endif  #endif
147    
148    C   Zenith Angle/Albedo related flags.
149    #ifdef ALLOW_DOWNWARD_RADIATION
150    # undef ALLOW_ZENITHANGLE
151    #endif
152    
153    C   Use ocean_emissivity*lwdwon in lwFlux. This flag should always be define
154    C   but is not because of backward compatibility
155    #ifdef ALLOW_DOWNWARD_RADIATION
156    # undef EXF_LWDOWN_WITH_EMISSIVITY
157    #endif
158    
159  C   Relaxation to monthly climatologies.  C   Relaxation to monthly climatologies.
160  #define ALLOW_CLIMSST_RELAXATION  #define ALLOW_CLIMSST_RELAXATION
161  #define ALLOW_CLIMSSS_RELAXATION  #define ALLOW_CLIMSSS_RELAXATION
# Line 151  C   Relaxation to monthly climatologies. Line 163  C   Relaxation to monthly climatologies.
163  C   Use spatial interpolation to interpolate  C   Use spatial interpolation to interpolate
164  C   forcing files from input grid to model grid.  C   forcing files from input grid to model grid.
165  #undef USE_EXF_INTERPOLATION  #undef USE_EXF_INTERPOLATION
166    C   for interpolated vector fields, rotate towards model-grid axis
167    C   using old rotation formulae (instead of grid-angles)
168    #undef EXF_USE_OLD_VEC_ROTATION
169    
170  #define EXF_INTERP_USE_DYNALLOC  #define EXF_INTERP_USE_DYNALLOC
171  #if ( defined (EXF_INTERP_USE_DYNALLOC) & defined (USING_THREADS) )  #if ( defined (EXF_INTERP_USE_DYNALLOC) && defined (USING_THREADS) )
172  # define EXF_IREAD_USE_GLOBAL_POINTER  # define EXF_IREAD_USE_GLOBAL_POINTER
173  #endif  #endif
174    

Legend:
Removed from v.1.12  
changed lines
  Added in v.1.21

  ViewVC Help
Powered by ViewVC 1.1.22