/[MITgcm]/MITgcm/verification/OpenAD/code_oad/ECCO_CPPOPTIONS.h
ViewVC logotype

Annotation of /MITgcm/verification/OpenAD/code_oad/ECCO_CPPOPTIONS.h

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


Revision 1.4 - (hide annotations) (download)
Thu Sep 11 19:31:32 2014 UTC (9 years, 9 months ago) by jmc
Branch: MAIN
CVS Tags: HEAD
Changes since 1.3: +1 -1 lines
File MIME type: text/plain
FILE REMOVED
Use pkg specific option file (AUTODIFF_OPTIONS.h, COST_OPTIONS.h and
 CTRL_OPTIONS.h) instead of all options in one file ECCO_CPPOPTIONS.h

1 jmc 1.4 C $Header: /u/gcmpack/MITgcm/verification/OpenAD/code_oad/ECCO_CPPOPTIONS.h,v 1.3 2014/09/09 23:40:36 jmc Exp $
2 utke 1.1 C $Name: $
3    
4 jmc 1.2 #ifndef ECCO_CPPOPTIONS_H
5     #define ECCO_CPPOPTIONS_H
6    
7     C-- Collect here, in a single option-file, options to control which optional
8     C features to compile in packages AUTODIFF, COST, CTRL, ECCO, CAL and EXF.
9     C If used, this option-file needs to be directly included in CPP_OPTIONS.h
10     C Although this method, inherited from ECCO setup, has been traditionally
11     C used for all adjoint built, work is in progess to allow to use the
12     C standard metod (each of the above pkg get its own options from its
13     C specific option-file) also for adjoint built.
14 utke 1.1
15     C ********************************************************************
16     C *** Adjoint Support Package ***
17     C ********************************************************************
18    
19     C o Include/exclude code in order to be able to automatically
20     C differentiate the MITgcmUV by using the Tangent Linear and
21     C Adjoint Model Compiler (TAMC).
22 jmc 1.2
23 jmc 1.3 #undef ALLOW_AUTODIFF_TAMC
24 jmc 1.2
25 utke 1.1 C >>> Checkpointing as handled by TAMC
26     #define ALLOW_TAMC_CHECKPOINTING
27 jmc 1.2
28 utke 1.1 C >>> Extract adjoint state
29     #define ALLOW_AUTODIFF_MONITOR
30 jmc 1.2
31 utke 1.1 C >>> DO 2-level checkpointing instead of 3-level
32     #undef AUTODIFF_2_LEVEL_CHECKPOINT
33 jmc 1.2
34 utke 1.1 C o use divided adjoint to split adjoint computations
35     #undef ALLOW_DIVIDED_ADJOINT
36 jmc 1.2
37 utke 1.1 C ********************************************************************
38 jmc 1.2 C *** Calendar Package ***
39 utke 1.1 C ********************************************************************
40 jmc 1.2
41 utke 1.1 C CPP flags controlling which code is included in the files that
42     C will be compiled.
43    
44     CPH >>>>>> THERE ARE NO MORE CAL OPTIONS TO BE SET <<<<<<
45    
46     C ********************************************************************
47     C *** Cost function Package ***
48     C ********************************************************************
49 jmc 1.2
50 utke 1.1 C >>> Cost function contributions
51     #define ALLOW_COST_TEST
52     #define ALLOW_COST_TSQUARED
53     #undef ALLOW_COST_TRACER
54     #undef ALLOW_COST_ATLANTIC_HEAT
55     #undef ALLOW_COST_ATLANTIC_HEAT_DOMASS
56    
57     #define DISABLE_CTRL_THETA_LIMIT
58    
59     C ********************************************************************
60     C *** Control vector Package ***
61     C ********************************************************************
62 jmc 1.2
63 utke 1.1 #undef ALLOW_NONDIMENSIONAL_CONTROL_IO
64     C >>> Initial values.
65     #define ALLOW_THETA0_CONTROL
66     #define ALLOW_SALT0_CONTROL
67     #undef ALLOW_TR10_CONTROL
68     #undef ALLOW_TAUU0_CONTROL
69     #undef ALLOW_TAUV0_CONTROL
70     #undef ALLOW_SFLUX0_CONTROL
71     #undef ALLOW_HFLUX0_CONTROL
72     #undef ALLOW_SSS0_CONTROL
73     #undef ALLOW_SST0_CONTROL
74     #undef ALLOW_DIFFKR_CONTROL
75     #undef ALLOW_KAPGM_CONTROL
76 jmc 1.2
77     C ********************************************************************
78     #endif /* ECCO_CPPOPTIONS_H */

  ViewVC Help
Powered by ViewVC 1.1.22