/[MITgcm]/MITgcm/verification/global_ocean.90x40x15/code_ad/ECCO_CPPOPTIONS.h
ViewVC logotype

Annotation of /MITgcm/verification/global_ocean.90x40x15/code_ad/ECCO_CPPOPTIONS.h

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


Revision 1.15 - (hide annotations) (download)
Thu Oct 15 23:14:52 2015 UTC (8 years, 7 months ago) by gforget
Branch: MAIN
CVS Tags: checkpoint65z, checkpoint65x, checkpoint65y, checkpoint65r, checkpoint65s, checkpoint65p, checkpoint65q, checkpoint65v, checkpoint65w, checkpoint65t, checkpoint65u, checkpoint66g, checkpoint66f, checkpoint66e, checkpoint66d, checkpoint66c, checkpoint66b, checkpoint66a, checkpoint66o, checkpoint66n, checkpoint66m, checkpoint66l, checkpoint66k, checkpoint66j, checkpoint66i, checkpoint66h, HEAD
Changes since 1.14: +3 -1 lines
File MIME type: text/plain
- define ALLOW_KAPGM_CONTROL_OLD and ALLOW_KAPREDI_CONTROL_OLD

1 gforget 1.15 C $Header: /u/gcmpack/MITgcm/verification/global_ocean.90x40x15/code_ad/ECCO_CPPOPTIONS.h,v 1.14 2014/04/28 20:47:57 heimbach Exp $
2 edhill 1.4 C $Name: $
3 edhill 1.3
4 jmc 1.13 #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
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.13
23 heimbach 1.2 #define ALLOW_AUTODIFF_TAMC
24 jmc 1.13
25 heimbach 1.2 C >>> Checkpointing as handled by TAMC
26     #define ALLOW_TAMC_CHECKPOINTING
27 jmc 1.13
28 heimbach 1.2 C >>> Extract adjoint state
29 heimbach 1.7 #define ALLOW_AUTODIFF_MONITOR
30 jmc 1.13
31 heimbach 1.8 C >>> DO 2-level checkpointing instead of 3-level
32 heimbach 1.9 #undef AUTODIFF_2_LEVEL_CHECKPOINT
33 jmc 1.13
34 heimbach 1.2 C o use divided adjoint to split adjoint computations
35     #undef ALLOW_DIVIDED_ADJOINT
36 jmc 1.13
37 heimbach 1.11 C o TAMC compatible subroutine parameter list
38     #undef AUTODIFF_TAMC_COMPATIBILITY
39 heimbach 1.2
40     C ********************************************************************
41 jmc 1.13 C *** Calendar Package ***
42 heimbach 1.2 C ********************************************************************
43 jmc 1.13
44 heimbach 1.2 C CPP flags controlling which code is included in the files that
45     C will be compiled.
46 heimbach 1.6
47     CPH >>>>>> THERE ARE NO MORE CAL OPTIONS TO BE SET <<<<<<
48 heimbach 1.2
49     C ********************************************************************
50     C *** Cost function Package ***
51     C ********************************************************************
52 jmc 1.13
53 heimbach 1.2 C >>> Cost function contributions
54     #undef ALLOW_COST_TEST
55     #undef ALLOW_COST_TRACER
56     #define ALLOW_COST_ATLANTIC_HEAT
57    
58     C ********************************************************************
59     C *** Control vector Package ***
60     C ********************************************************************
61 jmc 1.13
62 heimbach 1.2 #undef ALLOW_NONDIMENSIONAL_CONTROL_IO
63 heimbach 1.12 #undef ALLOW_TAMC_SINGLEPREC_COMLEV
64    
65 heimbach 1.2 C >>> Initial values.
66     #define ALLOW_THETA0_CONTROL
67     #define ALLOW_SALT0_CONTROL
68     #undef ALLOW_TR10_CONTROL
69     #define ALLOW_TAUU0_CONTROL
70     #define ALLOW_TAUV0_CONTROL
71     #define ALLOW_SFLUX0_CONTROL
72     #define ALLOW_HFLUX0_CONTROL
73     #undef ALLOW_SSS0_CONTROL
74     #undef ALLOW_SST0_CONTROL
75     #define ALLOW_DIFFKR_CONTROL
76 heimbach 1.10 #define ALLOW_KAPGM_CONTROL
77 gforget 1.15 #define ALLOW_KAPGM_CONTROL_OLD
78 heimbach 1.14 #define ALLOW_KAPREDI_CONTROL
79 gforget 1.15 #define ALLOW_KAPREDI_CONTROL_OLD
80 heimbach 1.14 #define ALLOW_BOTTOMDRAG_CONTROL
81     #define ALLOW_GENARR2D_CONTROL
82 heimbach 1.2
83 jmc 1.13 C ********************************************************************
84     #endif /* ECCO_CPPOPTIONS_H */

  ViewVC Help
Powered by ViewVC 1.1.22