/[MITgcm]/MITgcm_contrib/verification_other/global_oce_llc90/code/ECCO_OPTIONS.h
ViewVC logotype

Annotation of /MITgcm_contrib/verification_other/global_oce_llc90/code/ECCO_OPTIONS.h

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


Revision 1.1 - (hide annotations) (download)
Mon Oct 20 03:29:00 2014 UTC (10 years, 9 months ago) by gforget
Branch: MAIN
File MIME type: text/plain
- replace ECCO_CPPOPTIONS.h with separate
  AUTODIFF_OPTIONS.h, CTRL_OPTIONS.h, ECCO_OPTIONS.h

1 gforget 1.1 C $Header: /u/gcmpack/MITgcm_contrib/gael/verification/global_oce_llc90/code/ECCO_OPTIONS.h,v 1.15 2014/10/18 14:22:34 gforget Exp $
2     C $Name: $
3    
4     CBOP
5     C !ROUTINE: ECCO_OPTIONS.h
6     C !INTERFACE:
7     C #include "ECCO_OPTIONS.h"
8    
9     C !DESCRIPTION:
10     C *==================================================================*
11     C | CPP options file for ECCO (ecco) package:
12     C | Control which optional features to compile in this package code.
13     C *==================================================================*
14     CEOP
15    
16     #ifndef ECCO_OPTIONS_H
17     #define ECCO_OPTIONS_H
18     #include "PACKAGES_CONFIG.h"
19     #include "CPP_OPTIONS.h"
20    
21     #ifdef ALLOW_ECCO
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     C
32    
33     C >>> use model/src/forward_step.F
34     #define ALLOW_ECCO_EVOLUTION
35    
36     C >>> Cost function contributions
37     #define ALLOW_ECCO_OLD_FC_PRINT
38    
39     C >>> ALLOW_GENCOST_CONTRIBUTION: interactive way to add basic 2D cost function terms.
40     C > In data.ecco, this requires the specification of data file (name, frequency,
41     C etc.), bar file name for corresp. model average, standard error file name, etc.
42     C > In addition, adding such cost terms requires editing ecco_cost.h to increase
43     C NGENCOST, and editing cost_gencost_customize.F to implement the actual
44     C model average (i.e. the bar file content).
45     #define ALLOW_GENCOST_CONTRIBUTION
46     C >>> free form version of GENCOST: allows one to use otherwise defined elements (e.g.
47     C psbar and and topex data) while taking advantage of the cost function/namelist slots
48     C that can be made available using ALLOW_GENCOST_CONTRIBUTION. To this end
49     C ALLOW_GENCOST_CONTRIBUTION simply switches off tests that check whether all of the
50     C gencost elements (e.g. gencost_barfile and gencost_datafile) are specified in data.ecco.
51     C > While this option increases flexibility within the gencost framework, it implies more room
52     C for error, so it should be used cautiously, and with good knowledge of the rest of pkg/ecco.
53     C > It requires providing a specific cost function routine, and editing cost_gencost_all.F accordingly.
54     #define ALLOW_GENCOST_FREEFORM
55     C >>> 3 dimensional version of GENCOST:
56     #define ALLOW_GENCOST3D
57    
58     c in case there is a single observational file (rather than yearly files)
59     c assume it contains a climatology (otherwise, assume it is a full time series)
60     #define COST_GENERIC_ASSUME_CYCLIC
61    
62     c include global mean steric sea level correction in etanFull
63     #define ALLOW_PSBAR_STERIC
64    
65     C >>> In-Situ Profiles.
66     #define ALLOW_PROFILES_CONTRIBUTION
67    
68     C ==================================================================
69     #endif /* ndef ECCO_CPPOPTIONS_H */
70     #endif /* ALLOW_ECCO */
71     #endif /* ECCO_OPTIONS_H */
72    

  ViewVC Help
Powered by ViewVC 1.1.22