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

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

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


Revision 1.29 - (show annotations) (download)
Tue Nov 25 16:07:03 2003 UTC (20 years, 5 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 C $Header: /u/gcmpack/MITgcm/model/inc/CPP_OPTIONS.h,v 1.28 2003/11/04 21:04:51 edhill Exp $
2 C $Name: $
3
4 #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"
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

  ViewVC Help
Powered by ViewVC 1.1.22