/[MITgcm]/MITgcm/model/inc/CPP_OPTIONS.h
ViewVC logotype

Diff of /MITgcm/model/inc/CPP_OPTIONS.h

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

revision 1.3 by adcroft, Tue Jun 9 15:58:35 1998 UTC revision 1.29 by heimbach, Tue Nov 25 16:07:03 2003 UTC
# Line 1  Line 1 
1  C $Header$  C $Header$
2  C  C $Name$
3    
4  #undef ALLOW_CD  #ifndef CPP_OPTIONS_H
5    #define CPP_OPTIONS_H
6    
7    C CPP flags controlling particular source code features
8    
9    C o Shortwave heating as extra term in external_forcing.F
10    C Note: this should be a run-time option and not necessarily dependent on KPP
11    #ifdef ALLOW_KPP
12    #define  SHORTWAVE_HEATING
13    #endif
14    
15    C o Include/exclude phi_hyd calculation code
16    #define INCLUDE_PHIHYD_CALCULATION_CODE
17    
18    C o Include/exclude call to S/R CONVECT
19    #define INCLUDE_CONVECT_CALL
20    
21    C o Include/exclude call to S/R CALC_DIFFUSIVITY
22    #define INCLUDE_CALC_DIFFUSIVITY_CALL
23    
24    C o Include/exclude nonHydrostatic code
25    #undef ALLOW_NONHYDROSTATIC
26    
27    C o Include pressure loading code
28    #define ATMOSPHERIC_LOADING
29    
30    C o Use "Exact Convervation" of fluid in Free-Surface formulation
31    C   so that d/dt(eta) is exactly equal to - Div.Transport
32    #define EXACT_CONSERV
33    
34    C o Allow the use of Non-Linear Free-Surface formulation
35    C   this implies that surface thickness (hFactors) vary with time
36    #undef NONLIN_FRSURF
37    
38    C o Use "OLD" UV discretisation near boundaries (*not* recommended)
39    C   Note - only works with  #undef NO_SLIP_LATERAL  in calc_mom_rhs.F
40    C          because the old code did not have no-slip BCs
41    #undef  OLD_ADV_BCS
42    
43    C o Execution environment support options
44  #include "CPP_EEOPTIONS.h"  #include "CPP_EEOPTIONS.h"
45    
46    C o Include/exclude code specific to the ECCO/SEALION version.
47    C   AUTODIFF or EXF package.
48    C   Currently controled by a single header file
49    C   For this to work, PACKAGES_CONFIG.h needs to be included!
50    cph#if (defined (ALLOW_AUTODIFF) || \
51    cph     defined (ALLOW_ECCO) || \
52    cph     defined (ALLOW_EXF))
53    cph# include "ECCO_CPPOPTIONS.h"
54    cph#endif
55    
56    #endif /* CPP_OPTIONS_H */
57    

Legend:
Removed from v.1.3  
changed lines
  Added in v.1.29

  ViewVC Help
Powered by ViewVC 1.1.22