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

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

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

revision 1.5 by dimitri, Fri Sep 16 17:43:32 2005 UTC revision 1.6 by dimitri, Sat Apr 14 18:40:49 2007 UTC
# Line 9  C $Name$ Line 9  C $Name$
9  C CPP flags controlling particular source code features  C CPP flags controlling particular source code features
10    
11  C o Shortwave heating as extra term in external_forcing.F  C o Shortwave heating as extra term in external_forcing.F
12    C Note: this should be a run-time option
13  #define  SHORTWAVE_HEATING  #define  SHORTWAVE_HEATING
14    
15  C o Include/exclude phi_hyd calculation code  C o Include/exclude phi_hyd calculation code
# Line 20  C o Include/exclude call to S/R CONVECT Line 21  C o Include/exclude call to S/R CONVECT
21  C o Include/exclude call to S/R CALC_DIFFUSIVITY  C o Include/exclude call to S/R CALC_DIFFUSIVITY
22  #define INCLUDE_CALC_DIFFUSIVITY_CALL  #define INCLUDE_CALC_DIFFUSIVITY_CALL
23    
24    C o Allow latitudinally varying BryanLewis79 vertical diffusivity
25    #define ALLOW_BL79_LAT_VARY
26    
27    C o Allow full 3D specification of vertical diffusivity
28    #undef ALLOW_3D_DIFFKR
29    
30    C o Include/exclude Implicit vertical advection code
31    #undef INCLUDE_IMPLVERTADV_CODE
32    
33    C o Include/exclude AdamsBashforth-3rd-Order code
34    #undef ALLOW_ADAMSBASHFORTH_3
35    
36  C o Include/exclude nonHydrostatic code  C o Include/exclude nonHydrostatic code
37  #undef ALLOW_NONHYDROSTATIC  #undef ALLOW_NONHYDROSTATIC
38    
# Line 34  C o Allow the use of Non-Linear Free-Sur Line 47  C o Allow the use of Non-Linear Free-Sur
47  C   this implies that surface thickness (hFactors) vary with time  C   this implies that surface thickness (hFactors) vary with time
48  #define NONLIN_FRSURF  #define NONLIN_FRSURF
49    
50    C o ALLOW isotropic scaling of harmonic and bi-harmonic terms when
51    C   using an locally isotropic spherical grid with (dlambda) x (dphi*cos(phi))
52    C *only for use on a lat-lon grid*
53    C   Setting this flag here affects both momentum and tracer equation unless
54    C   it is set/unset again in other header fields (e.g., GAD_OPTIONS.h).
55    C   The definition of the flag is commented to avoid interference with
56    C   such other header files.
57    C   The preferred method is specifying a value for viscAhGrid or viscA4Grid
58    C   in data which is then automatically scaled by the grid size;
59    C   the old method of specifying viscAh/viscA4 and this flag is provided
60    C   for completeness only (and for use with the adjoint).
61    C#undef ISOTROPIC_COS_SCALING
62    
63    C o This flag selects the form of COSINE(lat) scaling of bi-harmonic term.
64    C *only for use on a lat-lon grid*
65    C   Has no effect if ISOTROPIC_COS_SCALING is undefined.
66    C   Has no effect on vector invariant momentum equations.
67    C   Setting this flag here affects both momentum and tracer equation unless
68    C   it is set/unset again in other header fields (e.g., GAD_OPTIONS.h).
69    C   The definition of the flag is commented to avoid interference with
70    C   such other header files.
71    C#undef COSINEMETH_III
72    
73  C o Use "OLD" UV discretisation near boundaries (*not* recommended)  C o Use "OLD" UV discretisation near boundaries (*not* recommended)
74  C   Note - only works with  #undef NO_SLIP_LATERAL  in calc_mom_rhs.F  C   Note - only works with  #undef NO_SLIP_LATERAL  in calc_mom_rhs.F
75  C          because the old code did not have no-slip BCs  C          because the old code did not have no-slip BCs
76  #undef  OLD_ADV_BCS  #undef  OLD_ADV_BCS
77    
78    C o Use LONG.bin, LATG.bin, etc., initialization for ini_curviliear_grid.F
79    C   Default is to use "new" grid files (OLD_GRID_IO undef) but OLD_GRID_IO
80    C   is still useful with, e.g., single-domain curvilinear configurations.
81    #undef OLD_GRID_IO
82    
83  C o Execution environment support options  C o Execution environment support options
84  #include "CPP_EEOPTIONS.h"  #include "CPP_EEOPTIONS.h"
85    
# Line 56  C o Configuration details specific to hi Line 97  C o Configuration details specific to hi
97  #define HRCUBE  #define HRCUBE
98    
99  #endif /* CPP_OPTIONS_H */  #endif /* CPP_OPTIONS_H */
100    

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

  ViewVC Help
Powered by ViewVC 1.1.22