|
||||
File indexing completed on 2023-05-28 05:11:05 UTC
view on githubraw file Latest commit b4daa243 on 2023-05-28 03:53:22 UTCb4daa24319 Shre*0001 C CPP options file for GM/Redi package 0002 C Use this file for selecting options within the GM/Redi package 0003 0004 #ifndef GMREDI_OPTIONS_H 0005 #define GMREDI_OPTIONS_H 0006 #include "PACKAGES_CONFIG.h" 0007 #include "CPP_OPTIONS.h" 0008 0009 #ifdef ALLOW_GMREDI 0010 C Package-specific Options & Macros go here 0011 0012 C Designed to simplify the Ajoint code: 0013 C #define GMREDI_WITH_STABLE_ADJOINT 0014 C -- exclude the clipping/tapering part of the code that is not used 0015 #define GM_EXCLUDE_CLIPPING 0016 #define GM_EXCLUDE_FM07_TAP 0017 #define GM_EXCLUDE_AC02_TAP 0018 #undef GM_EXCLUDE_TAPERING 0019 #define GM_EXCLUDE_SUBMESO 0020 0021 C This allows to use Visbeck et al formulation to compute K_GM+Redi 0022 #undef GM_VISBECK_VARIABLE_K 0023 C Use old calculation (before 2007/05/24) of Visbeck etal K_GM+Redi 0024 C (which depends on tapering scheme) 0025 #undef OLD_VISBECK_CALC 0026 0027 C This allows the leading diagonal (top two rows) to be non-unity 0028 C (a feature required when tapering adiabatically). 0029 #define GM_NON_UNITY_DIAGONAL 0030 0031 C Allows to use different values of K_GM and K_Redi ; also to 0032 C be used with the advective form (Bolus velocity) of GM 0033 #define GM_EXTRA_DIAGONAL 0034 0035 C Allows to use the advective form (Bolus velocity) of GM 0036 C instead of the Skew-Flux form (=default) 0037 #define GM_BOLUS_ADVEC 0038 0039 C Allows to use the Boundary-Value-Problem method to evaluate GM Bolus transport 0040 #undef GM_BOLUS_BVP 0041 0042 C Following option avoids specific recomputation in adjoint 0043 C routines of gmredi_x/y/rtransport 0044 C It is not needed, only for tests, and very memory-consuming 0045 #undef GM_AUTODIFF_EXCESSIVE_STORE 0046 0047 #endif /* ALLOW_GMREDI */ 0048 #endif /* GMREDI_OPTIONS_H */ 0049 0050 CEH3 ;;; Local Variables: *** 0051 CEH3 ;;; mode:fortran *** 0052 CEH3 ;;; End: ***
[ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
This page was automatically generated from https://github.com/MITgcm/MITgcm by the 2.2.1-MITgcm-0.1 LXR engine. The LXR team |