/[MITgcm]/MITgcm_contrib/heimbach/OpenAD/code_regress/ECCO_CPPOPTIONS.h
ViewVC logotype

Contents of /MITgcm_contrib/heimbach/OpenAD/code_regress/ECCO_CPPOPTIONS.h

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


Revision 1.3 - (show annotations) (download)
Mon Aug 13 22:25:34 2012 UTC (12 years, 11 months ago) by utke
Branch: MAIN
CVS Tags: HEAD
Changes since 1.2: +24 -15 lines
File MIME type: text/plain
replicate jmc's changes for my internal regression tests

1 C $Header: /u/gcmpack/MITgcm/verification/OpenAD/code_oad/ECCO_CPPOPTIONS.h,v 1.2 2012/08/09 18:15:58 jmc Exp $
2 C $Name: $
3
4 #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
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
23 #define ALLOW_AUTODIFF_TAMC
24
25 C >>> Checkpointing as handled by TAMC
26 #define ALLOW_TAMC_CHECKPOINTING
27
28 C >>> Extract adjoint state
29 #define ALLOW_AUTODIFF_MONITOR
30
31 C >>> DO 2-level checkpointing instead of 3-level
32 #undef AUTODIFF_2_LEVEL_CHECKPOINT
33
34 C o use divided adjoint to split adjoint computations
35 #undef ALLOW_DIVIDED_ADJOINT
36
37 C o Enable some temporary constructs for OpenAD
38 #define ALLOW_AUTODIFF_OPENAD
39
40 C ********************************************************************
41 C *** Calendar Package ***
42 C ********************************************************************
43
44 C CPP flags controlling which code is included in the files that
45 C will be compiled.
46
47 CPH >>>>>> THERE ARE NO MORE CAL OPTIONS TO BE SET <<<<<<
48
49 C ********************************************************************
50 C *** Cost function Package ***
51 C ********************************************************************
52
53 C >>> Cost function contributions
54 #define ALLOW_COST_TEST
55 #define ALLOW_COST_TSQUARED
56 #undef ALLOW_COST_TRACER
57 #undef ALLOW_COST_ATLANTIC_HEAT
58 #undef ALLOW_COST_ATLANTIC_HEAT_DOMASS
59
60 #define DISABLE_CTRL_THETA_LIMIT
61
62 C ********************************************************************
63 C *** Control vector Package ***
64 C ********************************************************************
65
66 #undef ALLOW_NONDIMENSIONAL_CONTROL_IO
67 C >>> Initial values.
68 #define ALLOW_THETA0_CONTROL
69 #define ALLOW_SALT0_CONTROL
70 #undef ALLOW_TR10_CONTROL
71 #undef ALLOW_TAUU0_CONTROL
72 #undef ALLOW_TAUV0_CONTROL
73 #undef ALLOW_SFLUX0_CONTROL
74 #undef ALLOW_HFLUX0_CONTROL
75 #undef ALLOW_SSS0_CONTROL
76 #undef ALLOW_SST0_CONTROL
77 #undef ALLOW_DIFFKR_CONTROL
78 #undef ALLOW_KAPGM_CONTROL
79
80 C ********************************************************************
81 #endif /* ECCO_CPPOPTIONS_H */

  ViewVC Help
Powered by ViewVC 1.1.22