/[MITgcm]/MITgcm_contrib/arctic40km/code_ad/CPP_OPTIONS.h
ViewVC logotype

Annotation of /MITgcm_contrib/arctic40km/code_ad/CPP_OPTIONS.h

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


Revision 1.2 - (hide annotations) (download)
Wed May 31 21:30:36 2006 UTC (19 years, 1 month ago) by heimbach
Branch: MAIN
Changes since 1.1: +8 -4 lines
File MIME type: text/plain
o adding input_ad
o various changes to adjoint setup compared to forward,
  some of which for initial testing

1 heimbach 1.2 C $Header: /u/gcmpack/MITgcm_contrib/arctic40km/code_ad/CPP_OPTIONS.h,v 1.1 2006/05/03 23:59:39 heimbach Exp $
2 heimbach 1.1 C $Name: $
3    
4     #ifndef CPP_OPTIONS_H
5     #define CPP_OPTIONS_H
6    
7     #include "PACKAGES_CONFIG.h"
8     #include "AD_CONFIG.h"
9    
10     C CPP flags controlling particular source code features
11    
12     C o Shortwave heating as extra term in external_forcing.F
13     #define SHORTWAVE_HEATING
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 heimbach 1.2 C------------------------------------------------------------------
35     C
36 heimbach 1.1 C o Allow the use of Non-Linear Free-Surface formulation
37     C this implies that surface thickness (hFactors) vary with time
38 heimbach 1.2 cph#undef NONLIN_FRSURF
39 heimbach 1.1
40     C o NEW OPTION to disable rStar (z*) code
41 heimbach 1.2 cph#define DISABLE_RSTAR_CODE
42     C
43     C------------------------------------------------------------------
44    
45 heimbach 1.1 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     C o Include/exclude code specific to the ECCO/SEALION version.
54     C AUTODIFF or EXF package.
55     C Currently controled by a single header file
56     C For this to work, PACKAGES_CONFIG.h needs to be included!
57     #include "ECCO_CPPOPTIONS.h"
58    
59     #endif /* CPP_OPTIONS_H */
60    

  ViewVC Help
Powered by ViewVC 1.1.22