#define UV_ADV
#define UV_COR
#define UV_VIS2
#define MIX_S_UV
#define TS_MPDATA
#ifdef TS_MPDATA
#undef TS_U3HADVECTION
#undef TS_C4VADVECTION
#else
#define TS_U3HADVECTION
#define TS_C4VADVECTION
#endif
#define DJ_GRADPS
#define TS_DIF2
#define MIX_S_TS

#define SALINITY
#define MASKING
#define SOLVE3D
#define AVERAGES
#define CURVGRID
#define NONLIN_EOS

#undef SEDIMENT
#ifdef SEDIMENT
#undef ANA_SEDIMENT
#define SUSPLOAD
#undef BEDLOAD_MPM
#undef BEDLOAD_SOULSBY
#define ANA_SPFLUX 
#define ANA_BPFLUX
#define RIVER_SEDIMENT
#endif

#undef SSW_BBL /* Sherwood et al. BBL closure */
#ifdef SSW_BBL
# define SSW_CALC_ZNOT /* Computing bottom roughness internally */
# undef SSW_LOGINT /* Logarithmic interpolation of (Ur,Vr) */
# define SSW_CALC_UB /* Computing bottom orbital velocity internally */
# undef SSW_FORM_DRAG_COR /* Activate form drag coefficient */
# undef SSW_ZOBIO /* Biogenic bedform roughness from ripples */
# undef SSW_ZOBL /* Bedload roughness for ripples */
# undef SSW_ZORIP /* Bedform roughness from ripples */
#else
#define UV_QDRAG
#endif

#define ANA_BTFLUX
#define ANA_BSFLUX


#undef QCORRECTION
#undef SCORRECTION

/* %%%%%%%%%%%%% vertical turbulent mixing %%%%%%%%%%%%*/
#define ANA_INITIAL
#define ANA_SMFLUX
#define ANA_STFLUX
#define ANA_SSFLUX
#define MY25_MIXING
#undef GLS_MIXING

#if defined GLS_MIXING || defined MY25_MIXING
# define KANTHA_CLAYSON
# define N2S2_HORAVG
# define Canuto A
#endif

/* %%%%%%%%%%%%%%%%%% tide %%%%%%%%%%%%%%%%%*/
# define SSH_TIDES   
# define UV_TIDES

# ifdef SSH_TIDES           /* if turn on SSH_TIDES  */
# define ADD_FSOBC
# else
# define ANA_FSOBC
# endif

# ifdef  UV_TIDES       /* if turn on UV_TIDES  */
# define ADD_M2OBC
# else
# define ANA_M2OBC
# endif


#undef RADIATION_2D



#define PERFECT_RESTART
#define RST_SINGLE
#undef DIAGNOSTICS_UV
#undef DIAGNOSTICS_TS
#define NO_LBC_ATT