|
|
|||
File indexing completed on 2026-01-27 06:08:47 UTC
view on githubraw file Latest commit 0039480a on 2025-12-09 18:37:54 UTC6d54cf9ca1 Ed H*0001 #ifndef GMREDI_OPTIONS_H 0002 #define GMREDI_OPTIONS_H 0003 #include "PACKAGES_CONFIG.h" 0004 #include "CPP_OPTIONS.h" 0005 4978411747 Jean*0006 CBOP 0007 C !ROUTINE: GMREDI_OPTIONS.h 0008 C !INTERFACE: 0009 C #include "GMREDI_OPTIONS.h" 0010 0011 C !DESCRIPTION: 0012 C *==================================================================* 0013 C | CPP options file for GM/Redi package: 0014 C | Control which optional features to compile in this package code. 0015 C *==================================================================* 0016 CEOP 0017 d6c8672c92 Jean*0018 #ifdef ALLOW_GMREDI 0019 C Package-specific Options & Macros go here 0020 6d54cf9ca1 Ed H*0021 C Designed to simplify the Ajoint code: ea71059281 Jean*0022 C #define GMREDI_WITH_STABLE_ADJOINT 0023 C -- exclude the clipping/tapering part of the code that is not used bd3f833a36 Jean*0024 C #define GM_EXCLUDE_CLIPPING ea71059281 Jean*0025 C #define GM_EXCLUDE_FM07_TAP bd3f833a36 Jean*0026 C #define GM_EXCLUDE_AC02_TAP 0027 C #define GM_EXCLUDE_TAPERING 050b4366e6 Jean*0028 C #define GM_EXCLUDE_SUBMESO ea71059281 Jean*0029 94a8024bbe Jean*0030 C Allows to read-in background 3-D Redi and GM diffusivity coefficients 0031 C Note: need these to be defined for use as control (pkg/ctrl) parameters 0032 #undef GM_READ_K3D_REDI 0033 #undef GM_READ_K3D_GM 0034 2092dbb101 Patr*0035 C This allows to use Visbeck et al formulation to compute K_GM+Redi 0036 #undef GM_VISBECK_VARIABLE_K 0c49347dc7 Alis*0037 a4576c7cde Juli*0038 C This allows to use the GEOMETRIC formulation to compute K_GM 0039 #undef GM_GEOM_VARIABLE_K 0040 05118ac017 Jean*0041 C This allows the Bates et al formulation to calculate the 0d1e4b948d Mich*0042 C bolus transport and K for Redi 05118ac017 Jean*0043 #undef GM_BATES_K3D 0044 #undef GM_BATES_PASSIVE 0d1e4b948d Mich*0045 0c49347dc7 Alis*0046 C This allows the leading diagonal (top two rows) to be non-unity 0047 C (a feature required when tapering adiabatically). a4b92bfacc Jean*0048 #define GM_NON_UNITY_DIAGONAL 0c49347dc7 Alis*0049 f42e64b3e7 Jean*0050 C Allows to use different values of K_GM and K_Redi ; also to 0051 C be used with the advective form (Bolus velocity) of GM a4b92bfacc Jean*0052 #define GM_EXTRA_DIAGONAL f42e64b3e7 Jean*0053 0054 C Allows to use the advective form (Bolus velocity) of GM 0055 C instead of the Skew-Flux form (=default) a4b92bfacc Jean*0056 #define GM_BOLUS_ADVEC f42e64b3e7 Jean*0057 d0035fac68 Jean*0058 C Allows to use the Boundary-Value-Problem method to evaluate GM Bolus transport 0059 #define GM_BOLUS_BVP 0c49347dc7 Alis*0060 f59d76b0dd Ed D*0061 C Allow QG Leith variable viscosity to be added to GMRedi coefficient 0062 #undef ALLOW_GM_LEITH_QG 0063 f40bb882f5 Jean*0064 C Related to Adjoint-code: 0065 #undef GM_AUTODIFF_EXCESSIVE_STORE 0066 #undef GMREDI_MASK_SLOPES 0067 0c49347dc7 Alis*0068 #endif /* ALLOW_GMREDI */ 6d54cf9ca1 Ed H*0069 #endif /* GMREDI_OPTIONS_H */
| [ 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 |
|