#ifndef ECCO_OPTIONS_H
#define ECCO_OPTIONS_H
#include "PACKAGES_CONFIG.h"
#include "CPP_OPTIONS.h"

CBOP
C !ROUTINE: ECCO_OPTIONS.h
C !INTERFACE:
C #include "ECCO_OPTIONS.h"

C !DESCRIPTION:
C *==================================================================*
C | CPP options file for ECCO (ecco) package:
C | Control which optional features to compile in this package code.
C *==================================================================*
CEOP

#ifdef ALLOW_ECCO
#ifdef ECCO_CPPOPTIONS_H

C-- When multi-package option-file ECCO_CPPOPTIONS.h is used (directly included
C    in CPP_OPTIONS.h), this option file is left empty since all options that
C   are specific to this package are assumed to be set in ECCO_CPPOPTIONS.h

#else /* ndef ECCO_CPPOPTIONS_H */

C-- Package-specific Options & Macros go here

C o Allow for generic cost function and integral terms with pkg/ecco:
#define ALLOW_GENCOST_CONTRIBUTION
C o Allow for 3 dimensional generic cost terms with pkg/ecco:
#define ALLOW_GENCOST3D
C   Note regarding GENCOST usage:
C   > In data.ecco, this requires the specification of data file (name,
C     frequency, etc.), bar file name for corresp. model average, standard
C     error file name, etc.
C   > In addition, adding such cost terms requires editing ECCO_SIZE.h to
C     increase NGENCOST/NGENCOST3D, and editing cost_gencost_customize.F to
C     implement the actual model average (i.e. the bar file content).
# undef ALLOW_GENCOST_1D
# undef ALLOW_GENCOST_SSTV4_OUTPUT

C o Use total time-varying volume to weight contributions, if defined
#undef ECCO_VARIABLE_AREAVOLGLOB

C o Include global mean steric sea level correction
#undef ALLOW_PSBAR_STERIC
#ifdef ATMOSPHERIC_LOADING
C   Apply inverse barometer correction (coded within ATMOSPHERIC_LOADING)
# undef ALLOW_IB_CORR
#endif

C o Allow for near-shore and high-latitude altimetry
#undef ALLOW_SHALLOW_ALTIMETRY
#undef ALLOW_HIGHLAT_ALTIMETRY

C o Cost function output format
#undef ALLOW_ECCO_OLD_FC_PRINT

C o Generate more text in STDOUT
#undef ECCO_VERBOSE
#undef ALLOW_ECCO_DEBUG

C-- partially retired options (i.e., only used to set default switch):
# undef ALLOW_SSH_COST_CONTRIBUTION
# undef ALLOW_SST_COST_CONTRIBUTION
# undef ALLOW_SEAICE_COST_CONTRIBUTION

C   ==================================================================
#endif /* ndef ECCO_CPPOPTIONS_H */
#endif /* ALLOW_ECCO */
#endif /* ECCO_OPTIONS_H */
