PyREC scaffolding (from YREC development, 7be4133)/ qenvmix_mod.fGlossary

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)

cmixlq

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 to ENVINT's argument CMIXL on every entry to ENVINT; read by QENV, which passes it to TPGRAD.

Definitions

moduleQENVMIX_MOD

lines 19–26 · GitHub

Used by (2 units)

ENVINT, QENV

Change log

The changes since rp_1

Changed since rp_1. New file: a module for CMIXL, formerly read from COMMON/CONST3/.