/[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.30 - (hide annotations) (download)
Sat Jan 3 00:32:23 2004 UTC (20 years, 5 months ago) by jmc
Branch: MAIN
CVS Tags: checkpoint52l_pre, hrcube4, hrcube5, checkpoint52j_pre, checkpoint52l_post, checkpoint52k_post, checkpoint52f_post, checkpoint52i_pre, hrcube_1, hrcube_2, hrcube_3, checkpoint52e_post, checkpoint52f_pre, checkpoint52i_post, checkpoint52h_pre, checkpoint52j_post
Changes since 1.29: +4 -1 lines
File MIME type: text/plain
add run-time parameter & CPP_OPTION for implicit vertical advection

1 jmc 1.30 C $Header: /u/gcmpack/MITgcm/model/inc/CPP_OPTIONS.h,v 1.29 2003/11/25 16:07:03 heimbach 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 jmc 1.30
24     C o Include/exclude Implicit vertical advection code
25     #define INCLUDE_IMPLVERTADV_CODE
26 adcroft 1.8
27 edhill 1.24 C o Include/exclude nonHydrostatic code
28     #undef ALLOW_NONHYDROSTATIC
29 edhill 1.23
30     C o Include pressure loading code
31     #define ATMOSPHERIC_LOADING
32 adcroft 1.11
33 adcroft 1.18 C o Use "Exact Convervation" of fluid in Free-Surface formulation
34     C so that d/dt(eta) is exactly equal to - Div.Transport
35 edhill 1.23 #define EXACT_CONSERV
36 adcroft 1.18
37     C o Allow the use of Non-Linear Free-Surface formulation
38     C this implies that surface thickness (hFactors) vary with time
39 edhill 1.24 #undef NONLIN_FRSURF
40 adcroft 1.7
41     C o Use "OLD" UV discretisation near boundaries (*not* recommended)
42     C Note - only works with #undef NO_SLIP_LATERAL in calc_mom_rhs.F
43     C because the old code did not have no-slip BCs
44     #undef OLD_ADV_BCS
45 dimitri 1.22
46 cnh 1.6 C o Execution environment support options
47 adcroft 1.3 #include "CPP_EEOPTIONS.h"
48 heimbach 1.13
49     C o Include/exclude code specific to the ECCO/SEALION version.
50 heimbach 1.29 C AUTODIFF or EXF package.
51     C Currently controled by a single header file
52     C For this to work, PACKAGES_CONFIG.h needs to be included!
53     cph#if (defined (ALLOW_AUTODIFF) || \
54     cph defined (ALLOW_ECCO) || \
55     cph defined (ALLOW_EXF))
56     cph# include "ECCO_CPPOPTIONS.h"
57     cph#endif
58 edhill 1.25
59     #endif /* CPP_OPTIONS_H */
60    

  ViewVC Help
Powered by ViewVC 1.1.22