/*
** svn $Id: ias.h 408 2009-11-04 20:36:07Z arango $
*******************************************************************************
** Copyright (c) 2002-2009 The ROMS/TOMS Group                               **
**   Licensed under a MIT/X style license                                    **
**   See License_ROMS.txt                                                    **
*******************************************************************************
**
** Options for Japan/East Sea Application, 1 km resolution.
**
** Application flag:   JES
** Input script:       jes.in
**
*/



/*
**-----------------------------------------------------------------------------
**  Nonlinear basic state settings.
**-----------------------------------------------------------------------------
*/


/* OPTIONS associated with momentum equations:                               */

#define UV_ADV               /* use to turn ON or OFF advection terms                 */
#define UV_COR               /* use to turn ON or OFF Coriolis term                   */
#undef  UV_C4ADVECTION       /* use to turn ON or OFF 4th-order centered advection    */ 
#define UV_SADVECTION        /* use to turn ON or OFF splines vertical advection      */
#define UV_VIS2              /* use to turn ON or OFF harmonic horizontal mixing      */ 
#undef UV_VIS4              /* use to turn ON or OFF biharmonic horizontal mixing    */ 
#define UV_QDRAG             /* use to turn ON or OFF quadratic bottom friction       */
#define SPLINES_VVISC         /* use if splines reconstruction of vertical viscosity   */ 

#undef LIMIT_BSTRESS        /* use to limit the magnitude of bottom stress*/

/* OPTIONS associated with tracers equations:                                */

#define TS_DIF2              /*use to turn ON or OFF harmonic horizontal mixing      */
#undef TS_DIF4              /*use to turn ON or OFF biharmonic horizontal mixing    */
#undef TS_SMAGORINSKY       /*use to turn ON or OFF Smagorinsky-like diffusion      */
#undef TS_FIXED              /*use if diagnostic run, no evolution of tracers        */
#undef T_PASSIVE             /*use if inert passive tracers (dyes, etc)              */
#undef AGE_MEAN              /*use if computing Mean Age of inert passive tracers    */
#define NONLIN_EOS           /*use if using nonlinear equation of state              */
#define QCORRECTION          /*use if net heat flux correction                       */
#define SALINITY              /*use if having salinity                                */
#define SCORRECTION           /*use if freshwater flux correction                     */
#undef SOLAR_SOURCE          /*use if solar radiation source term                    */
#define SPLINES_VDIFF        /*use if splines reconstruction of vertical diffusion   */
#undef SRELAXATION           /*use if salinity relaxation as a freshwater flux       */
#undef WTYPE_GRID            /*use to turn ON spatially varying Jerlov water type    */ 

#define LIMIT_STFLX_COOLING  /*use to suppress SST cooling below freezing point      */ 
#define TS_MPDATA_LIMIT      /*use to limit upwind corrector fluxes for stability    */ 

/* Pressure gradient algorithm OPTIONS:                                      */

#undef PJ_GRADPQ2          /*use if quartic 2 Pressure Jacobian (Shchepetkin,2000) */
#undef PJ_GRADPQ4           /*use if quartic 4 Pressure Jacobian (Shchepetkin,2000) */ 
#undef DJ_GRADPS            /*use if splines density Jacobian (Shchepetkin, 2000)   */
#define PJ_GRADP            /*use if finite volume Pressure Jacobian (Lin,1997)     */



#undef ATM_PRESS            /*use to impose atmospheric pressure onto sea surface   */
#undef PRESS_COMPENSATE     /*use to compensate for boundary without ATM pressure   */ 

/* OPTIONS for surface fluxes formulation using atmospheric boundary layer   (Fairall et al, 1996): */

#define BULK_FLUXES         /* use if bulk fluxes computation                        */
#define LONGWAVE            /* use if computing net longwave radiation               */
#define EMINUSP             /* use if computing E-P                                  */
#define WIND_MINUS_CURRENT  /* use if compute effective wind by removing current     */



/* OPTIONS for shortwave radiation:                                          */

#undef ALBEDO              /* use if albedo equation for shortwave radiation        */
#undef DIURNAL_SRFLUX      /* use to impose shortwave radiation local diurnal cycle */


/* Model configuration OPTIONS:                                              */

#define SOLVE3D             /* use if solving 3D primitive equations                 */
#define CURVGRID            /* use if curvilinear coordinates grid                   */
#define MASKING             /* use if land/sea masking                               */
#undef BODYFORCE            /* use if applying stresses as bodyforces                */
#undef PROFILE              /* use if time profiling                                 */
#undef AVERAGES             /* use if writing out NLM time-averaged data             */
#undef AVERAGES_DETIDE      /* use if writing out NLM time-averaged detided fields   */
#undef AD_AVERAGES          /* use if writing out ADM time-averaged data             */
#undef RP_AVERAGES          /* use if writing out TLM time-averaged data             */
#undef TL_AVERAGES          /* use if writing out ADM time-averaged data             */
#undef DIAGNOSTICS_BIO      /* use if writing out biological diagnostics             */
#undef DIAGNOSTICS_UV       /* use if writing out momentum diagnostics               */
#undef DIAGNOSTICS_TS       /* use if writing out tracer diagnostics                 */
#undef ICESHELF             /* use if including ice shelf cavities                   */
#undef SINGLE_PRECISION     /* use if single precision arithmetic numerical kernel   */
#undef SPHERICAL            /* use if analytical spherical grid                      */
#undef STATIONS             /* use if writing out station data                       */
#undef STATIONS_CGRID       /* use if extracting data at native C-grid               */




/* OPTIONS for horizontal mixing of momentum:                                */

#define VISC_GRID           /* use to scale viscosity coefficient by grid size       */
#undef MIX_S_UV             /* use if mixing along constant S-surfaces               */
#define MIX_GEO_UV             /* use if mixing on geopotential (constant Z) surfaces */              


/* OPTIONS for horizontal mixing of tracers:                                 */

#define DIFF_GRID           /* use to scale diffusion coefficients by grid size      */
#undef MIX_S_TS             /* use if mixing along constant S-surfaces               */
#define MIX_GEO_TS          /*use if mixing on geopotential (constant Z) surfaces   */





/* OPTIONS for vertical turbulent mixing scheme of momentum and tracers (activate only one closure): */

#undef BVF_MIXING           /* use if Brunt-Vaisala frequency mixing                 */
#define GLS_MIXING          /* use if Generic Length-Scale mixing closure            */
#undef MY25_MIXING          /* use if Mellor/Yamada Level-2.5 closure                */
#undef LMD_MIXING           /* use if Large et al. (1994) interior closure           */

#undef LIMIT_VDIFF          /* use to impose an upper limit on vertical diffusion    */
#undef LIMIT_VVISC          /* use to impose an upper limit on vertical viscosity    */


/* OPTIONS for the Generic Length-Scale closure (Warner et al., 2005):       */

#undef CANUTO_A            /* use if Canuto A-stability function formulation        */
#undef CANUTO_B            /* use if Canuto B-stability function formulation        */
#undef CHARNOK             /* use if Charnok surface roughness from wind stress     */
#undef CRAIG_BANNER        /* use if Craig and Banner wave breaking surface flux    */
#define KANTHA_CLAYSON     /* use if Kantha and Clayson stability function          */
#undef K_C2ADVECTION      /* use if 2nd-order centered advection                   */
#undef K_C4ADVECTION      /* use if 4th-order centered advection                   */
#define N2S2_HORAVG        /* use if horizontal smoothing of buoyancy/shear         */
#define RI_SPLINES         /* use if splines reconstruction for vertical sheer      */
#undef ZOS_HSIG            /* use if surface roughness from wave amplitude          */
#undef TKE_WAVEDISS        /* use if wave breaking surface flux from wave amplitude */

/* OPTIONS for tidal forcing at open boundaries:                             */

#undef SSH_TIDES           /* use if imposing tidal elevation                       */
#undef UV_TIDES            /* use if imposing tidal currents                        */
#undef RAMP_TIDES          /* use if ramping (over one day) tidal forcing           */
#undef FSOBC_REDUCED       /* use if SSH data and reduced physics conditions        */
#undef ADD_FSOBC           /* use to add tidal elevation to processed OBC data      */
#undef ADD_M2OBC           /* use to add tidal currents  to processed OBC data      */

#define DEFLATE            /* use to set compression NetCDF-4/HDF5 format files     */
#define ANA_DQDSST         /* use if analytical surface heat flux sensitivity to SST*/ 
#define ANA_BSFLUX         /* use if analytical bottom salinity flux                */
#define ANA_BTFLUX         /* use if analytical bottom temperature flux             */ 

