/[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.13 - (show annotations) (download)
Thu Aug 6 20:35:17 2015 UTC (8 years, 8 months ago) by gforget
Branch: MAIN
CVS Tags: checkpoint66g, checkpoint66f, checkpoint66e, checkpoint66d, checkpoint66c, checkpoint66b, checkpoint66a, checkpoint66o, checkpoint66n, checkpoint66m, checkpoint66l, checkpoint66k, checkpoint66j, checkpoint66i, checkpoint66h, checkpoint65z, checkpoint65x, checkpoint65y, checkpoint65r, checkpoint65s, checkpoint65p, checkpoint65q, checkpoint65v, checkpoint65w, checkpoint65t, checkpoint65u, checkpoint65o, HEAD
Changes since 1.12: +1 -13 lines
File MIME type: text/plain
- all: remove ALLOW_ECCO_EVOLUTION switch
- offline_exf_seaice: remove unused ECCO CPP switches

1 C $Header: /u/gcmpack/MITgcm/verification/offline_exf_seaice/code_ad/ECCO_CPPOPTIONS.h,v 1.12 2014/10/16 20:09:31 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
28 C ********************************************************************
29 C *** Adjoint Support Package ***
30 C ********************************************************************
31
32 #define ALLOW_AUTODIFF_TAMC
33
34 C >>> Checkpointing as handled by TAMC
35 #define ALLOW_TAMC_CHECKPOINTING
36
37 C >>> DO 2-level checkpointing instead of 3-level
38 #undef AUTODIFF_2_LEVEL_CHECKPOINT
39
40 C >>> Extract adjoint state
41 #define ALLOW_AUTODIFF_MONITOR
42
43 C o use divided adjoint to split adjoint computations
44 #undef ALLOW_DIVIDED_ADJOINT
45
46 c#define ALLOW_AUTODIFF_WHTAPEIO
47 c#define ALLOW_PACKUNPACK_METHOD2
48 c#define AUTODIFF_USE_OLDSTORE_2D
49 c#define AUTODIFF_USE_OLDSTORE_3D
50 c#define EXCLUDE_WHIO_GLOBUFF_2D
51 c#define ALLOW_INIT_WHTAPEIO
52
53 C ********************************************************************
54 C *** Cost function Package ***
55 c ********************************************************************
56 C
57
58 #define ALLOW_THSICE_COST_TEST
59
60 C ********************************************************************
61 C *** Control vector Package ***
62 C ********************************************************************
63 C
64 #define CTRL_SET_PREC_32
65 #define ALLOW_NONDIMENSIONAL_CONTROL_IO
66
67 C >>> Initial values.
68 #define ALLOW_THETA0_CONTROL
69
70 C >>> Atmospheric state and radiation.
71 #define ALLOW_ATEMP_CONTROL
72 #define ALLOW_SWDOWN_CONTROL
73
74 C ********************************************************************
75 C *** External forcing Package ***
76 C ********************************************************************
77
78 C Bulk formulae related flags.
79 #define ALLOW_ATM_TEMP
80 #define ALLOW_ATM_WIND
81 #define ALLOW_DOWNWARD_RADIATION
82 #define ALLOW_RUNOFF
83 #if (defined (ALLOW_ATM_TEMP) || defined (ALLOW_ATM_WIND))
84 # define ALLOW_BULKFORMULAE
85 # undef ALLOW_BULK_LARGEYEAGER04
86 #endif
87
88 C Zenith Angle/Albedo related flags.
89 #ifdef ALLOW_DOWNWARD_RADIATION
90 # undef ALLOW_ZENITHANGLE
91 #endif
92
93 C Use ocean_emissivity*lwdwon in lwFlux. This flag should be define
94 C unless to reproduce old results (obtained with inconsistent old code)
95 #ifdef ALLOW_DOWNWARD_RADIATION
96 # define EXF_LWDOWN_WITH_EMISSIVITY
97 #endif
98
99 C Relaxation to monthly climatologies.
100 #define ALLOW_CLIMSST_RELAXATION
101 #define ALLOW_CLIMSSS_RELAXATION
102
103 C Use spatial interpolation to interpolate
104 C forcing files from input grid to model grid.
105 #undef USE_EXF_INTERPOLATION
106 C for interpolated vector fields, rotate towards model-grid axis
107 C using old rotation formulae (instead of grid-angles)
108 #undef EXF_USE_OLD_VEC_ROTATION
109 C for interpolation around N & S pole, use the old formulation
110 C (no pole symmetry, single vector-comp interp, reset to 0 zonal-comp @ N.pole)
111 #undef EXF_USE_OLD_INTERP_POLE
112
113 #define EXF_INTERP_USE_DYNALLOC
114 #if ( defined (EXF_INTERP_USE_DYNALLOC) && defined (USING_THREADS) )
115 # define EXF_IREAD_USE_GLOBAL_POINTER
116 #endif
117
118 #endif /* ECCO_CPPOPTIONS_H */

  ViewVC Help
Powered by ViewVC 1.1.22