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

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

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


Revision 1.1 - (hide annotations) (download)
Fri Jan 17 22:01:16 2014 UTC (10 years, 4 months ago) by heimbach
Branch: MAIN
File MIME type: text/plain
Prepare for OpenAD

1 heimbach 1.1 C $Header: /u/gcmpack/MITgcm/verification/tutorial_global_oce_optim/code_ad/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 *** ECCO Package ***
17     C ********************************************************************
18    
19     cph#define ALLOW_ECCO_OPTIMIZATION
20    
21     C o Enable some temporary constructs for OpenAD
22     #define ALLOW_AUTODIFF_OPENAD
23    
24     C ********************************************************************
25     C *** Adjoint Support Package ***
26     C ********************************************************************
27    
28     C o Include/exclude code in order to be able to automatically
29     C differentiate the MITgcmUV by using the Tangent Linear and
30     C Adjoint Model Compiler (TAMC).
31    
32     #define ALLOW_AUTODIFF_TAMC
33     C >>> Checkpointing as handled by TAMC
34     #define ALLOW_TAMC_CHECKPOINTING
35    
36     C >>> Extract adjoint state
37     #undef ALLOW_AUTODIFF_MONITOR
38    
39     C o use divided adjoint to split adjoint computations
40     #undef ALLOW_DIVIDED_ADJOINT
41    
42     C ********************************************************************
43     C *** Calendar Package ***
44     C ********************************************************************
45    
46     C CPP flags controlling which code is included in the files that
47     C will be compiled.
48    
49     CPH >>>>>> THERE ARE NO MORE CAL OPTIONS TO BE SET <<<<<<
50    
51     C ********************************************************************
52     C *** Cost function Package ***
53     C ********************************************************************
54    
55     C >>> Cost function contributions
56     #define ALLOW_COST_TEMP
57     #define ALLOW_COST_HFLUXM
58    
59     C ********************************************************************
60     C *** Control vector Package ***
61     C ********************************************************************
62    
63     #define ALLOW_NONDIMENSIONAL_CONTROL_IO
64     C >>> Initial values.
65     #undef ALLOW_THETA0_CONTROL
66     #undef 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     #define ALLOW_HFLUXM_CONTROL
77    
78     C ********************************************************************
79     #endif /* ECCO_CPPOPTIONS_H */

  ViewVC Help
Powered by ViewVC 1.1.22