C $Header: /home/ubuntu/mnt/e9_copy/MITgcm/verification/lab_sea/code_ad_seaice_only/Attic/ECCO_CPPOPTIONS.h,v 1.2 2012/02/04 01:46:24 jmc dead $ C $Name: $ C CPP flags controlling which code is included in the files that C will be compiled. C C ******************************************************************** C *** ECCO Package *** C ******************************************************************** C #undef ALLOW_ECCO_FORWARD_RUN #undef ALLOW_ECCO_DIAGNOSTICS_RUN #define ALLOW_ECCO_OPTIMIZATION C ******************************************************************** C *** Adjoint Support Package *** C ******************************************************************** C o Include/exclude code in order to be able to automatically C differentiate the MITgcmUV by using the Tangent Linear and C Adjoint Model Compiler (TAMC). #define INCLUDE_AUTODIFF_PACKAGE C #define ALLOW_AUTODIFF_TAMC C C >>> Checkpointing as handled by TAMC #define ALLOW_TAMC_CHECKPOINTING c c >>> Reduce to 2-level checkpointing #define AUTODIFF_2_LEVEL_CHECKPOINT C C >>> Extract adjoint state #define ALLOW_AUTODIFF_MONITOR C C o use divided adjoint to split adjoint computations #undef ALLOW_DIVIDED_ADJOINT C ******************************************************************** C *** Cost function Package *** C ******************************************************************** C #define ALLOW_COST #ifdef ALLOW_COST C >>> Use the EGM-96 geoid error covariance. # undef ALLOW_EGM96_ERROR_COV # undef ALLOW_READ_EGM_DATA C >>> Use NSCAT data. # undef ALLOW_NSCAT_DATA C >>> Cost function contributions # undef ALLOW_HFLUX_COST_CONTRIBUTION # undef ALLOW_SFLUX_COST_CONTRIBUTION # undef ALLOW_USTRESS_COST_CONTRIBUTION # undef ALLOW_VSTRESS_COST_CONTRIBUTION # define ALLOW_ATEMP_COST_CONTRIBUTION # define ALLOW_AQH_COST_CONTRIBUTION # define ALLOW_UWIND_COST_CONTRIBUTION # define ALLOW_VWIND_COST_CONTRIBUTION # define ALLOW_PRECIP_COST_CONTRIBUTION # define ALLOW_SWDOWN_COST_CONTRIBUTION cph-test # define ALLOW_SST_COST_CONTRIBUTION c >>> Sea-ice volume # define ALLOW_COST_ICE c >>> Sea-ice fractional coverage misfit to SMR obs # define ALLOW_SEAICE_COST_SMR_AREA #endif /* ALLOW_COST */ C ******************************************************************** C *** Control vector Package *** C ******************************************************************** C #undef EXCLUDE_CTRL_PACK #define ALLOW_NONDIMENSIONAL_CONTROL_IO C >>> Initial values. #undef ALLOW_THETA0_CONTROL #undef ALLOW_SALT0_CONTROL C >>> Surface fluxes. #undef ALLOW_HFLUX_CONTROL #undef ALLOW_SFLUX_CONTROL #undef ALLOW_USTRESS_CONTROL #undef ALLOW_VSTRESS_CONTROL C >>> Atmospheric state. #define ALLOW_ATEMP_CONTROL #define ALLOW_AQH_CONTROL #define ALLOW_UWIND_CONTROL #define ALLOW_VWIND_CONTROL #define ALLOW_PRECIP_CONTROL #define ALLOW_SWDOWN_CONTROL cph-test #define ALLOW_SST_CONTROL #undef ALLOW_SSS_CONTROL C ******************************************************************** C *** External forcing Package *** C ******************************************************************** C C Do more printout for the protocol file than usual. #undef EXF_VERBOSE C Options that are required to use pkg/exf with pkg/seaice. #define ALLOW_ATM_TEMP #define ALLOW_ATM_WIND #define ALLOW_DOWNWARD_RADIATION #define ALLOW_BULKFORMULAE #define ALLOW_RUNOFF #undef USE_EXF_INTERPOLATION C Options that control relaxation terms. #undef ALLOW_CLIMTEMP_RELAXATION #undef ALLOW_CLIMSALT_RELAXATION #define ALLOW_CLIMSST_RELAXATION #define ALLOW_CLIMSSS_RELAXATION