|
||||
File indexing completed on 2024-02-29 06:11:14 UTC
view on githubraw file Latest commit a4576c7c on 2024-02-28 22:55:11 UTC11bb4bac97 Jean*0001 C CPP options file for GM/Redi package 0002 C Use this file for selecting options within the GM/Redi package 0003 6d54cf9ca1 Ed H*0004 #ifndef GMREDI_OPTIONS_H 0005 #define GMREDI_OPTIONS_H 0006 #include "PACKAGES_CONFIG.h" 0007 #include "CPP_OPTIONS.h" 0008 a589927d63 Jean*0009 #ifdef ALLOW_GMREDI 0010 C Package-specific Options & Macros go here 0011 11bb4bac97 Jean*0012 C Designed to simplify the Ajoint code: 7b90872916 Jean*0013 C #define GMREDI_WITH_STABLE_ADJOINT 0014 C -- exclude the clipping/tapering part of the code that is not used 11bb4bac97 Jean*0015 C #define GM_EXCLUDE_CLIPPING 7b90872916 Jean*0016 C #define GM_EXCLUDE_FM07_TAP 11bb4bac97 Jean*0017 C #define GM_EXCLUDE_AC02_TAP 0018 C #define GM_EXCLUDE_TAPERING a589927d63 Jean*0019 C #define GM_EXCLUDE_SUBMESO 0020 a4576c7cde Juli*0021 C Allows to read-in background 3-D Redi and GM diffusivity coefficients 0022 C Note: need these to be defined for use as control (pkg/ctrl) parameters 0023 #undef GM_READ_K3D_REDI 0024 #undef GM_READ_K3D_GM 0025 02d717f15f Ed H*0026 C This allows to use Visbeck et al formulation to compute K_GM+Redi 0027 #define GM_VISBECK_VARIABLE_K 7b90872916 Jean*0028 C Use old calculation (before 2007/05/24) of Visbeck etal K_GM+Redi 0029 C (which depends on tapering scheme) 0030 #undef OLD_VISBECK_CALC 11bb4bac97 Jean*0031 a4576c7cde Juli*0032 C This allows to use the GEOMETRIC formulation to compute K_GM 0033 #define GM_GEOM_VARIABLE_K 0034 0035 C This allows the Bates et al formulation to calculate the 0036 C bolus transport and K for Redi 0037 #undef GM_BATES_K3D 0038 #undef GM_BATES_PASSIVE 0039 11bb4bac97 Jean*0040 C This allows the leading diagonal (top two rows) to be non-unity 0041 C (a feature required when tapering adiabatically). 0042 #define GM_NON_UNITY_DIAGONAL 0043 0044 C Allows to use different values of K_GM and K_Redi ; also to 0045 C be used with the advective form (Bolus velocity) of GM 0046 #define GM_EXTRA_DIAGONAL 0047 0048 C Allows to use the advective form (Bolus velocity) of GM 0049 C instead of the Skew-Flux form (=default) 0050 #define GM_BOLUS_ADVEC 0051 a589927d63 Jean*0052 C Allows to use the Boundary-Value-Problem method to evaluate GM Bolus transport 0053 #define GM_BOLUS_BVP 11bb4bac97 Jean*0054 a4576c7cde Juli*0055 C Allow QG Leith variable viscosity to be added to GMRedi coefficient 0056 #undef ALLOW_GM_LEITH_QG 0057 11bb4bac97 Jean*0058 #endif /* ALLOW_GMREDI */ 6d54cf9ca1 Ed H*0059 #endif /* GMREDI_OPTIONS_H */ 7b90872916 Jean*0060 a589927d63 Jean*0061 CEH3 ;;; Local Variables: *** 0062 CEH3 ;;; mode:fortran *** 0063 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 |