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