/[MITgcm]/MITgcm/verification/hs94.1x64x5/code_ad/COST_OPTIONS.h
ViewVC logotype

Annotation of /MITgcm/verification/hs94.1x64x5/code_ad/COST_OPTIONS.h

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


Revision 1.1 - (hide annotations) (download)
Sat Apr 5 21:47:39 2014 UTC (10 years ago) by jmc
Branch: MAIN
CVS Tags: checkpoint64y, checkpoint64x, checkpoint64z, checkpoint64w, checkpoint64v, 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, checkpoint65j, checkpoint65k, checkpoint65h, checkpoint65i, checkpoint65n, checkpoint65o, checkpoint65l, checkpoint65m, checkpoint65b, checkpoint65c, checkpoint65a, checkpoint65f, checkpoint65g, checkpoint65d, checkpoint65e, checkpoint65, HEAD
File MIME type: text/plain
do not use ECCO_CPPOPTIONS.h anymore for this TAF Adjoint experiment.

1 jmc 1.1 C $Header: /u/gcmpack/MITgcm/pkg/cost/COST_OPTIONS.h,v 1.1 2012/08/10 17:28:24 jmc Exp $
2     C $Name: $
3    
4     CBOP
5     C !ROUTINE: COST_OPTIONS.h
6     C !INTERFACE:
7     C #include "COST_OPTIONS.h"
8    
9     C !DESCRIPTION:
10     C *==================================================================*
11     C | CPP options file for Cost-Function (cost) package:
12     C | Control which optional features to compile in this package code.
13     C *==================================================================*
14     CEOP
15    
16     #ifndef COST_OPTIONS_H
17     #define COST_OPTIONS_H
18     #include "PACKAGES_CONFIG.h"
19     #include "CPP_OPTIONS.h"
20    
21     #ifdef ALLOW_COST
22     #ifdef ECCO_CPPOPTIONS_H
23    
24     C-- When multi-package option-file ECCO_CPPOPTIONS.h is used (directly included
25     C in CPP_OPTIONS.h), this option file is left empty since all options that
26     C are specific to this package are assumed to be set in ECCO_CPPOPTIONS.h
27    
28     #else /* ndef ECCO_CPPOPTIONS_H */
29     C ==================================================================
30     C-- Package-specific Options & Macros go here
31    
32     C >>> Use the EGM-96 geoid error covariance.
33     #undef ALLOW_EGM96_ERROR_COV
34     #undef ALLOW_READ_EGM_DATA
35     C >>> Cost function contributions
36     #undef ALLOW_HFLUX_COST_CONTRIBUTION
37     #undef ALLOW_SFLUX_COST_CONTRIBUTION
38     #undef ALLOW_USTRESS_COST_CONTRIBUTION
39     #undef ALLOW_VSTRESS_COST_CONTRIBUTION
40     #undef ALLOW_THETA_COST_CONTRIBUTION
41     #undef ALLOW_SALT_COST_CONTRIBUTION
42     #undef ALLOW_SST_COST_CONTRIBUTION
43     #undef ALLOW_SSS_COST_CONTRIBUTION
44     #undef ALLOW_SSH_COST_CONTRIBUTION
45     #undef ALLOW_CTDT_COST_CONTRIBUTION
46     #undef ALLOW_CTDS_COST_CONTRIBUTION
47     #undef ALLOW_COST_ATLANTIC
48    
49     #define ALLOW_COST_TEST
50     #undef ALLOW_COST_TSQUARED
51     #undef ALLOW_COST_TRACER
52    
53     C >>> ALLOW_GENCOST_CONTRIBUTION: interactive way to add basic 2D cost
54     C function terms.
55     C > In data.ecco, this requires the specification of data file (name,
56     C frequency, etc.), bar file name for corresp. model average, standard
57     C error file name, etc.
58     C > In addition, adding such cost terms requires editing ecco_cost.h to
59     C increase NGENCOST, and editing cost_gencost_customize.F to implement
60     C the actual model average (i.e. the bar file content).
61     #undef ALLOW_GENCOST_CONTRIBUTION
62     C >>> free form version of GENCOST: allows one to use otherwise defined
63     C elements (e.g. psbar and and topex data) while taking advantage of the
64     C cost function/namelist slots that can be made available using
65     C ALLOW_GENCOST_CONTRIBUTION. To this end ALLOW_GENCOST_CONTRIBUTION
66     C simply switches off tests that check whether all of the gencost
67     C elements (e.g. gencost_barfile and gencost_datafile) are specified
68     C in data.ecco.
69     C > While this option increases flexibility within the gencost framework,
70     C it implies more room for error, so it should be used cautiously, and
71     C with good knowledge of the rest of pkg/ecco.
72     C > It requires providing a specific cost function routine, and editing
73     C cost_gencost_all.F accordingly.
74     #undef ALLOW_GENCOST_FREEFORM
75    
76     C ==================================================================
77     #endif /* ndef ECCO_CPPOPTIONS_H */
78     #endif /* ALLOW_COST */
79     #endif /* COST_OPTIONS_H */

  ViewVC Help
Powered by ViewVC 1.1.22