/[MITgcm]/MITgcm/verification/offline_exf_seaice/code_ad/ECCO_CPPOPTIONS.h
ViewVC logotype

Annotation of /MITgcm/verification/offline_exf_seaice/code_ad/ECCO_CPPOPTIONS.h

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


Revision 1.12 - (hide annotations) (download)
Thu Oct 16 20:09:31 2014 UTC (9 years, 6 months ago) by gforget
Branch: MAIN
CVS Tags: checkpoint65j, checkpoint65k, checkpoint65h, checkpoint65i, checkpoint65n, checkpoint65l, checkpoint65m, checkpoint65g
Changes since 1.11: +5 -1 lines
File MIME type: text/plain
- define ECCO_CTRL_DEPRECATED

1 gforget 1.12 C $Header: /u/gcmpack/MITgcm/verification/offline_exf_seaice/code_ad/ECCO_CPPOPTIONS.h,v 1.11 2014/10/01 16:06:55 gforget Exp $
2 heimbach 1.1 C $Name: $
3    
4 jmc 1.4 #ifndef ECCO_CPPOPTIONS_H
5     #define ECCO_CPPOPTIONS_H
6 jmc 1.7 c#include "PACKAGES_CONFIG.h"
7     c#include "CPP_OPTIONS.h"
8    
9     C-- Collect here, in a single option-file, options to control which optional
10     C features to compile in packages AUTODIFF, COST, CTRL, ECCO, CAL and EXF.
11     C If used, this option-file needs to be directly included in CPP_OPTIONS.h
12     C Although this method, inherited from ECCO setup, has been traditionally
13     C used for all adjoint built, work is in progess to allow to use the
14     C standard metod (each of the above pkg get its own options from its
15     C specific option-file) also for adjoint built.
16 gforget 1.6 C
17 heimbach 1.1 C ********************************************************************
18     C *** ECCO Package ***
19     C ********************************************************************
20 gforget 1.6 C
21 gforget 1.12
22     C allow use of legacy ecco/ctrl codes
23     #define ECCO_CTRL_DEPRECATED
24    
25 gforget 1.6 C >>> Do a long protocol.
26     #undef ECCO_VERBOSE
27     C >>> use model/src/forward_step.F
28     #define ALLOW_ECCO_EVOLUTION
29 jmc 1.2
30 heimbach 1.1 C ********************************************************************
31     C *** Adjoint Support Package ***
32     C ********************************************************************
33 jmc 1.2
34 heimbach 1.1 #define ALLOW_AUTODIFF_TAMC
35 jmc 1.7
36 heimbach 1.1 C >>> Checkpointing as handled by TAMC
37     #define ALLOW_TAMC_CHECKPOINTING
38 jmc 1.7
39     C >>> DO 2-level checkpointing instead of 3-level
40 jmc 1.8 #undef AUTODIFF_2_LEVEL_CHECKPOINT
41 jmc 1.7
42 heimbach 1.1 C >>> Extract adjoint state
43 gforget 1.6 #define ALLOW_AUTODIFF_MONITOR
44 jmc 1.7
45 heimbach 1.1 C o use divided adjoint to split adjoint computations
46     #undef ALLOW_DIVIDED_ADJOINT
47 gforget 1.6
48     c#define ALLOW_AUTODIFF_WHTAPEIO
49     c#define ALLOW_PACKUNPACK_METHOD2
50     c#define AUTODIFF_USE_OLDSTORE_2D
51     c#define AUTODIFF_USE_OLDSTORE_3D
52     c#define EXCLUDE_WHIO_GLOBUFF_2D
53     c#define ALLOW_INIT_WHTAPEIO
54 heimbach 1.1
55     C ********************************************************************
56     C *** Cost function Package ***
57 gforget 1.6 c ********************************************************************
58 jmc 1.8 C
59 gforget 1.6
60     C >>> Cost function contributions
61     #define ALLOW_ECCO_OLD_FC_PRINT
62 jmc 1.4
63 gforget 1.6 C >>> Initial values.
64     #define ALLOW_THETA0_COST_CONTRIBUTION
65 heimbach 1.1
66 gforget 1.6 C >>> Atmospheric state and radiation.
67     #define ALLOW_ATEMP_COST_CONTRIBUTION
68     #define ALLOW_SWDOWN_COST_CONTRIBUTION
69 heimbach 1.1
70 heimbach 1.9 #define ALLOW_THSICE_COST_TEST
71 heimbach 1.1
72     C ********************************************************************
73     C *** Control vector Package ***
74     C ********************************************************************
75 jmc 1.8 C
76 gforget 1.6 #define CTRL_SET_PREC_32
77     #define ALLOW_NONDIMENSIONAL_CONTROL_IO
78 heimbach 1.1
79     C >>> Initial values.
80 gforget 1.6 #define ALLOW_THETA0_CONTROL
81 heimbach 1.1
82 gforget 1.6 C >>> Atmospheric state and radiation.
83 heimbach 1.1 #define ALLOW_ATEMP_CONTROL
84     #define ALLOW_SWDOWN_CONTROL
85    
86 jmc 1.7 C ********************************************************************
87     C *** External forcing Package ***
88     C ********************************************************************
89    
90     C Bulk formulae related flags.
91     #define ALLOW_ATM_TEMP
92     #define ALLOW_ATM_WIND
93     #define ALLOW_DOWNWARD_RADIATION
94     #define ALLOW_RUNOFF
95     #if (defined (ALLOW_ATM_TEMP) || defined (ALLOW_ATM_WIND))
96     # define ALLOW_BULKFORMULAE
97     # undef ALLOW_BULK_LARGEYEAGER04
98     #endif
99    
100     C Zenith Angle/Albedo related flags.
101     #ifdef ALLOW_DOWNWARD_RADIATION
102     # undef ALLOW_ZENITHANGLE
103     #endif
104    
105     C Use ocean_emissivity*lwdwon in lwFlux. This flag should be define
106     C unless to reproduce old results (obtained with inconsistent old code)
107     #ifdef ALLOW_DOWNWARD_RADIATION
108     # define EXF_LWDOWN_WITH_EMISSIVITY
109     #endif
110    
111     C Relaxation to monthly climatologies.
112     #define ALLOW_CLIMSST_RELAXATION
113     #define ALLOW_CLIMSSS_RELAXATION
114    
115     C Use spatial interpolation to interpolate
116     C forcing files from input grid to model grid.
117     #undef USE_EXF_INTERPOLATION
118     C for interpolated vector fields, rotate towards model-grid axis
119     C using old rotation formulae (instead of grid-angles)
120     #undef EXF_USE_OLD_VEC_ROTATION
121     C for interpolation around N & S pole, use the old formulation
122     C (no pole symmetry, single vector-comp interp, reset to 0 zonal-comp @ N.pole)
123     #undef EXF_USE_OLD_INTERP_POLE
124    
125     #define EXF_INTERP_USE_DYNALLOC
126     #if ( defined (EXF_INTERP_USE_DYNALLOC) && defined (USING_THREADS) )
127     # define EXF_IREAD_USE_GLOBAL_POINTER
128     #endif
129    
130 gforget 1.6 #endif /* ECCO_CPPOPTIONS_H */

  ViewVC Help
Powered by ViewVC 1.1.22