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

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

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

revision 1.5 by dimitri, Wed Jul 28 22:48:02 2010 UTC revision 1.6 by dimitri, Mon Mar 19 20:31:59 2012 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.
# Line 137  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
# Line 156  C   Zenith Angle/Albedo related flags. Line 150  C   Zenith Angle/Albedo related flags.
150  # undef ALLOW_ZENITHANGLE  # undef ALLOW_ZENITHANGLE
151  #endif  #endif
152    
153    C   Use ocean_emissivity*lwdwon in lwFlux. This flag should be define
154    C   unless to reproduce old results (obtained with inconsistent old code)
155    #ifdef ALLOW_DOWNWARD_RADIATION
156    # define 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 163  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  #define USE_EXF_INTERPOLATION  #define USE_EXF_INTERPOLATION
166  C   runoff is a special case for which one might want to bypass  C   for interpolated vector fields, rotate towards model-grid axis
167  C   interpolation from an input grid  C   using old rotation formulae (instead of grid-angles)
168  #ifdef USE_EXF_INTERPOLATION  #undef EXF_USE_OLD_VEC_ROTATION
169  # undef USE_NO_INTERP_RUNOFF  C   for interpolation around N & S pole, use the old formulation
170  #endif  C   (no pole symmetry, single vector-comp interp, reset to 0 zonal-comp @ N.pole)
171    #undef EXF_USE_OLD_INTERP_POLE
172    
173  #define EXF_INTERP_USE_DYNALLOC  #define EXF_INTERP_USE_DYNALLOC
174  #if ( defined (EXF_INTERP_USE_DYNALLOC) & defined (USING_THREADS) )  #if ( defined (EXF_INTERP_USE_DYNALLOC) && defined (USING_THREADS) )
175  # define EXF_IREAD_USE_GLOBAL_POINTER  # define EXF_IREAD_USE_GLOBAL_POINTER
176  #endif  #endif
177    

Legend:
Removed from v.1.5  
changed lines
  Added in v.1.6

  ViewVC Help
Powered by ViewVC 1.1.22