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

Annotation 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.2 - (hide annotations) (download)
Mon Jan 30 16:35:09 2017 UTC (9 years, 7 months ago) by ksnow
Branch: MAIN
Changes since 1.1: +6 -2 lines
File MIME type: text/plain
update shelfice experiment code for darcy test application

1 ksnow 1.2 C $Header: /u/gcmpack/MITgcm_contrib/ksnow/press_release/code_expt/CPP_OPTIONS.h,v 1.1 2016/12/16 15:25:29 ksnow Exp $
2 ksnow 1.1 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 ksnow 1.2 C#define ALLOW_RBCS
16    
17 ksnow 1.1 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 ksnow 1.2 !#define IMPLICIT_BOTTOMSIDEDRAG
55     #define ALLOW_SOLVE4_PS_AND_DRAG
56    
57 ksnow 1.1
58    
59     C o Include/exclude code specific to the ECCO/SEALION version.
60     C AUTODIFF or EXF package.
61     cph# include "ECCO_CPPOPTIONS.h"
62    
63     C o Allow full 3D specification of vertical diffusivity
64     #ifdef ALLOW_DIFFKR_CONTROL
65     C - Need to be defined if using DIFFKR_CONTROL
66     C (alternatively, could have put this in ECCO_CPPOPTIONS)
67     #define ALLOW_3D_DIFFKR
68     #else
69     C - otherwise, can be turned on or off hereafter:
70     #undef ALLOW_3D_DIFFKR
71     #endif /* ALLOW_DIFFKR_CONTROL */
72    
73     #endif /* CPP_OPTIONS_H */
74    

  ViewVC Help
Powered by ViewVC 1.1.22