/[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.2 - (hide annotations) (download)
Wed Jan 29 16:12:33 2014 UTC (10 years, 4 months ago) by heimbach
Branch: MAIN
CVS Tags: checkpoint64u, checkpoint64t
Changes since 1.1: +7 -13 lines
File MIME type: text/plain
Add OAD CPP option.

1 heimbach 1.2 C $Header: /u/gcmpack/MITgcm/verification/tutorial_global_oce_optim/code_oad/ECCO_CPPOPTIONS.h,v 1.1 2014/01/17 22:01:16 heimbach Exp $
2 heimbach 1.1 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 heimbach 1.2 C
15 heimbach 1.1 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     C >>> Checkpointing as handled by TAMC
25     #define ALLOW_TAMC_CHECKPOINTING
26    
27     C >>> Extract adjoint state
28     #undef ALLOW_AUTODIFF_MONITOR
29    
30     C o use divided adjoint to split adjoint computations
31     #undef ALLOW_DIVIDED_ADJOINT
32    
33 heimbach 1.2 C o Enable some temporary constructs for OpenAD
34     #define ALLOW_AUTODIFF_OPENAD
35    
36 heimbach 1.1 C ********************************************************************
37     C *** Calendar Package ***
38     C ********************************************************************
39    
40     C CPP flags controlling which code is included in the files that
41     C will be compiled.
42    
43     CPH >>>>>> THERE ARE NO MORE CAL OPTIONS TO BE SET <<<<<<
44    
45     C ********************************************************************
46     C *** Cost function Package ***
47     C ********************************************************************
48    
49     C >>> Cost function contributions
50     #define ALLOW_COST_TEMP
51     #define ALLOW_COST_HFLUXM
52    
53     C ********************************************************************
54     C *** Control vector Package ***
55     C ********************************************************************
56    
57     #define ALLOW_NONDIMENSIONAL_CONTROL_IO
58     C >>> Initial values.
59 heimbach 1.2 #define ALLOW_THETA0_CONTROL
60     #define ALLOW_SALT0_CONTROL
61 heimbach 1.1 #undef ALLOW_TR10_CONTROL
62     #undef ALLOW_TAUU0_CONTROL
63     #undef ALLOW_TAUV0_CONTROL
64     #undef ALLOW_SFLUX0_CONTROL
65     #undef ALLOW_HFLUX0_CONTROL
66     #undef ALLOW_SSS0_CONTROL
67     #undef ALLOW_SST0_CONTROL
68     #undef ALLOW_DIFFKR_CONTROL
69     #undef ALLOW_KAPGM_CONTROL
70     #define ALLOW_HFLUXM_CONTROL
71    
72     C ********************************************************************
73     #endif /* ECCO_CPPOPTIONS_H */

  ViewVC Help
Powered by ViewVC 1.1.22