C $Header: /home/ubuntu/mnt/e9_copy/MITgcm/verification/tutorial_dic_adjoffline/code_ad/GMREDI_OPTIONS.h,v 1.1 2009/10/16 16:49:48 heimbach Exp $ C $Name: $ C CPP options file for GM/Redi package C C Use this file for selecting options within the GM/Redi package C #ifndef GMREDI_OPTIONS_H #define GMREDI_OPTIONS_H #include "PACKAGES_CONFIG.h" #include "CPP_OPTIONS.h" #ifdef ALLOW_GMREDI C Designed to simplify the Ajoint code: C exclude the clipping/tapering part of the code that is not used #define GM_EXCLUDE_CLIPPING #define GM_EXCLUDE_AC02_TAP #define GM_EXCLUDE_FM07_TAP #undef GM_EXCLUDE_TAPERING C This allows to use Visbeck et al formulation to compute K_GM+Redi #undef GM_VISBECK_VARIABLE_K C This allows the leading diagonal (top two rows) to be non-unity C (a feature required when tapering adiabatically). #undef GM_NON_UNITY_DIAGONAL C Allows to use different values of K_GM and K_Redi ; also to C be used with the advective form (Bolus velocity) of GM #undef GM_EXTRA_DIAGONAL C Allows to use the advective form (Bolus velocity) of GM C instead of the Skew-Flux form (=default) #undef GM_BOLUS_ADVEC C Following option avoids specific recomputation in adjoint C routines of gmredi_x/y/rtransport C It's not needed, only for tests, and very memory-consuming #undef GM_AUTODIFF_EXCESSIVE_STORE #endif /* ALLOW_GMREDI */ #endif /* GMREDI_OPTIONS_H */