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

Contents 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 - (show annotations) (download)
Thu Oct 16 20:09:31 2014 UTC (9 years, 7 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 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 C $Name: $
3
4 #ifndef ECCO_CPPOPTIONS_H
5 #define ECCO_CPPOPTIONS_H
6 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 C
17 C ********************************************************************
18 C *** ECCO Package ***
19 C ********************************************************************
20 C
21
22 C allow use of legacy ecco/ctrl codes
23 #define ECCO_CTRL_DEPRECATED
24
25 C >>> Do a long protocol.
26 #undef ECCO_VERBOSE
27 C >>> use model/src/forward_step.F
28 #define ALLOW_ECCO_EVOLUTION
29
30 C ********************************************************************
31 C *** Adjoint Support Package ***
32 C ********************************************************************
33
34 #define ALLOW_AUTODIFF_TAMC
35
36 C >>> Checkpointing as handled by TAMC
37 #define ALLOW_TAMC_CHECKPOINTING
38
39 C >>> DO 2-level checkpointing instead of 3-level
40 #undef AUTODIFF_2_LEVEL_CHECKPOINT
41
42 C >>> Extract adjoint state
43 #define ALLOW_AUTODIFF_MONITOR
44
45 C o use divided adjoint to split adjoint computations
46 #undef ALLOW_DIVIDED_ADJOINT
47
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
55 C ********************************************************************
56 C *** Cost function Package ***
57 c ********************************************************************
58 C
59
60 C >>> Cost function contributions
61 #define ALLOW_ECCO_OLD_FC_PRINT
62
63 C >>> Initial values.
64 #define ALLOW_THETA0_COST_CONTRIBUTION
65
66 C >>> Atmospheric state and radiation.
67 #define ALLOW_ATEMP_COST_CONTRIBUTION
68 #define ALLOW_SWDOWN_COST_CONTRIBUTION
69
70 #define ALLOW_THSICE_COST_TEST
71
72 C ********************************************************************
73 C *** Control vector Package ***
74 C ********************************************************************
75 C
76 #define CTRL_SET_PREC_32
77 #define ALLOW_NONDIMENSIONAL_CONTROL_IO
78
79 C >>> Initial values.
80 #define ALLOW_THETA0_CONTROL
81
82 C >>> Atmospheric state and radiation.
83 #define ALLOW_ATEMP_CONTROL
84 #define ALLOW_SWDOWN_CONTROL
85
86 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 #endif /* ECCO_CPPOPTIONS_H */

  ViewVC Help
Powered by ViewVC 1.1.22