/[MITgcm]/MITgcm/verification/offline_exf_seaice/code_ad/CPP_OPTIONS.h
ViewVC logotype

Diff of /MITgcm/verification/offline_exf_seaice/code_ad/CPP_OPTIONS.h

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

revision 1.4 by gforget, Mon Mar 25 02:38:58 2013 UTC revision 1.5 by gforget, Mon Mar 25 02:39:33 2013 UTC
# Line 4  C $Name$ Line 4  C $Name$
4  #ifndef CPP_OPTIONS_H  #ifndef CPP_OPTIONS_H
5  #define CPP_OPTIONS_H  #define CPP_OPTIONS_H
6    
7    #include "PACKAGES_CONFIG.h"
8    #include "AD_CONFIG.h"
9    
10  CBOP  CBOP
11  C !ROUTINE: CPP_OPTIONS.h  C !ROUTINE: CPP_OPTIONS.h
12  C !INTERFACE:  C !INTERFACE:
# Line 26  C o Include/exclude phi_hyd calculation Line 29  C o Include/exclude phi_hyd calculation
29  #define INCLUDE_PHIHYD_CALCULATION_CODE  #define INCLUDE_PHIHYD_CALCULATION_CODE
30    
31  C o Include/exclude call to S/R CONVECT  C o Include/exclude call to S/R CONVECT
32  #undef INCLUDE_CONVECT_CALL  #define INCLUDE_CONVECT_CALL
33    
34  C o Include/exclude call to S/R CALC_DIFFUSIVITY  C o Include/exclude call to S/R CALC_DIFFUSIVITY
35  #define INCLUDE_CALC_DIFFUSIVITY_CALL  #define INCLUDE_CALC_DIFFUSIVITY_CALL
# Line 38  C o Allow latitudinally varying BryanLew Line 41  C o Allow latitudinally varying BryanLew
41  #undef ALLOW_BL79_LAT_VARY  #undef ALLOW_BL79_LAT_VARY
42    
43  C o Include/exclude Implicit vertical advection code  C o Include/exclude Implicit vertical advection code
44  #undef INCLUDE_IMPLVERTADV_CODE  #define INCLUDE_IMPLVERTADV_CODE
45    
46  C o Include/exclude AdamsBashforth-3rd-Order code  C o Include/exclude AdamsBashforth-3rd-Order code
47  #undef ALLOW_ADAMSBASHFORTH_3  #undef ALLOW_ADAMSBASHFORTH_3
# Line 46  C o Include/exclude AdamsBashforth-3rd-O Line 49  C o Include/exclude AdamsBashforth-3rd-O
49  C o Include/exclude nonHydrostatic code  C o Include/exclude nonHydrostatic code
50  #undef ALLOW_NONHYDROSTATIC  #undef ALLOW_NONHYDROSTATIC
51    
52    C o Allow to account for heating due to friction (and momentum dissipation)
53    #undef ALLOW_FRICTION_HEATING
54    
55  C o Allow mass source or sink of Fluid in the interior  C o Allow mass source or sink of Fluid in the interior
56  C   (3-D generalisation of oceanic real-fresh water flux)  C   (3-D generalisation of oceanic real-fresh water flux)
57  #undef ALLOW_ADDFLUID  #undef ALLOW_ADDFLUID
58    
59  C o Include pressure loading code  C o Include pressure loading code
60  #undef ATMOSPHERIC_LOADING  #define ATMOSPHERIC_LOADING
61    
62  C o exclude/allow external forcing-fields load  C o exclude/allow external forcing-fields load
63  C   this allows to read & do simple linear time interpolation of oceanic  C   this allows to read & do simple linear time interpolation of oceanic
# Line 69  C o Include/exclude GM-like eddy stress Line 75  C o Include/exclude GM-like eddy stress
75    
76  C o Use "Exact Convervation" of fluid in Free-Surface formulation  C o Use "Exact Convervation" of fluid in Free-Surface formulation
77  C   so that d/dt(eta) is exactly equal to - Div.Transport  C   so that d/dt(eta) is exactly equal to - Div.Transport
78  #undef EXACT_CONSERV  #define EXACT_CONSERV
79    
80  C o Allow the use of Non-Linear Free-Surface formulation  C o Allow the use of Non-Linear Free-Surface formulation
81  C   this implies that surface thickness (hFactors) vary with time  C   this implies that surface thickness (hFactors) vary with time
82  #undef NONLIN_FRSURF  #undef NONLIN_FRSURF
83    
84  C o Include/exclude code for single reduction Conjugate-Gradient solver  C o Include/exclude code for single reduction Conjugate-Gradient solver
85  #undef ALLOW_SRCG  #define ALLOW_SRCG
86    
87  C o Choices for implicit solver routines solve_*diagonal.F  C o Choices for implicit solver routines solve_*diagonal.F
88  C   The following has low memory footprint, but not suitable for AD  C   The following has low memory footprint, but not suitable for AD
# Line 107  C   The definition of the flag is commen Line 113  C   The definition of the flag is commen
113  C   such other header files.  C   such other header files.
114  C#define COSINEMETH_III  C#define COSINEMETH_III
115    
116    C o Use "OLD" UV discretisation near boundaries (*not* recommended)
117    C   Note - only works with  #undef NO_SLIP_LATERAL  in calc_mom_rhs.F
118    C          because the old code did not have no-slip BCs
119    #undef  OLD_ADV_BCS
120    
121  C o Use LONG.bin, LATG.bin, etc., initialization for ini_curviliear_grid.F  C o Use LONG.bin, LATG.bin, etc., initialization for ini_curviliear_grid.F
122  C   Default is to use "new" grid files (OLD_GRID_IO undef) but OLD_GRID_IO  C   Default is to use "new" grid files (OLD_GRID_IO undef) but OLD_GRID_IO
123  C   is still useful with, e.g., single-domain curvilinear configurations.  C   is still useful with, e.g., single-domain curvilinear configurations.
# Line 121  C   each of the above pkg get its own op Line 132  C   each of the above pkg get its own op
132  C   Although this method, inherited from ECCO setup, has been traditionally  C   Although this method, inherited from ECCO setup, has been traditionally
133  C   used for all adjoint built, work is in progress to allow to use the  C   used for all adjoint built, work is in progress to allow to use the
134  C   standard method also for adjoint built.  C   standard method also for adjoint built.
135  #ifdef PACKAGES_CONFIG_H  #if (defined (ALLOW_AUTODIFF) || \
136         defined (ALLOW_ECCO) || \
137         defined (ALLOW_EXF))
138  # include "ECCO_CPPOPTIONS.h"  # include "ECCO_CPPOPTIONS.h"
139  #endif  #endif
140    

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

  ViewVC Help
Powered by ViewVC 1.1.22