/[MITgcm]/MITgcm_contrib/ksnow/press_release/code_expt/CPP_OPTIONS.h
ViewVC logotype

Contents of /MITgcm_contrib/ksnow/press_release/code_expt/CPP_OPTIONS.h

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


Revision 1.3 - (show annotations) (download)
Wed Feb 1 12:45:48 2017 UTC (9 years, 7 months ago) by dgoldberg
Branch: MAIN
CVS Tags: HEAD
Changes since 1.2: +1 -2 lines
File MIME type: text/plain
reorganise files to minimize duplicate files from remeshing exp

1 C $Header: /u/gcmpack/MITgcm_contrib/ksnow/press_release/code_expt/CPP_OPTIONS.h,v 1.2 2017/01/30 16:35:09 ksnow Exp $
2 C $Name: $
3
4 #ifndef CPP_OPTIONS_H
5 #define CPP_OPTIONS_H
6
7 #include "PACKAGES_CONFIG.h"
8
9 C CPP flags controlling particular source code features
10
11 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
14
15 C#define ALLOW_RBCS
16
17 C o Include/exclude phi_hyd calculation code
18 #define INCLUDE_PHIHYD_CALCULATION_CODE
19
20 C o Include/exclude call to S/R CONVECT
21 #define INCLUDE_CONVECT_CALL
22
23 C o Include/exclude call to S/R CALC_DIFFUSIVITY
24 #define INCLUDE_CALC_DIFFUSIVITY_CALL
25
26 C o Include/exclude Implicit vertical advection code
27 #define INCLUDE_IMPLVERTADV_CODE
28
29 C o Include/exclude nonHydrostatic code
30 cph#define ALLOW_NONHYDROSTATIC
31
32 C o Include pressure loading code
33 #define ATMOSPHERIC_LOADING
34
35 C o Use "Exact Convervation" of fluid in Free-Surface formulation
36 C so that d/dt(eta) is exactly equal to - Div.Transport
37 #define EXACT_CONSERV
38
39 C o Allow the use of Non-Linear Free-Surface formulation
40 C this implies that surface thickness (hFactors) vary with time
41 #define NONLIN_FRSURF
42 cph#define DISABLE_RSTAR_CODE
43 cph#define DISABLE_SIGMA_CODE
44
45 C o Use "OLD" UV discretisation near boundaries (*not* recommended)
46 C Note - only works with #undef NO_SLIP_LATERAL in calc_mom_rhs.F
47 C because the old code did not have no-slip BCs
48 #undef OLD_ADV_BCS
49
50 C o Execution environment support options
51 #include "CPP_EEOPTIONS.h"
52
53 #define ALLOW_PRESSURE_RELEASE_CODE
54 #define ALLOW_SOLVE4_PS_AND_DRAG
55
56
57
58 C o Include/exclude code specific to the ECCO/SEALION version.
59 C AUTODIFF or EXF package.
60 cph# include "ECCO_CPPOPTIONS.h"
61
62 C o Allow full 3D specification of vertical diffusivity
63 #ifdef ALLOW_DIFFKR_CONTROL
64 C - Need to be defined if using DIFFKR_CONTROL
65 C (alternatively, could have put this in ECCO_CPPOPTIONS)
66 #define ALLOW_3D_DIFFKR
67 #else
68 C - otherwise, can be turned on or off hereafter:
69 #undef ALLOW_3D_DIFFKR
70 #endif /* ALLOW_DIFFKR_CONTROL */
71
72 #endif /* CPP_OPTIONS_H */
73

  ViewVC Help
Powered by ViewVC 1.1.22