qenvmix_mod.f
26 lines · 1 definitions · on GitHub (7be4133)
Python version: qenvmix_mod.py, 10 lines, on the right (switch to Python above the code).
Variables on this page (1)
Purpose
QENVMIX_MOD relays the mixing-length parameter from ENVINT to QENV. Shared by 2 routines. It replaces no rp_1 block: at rp_1, TPGRAD read CMIXL from COMMON/CONST3/; since CMIXL became an argument (9/24/26), QENV must pass it on to TPGRAD, but QENV's argument list cannot change, since it is also called as the DERIV callback of BSSTEP and MMID (QENV's comment). The relay was a COMMON/QENVMIX/ first, then this module (MHP via Claude, 10/14/26).
What its variables hold, who sets them, who reads them.
CMIXLQ: the mixing-length parameter $\alpha$, set toENVINT's argumentCMIXLon every entry toENVINT; read byQENV, which passes it toTPGRAD.
Definitions
moduleQENVMIX_MOD
Change log
The changes since rp_1
Changed since rp_1. New file: a module for CMIXL, formerly read from COMMON/CONST3/.