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

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

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


Revision 1.29 - (hide annotations) (download)
Tue Nov 25 16:07:03 2003 UTC (20 years, 6 months ago) by heimbach
Branch: MAIN
CVS Tags: checkpoint52d_pre, checkpoint52e_pre, checkpoint52c_post, checkpoint52d_post, branch-netcdf
Branch point for: netcdf-sm0
Changes since 1.28: +9 -5 lines
File MIME type: text/plain
Fixing OPTIONS files for use of exf:
o ALLOW_ECCO not needed
o ECCO_CPPOPTIONS.h should not be included from
  EXF_OPTIONS.h/CAL_OPTIONS.h, but from CPP_OPTIONS.h
  as has been the case in the past
o All cal/exf related options are currently set in
  single header file. Should remain so until we
  agree on a consistent new policy.

1 heimbach 1.29 C $Header: /u/gcmpack/MITgcm/model/inc/CPP_OPTIONS.h,v 1.28 2003/11/04 21:04:51 edhill Exp $
2 jmc 1.15 C $Name: $
3 adcroft 1.17
4 edhill 1.25 #ifndef CPP_OPTIONS_H
5     #define CPP_OPTIONS_H
6    
7 edhill 1.23 C CPP flags controlling particular source code features
8 adcroft 1.10
9 edhill 1.23 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 cnh 1.6 #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 adcroft 1.8
24 edhill 1.24 C o Include/exclude nonHydrostatic code
25     #undef ALLOW_NONHYDROSTATIC
26 edhill 1.23
27     C o Include pressure loading code
28     #define ATMOSPHERIC_LOADING
29 adcroft 1.11
30 adcroft 1.18 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 edhill 1.23 #define EXACT_CONSERV
33 adcroft 1.18
34     C o Allow the use of Non-Linear Free-Surface formulation
35     C this implies that surface thickness (hFactors) vary with time
36 edhill 1.24 #undef NONLIN_FRSURF
37 adcroft 1.7
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 dimitri 1.22
43 cnh 1.6 C o Execution environment support options
44 adcroft 1.3 #include "CPP_EEOPTIONS.h"
45 heimbach 1.13
46     C o Include/exclude code specific to the ECCO/SEALION version.
47 heimbach 1.29 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 edhill 1.25
56     #endif /* CPP_OPTIONS_H */
57    

  ViewVC Help
Powered by ViewVC 1.1.22