/* ** svn $Id: ias.h 889 2018-02-10 03:32:52Z arango $ ******************************************************************************* ** Copyright (c) 2002-2019 The ROMS/TOMS Group ** ** Licensed under a MIT/X style license ** ** See License_ROMS.txt ** ******************************************************************************* ** ** Options for Intra-America Sea Application, 20 km resolution. ** ** Application flag: IAS ** Input script: ocean_ias.in ** s4dvar.in */ #define ROMS_MODEL #undef AFT_EIGENMODES /* Adjoint Finite Time Eigenmodes */ #undef CORRELATION /* Background-error Correlation Check */ #undef FORCING_SV /* Forcing Singular Vectors */ #undef FT_EIGENMODES /* Finite Time Eigenmodes */ #undef IS4DVAR /* Incremental, strong constraint 4DVAR */ #define NLM_DRIVER /* Nonlinear Basic State trajectory */ #undef OPT_PERTURBATION /* Optimal perturbations */ #undef PICARD_TEST /* Picard Iterations Test */ #undef R_SYMMETRY /* Representer Matrix Symmetry Test */ #undef SANITY_CHECK /* Sanity Check */ #undef SO_SEMI /* Stochastic Optimals: Semi-norm */ #undef TLM_CHECK /* Tangent Linear Model Check */ #undef W4DPSAS /* Weak constraint 4D-PSAS */ #undef W4DVAR /* Weak constraint 4DVAR */ #undef VERIFICATION /* NL Observation Verification Driver */ #undef NORMALIZATION /* Background error Covariance Normalization */ #undef AD_SENSITIVITY /* Adjoint Sensitivity Driver */ /* **----------------------------------------------------------------------------- ** Nonlinear basic state settings. **----------------------------------------------------------------------------- */ #define AVERAGES #define AVERAGES_FLUXES #define UV_ADV #define DJ_GRADPS #define UV_COR #define UV_QDRAG #define UV_VIS2 #define MIX_S_UV #define SPLINES_VDIFF #define SPLINES_VVISC #define TS_U3HADVECTION #define TS_C4VADVECTION #define SOLVE3D #define SALINITY #define NONLIN_EOS #define CURVGRID #define MASKING #define SRELAXATION #undef LMD_MIXING #ifdef LMD_MIXING # define LMD_RIMIX # define LMD_CONVEC # define LMD_SKPP # define LMD_NONLOCAL # define RI_SPLINES #endif #define GLS_MIXING #ifdef GLS_MIXING # undef LMD_MIXING # define KANTHA_CLAYSON # define N2S2_HORAVG # define RI_SPLINES #endif #undef BIO_FENNEL #ifdef BIO_FENNEL # define CARBON # define DENITRIFICATION # define BIO_SEDIMENT # define DIAGNOSTICS_BIO # define ANA_SPFLUX # define ANA_BPFLUX #endif #define BULK_FLUXES #ifdef BULK_FLUXES # undef QCORRECTION # undef LONGWAVE # define LONGWAVE_OUT # undef CLOUDS #else # define QCORRECTION # define SOLAR_SOURCE # define DIURNAL_SRFLUX #endif #define ANA_BSFLUX #define ANA_BTFLUX #undef ANA_PERTURB #define FORWARD_WRITE #undef OUT_DOUBLE #undef FORWARD_READ #undef FORWARD_MIXING /* **----------------------------------------------------------------------------- ** Variational Data Assimilation. **----------------------------------------------------------------------------- */ #ifdef NORMALIZATION # undef MULTIPLE_TLM # undef AVERAGES # undef AVOID_ADJOINT # undef W4DVAR # undef R_SYMMETRY # define CORRELATION # undef CONVOLVE # define VCONVOLUTION # define IMPLICIT_VCONV # undef TLM_CHECK # undef BALANCE_OPERATOR # define FULL_GRID # define FORWARD_WRITE # define FORWARD_READ # define FORWARD_MIXING # define OUT_DOUBLE #endif #if defined IS4DVAR || defined IS4DVAR_OLD # undef MULTIPLE_TLM # undef AVERAGES # undef AVOID_ADJOINT # undef W4DVAR # undef R_SYMMETRY # undef CORRELATION # undef CONVOLVE # define VCONVOLUTION # define IMPLICIT_VCONV # undef TLM_CHECK # undef BALANCE_OPERATOR # define FULL_GRID # define FORWARD_WRITE # define FORWARD_READ # define FORWARD_MIXING # define OUT_DOUBLE #endif #ifdef W4DVAR # undef AVERAGES # undef AVOID_ADJOINT # undef IS4DVAR # undef R_SYMMETRY # undef CORRELATION # define CONVOLVE # define VCONVOLUTION # define IMPLICIT_VCONV # define RPM_RELAXATION # undef TLM_CHECK # define FULL_GRID # define FORWARD_WRITE # define FORWARD_READ # define FORWARD_MIXING # define OUT_DOUBLE #endif #ifdef W4DPSAS # undef AVERAGES # undef AVOID_ADJOINT # undef IS4DVAR # undef R_SYMMETRY # undef CORRELATION # define CONVOLVE # define VCONVOLUTION # define IMPLICIT_VCONV # undef TLM_CHECK # define FULL_GRID # define FORWARD_WRITE # define FORWARD_READ # define FORWARD_MIXING # define OUT_DOUBLE #endif #ifdef SANITY_CHECK # define FULL_GRID # define FORWARD_READ # define FORWARD_WRITE # define FORWARD_MIXING # define OUT_DOUBLE # define ANA_PERTURB # define ANA_INITIAL #endif