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

pualpha_mod.f

35 lines · 1 definitions · on GitHub (7be4133)

Python version: pualpha_mod.py, 14 lines, on the right (switch to Python above the code).

Variables on this page (3)

alfmlt, cmxmlt, phmlt

Purpose

PUALPHA_MOD holds three mixing-length quantities at the current point, for the pulsation output. Shared by 2 routines. It replaces COMMON/PUALPHA/ ("DBG 7/95," MHP via Claude, 10/14/26); JSON comes from DIMENSIONS_MOD.

What its variables hold, who sets them, who reads them.

  • ALFMLT, PHMLT, CMXMLT: set to 0 on every entry to TPGRAD and computed nowhere; ENVINT writes them in the envelope's pulsation output (IPVER = 3).

Design

A blanket USE PUALPHA_MOD in each routine. Since the three scalars are always 0, so are the columns written (see TPGRAD's page).

Definitions

modulePUALPHA_MOD

lines 19–35 · GitHub

Uses modules DIMENSIONS_MOD

Used by (2 units)

ENVINT, TPGRAD

Change log

The changes since rp_1

Changed since rp_1. New file: COMMON/PUALPHA/ as a module.

Changed since a8a5950. The per-shell arrays VALFMLT, VPHMLT, and VCMXMLT, always-zero copies of the three scalars that COEFFT stored and WRTMOD wrote, are gone; WRTMOD now writes zeros in their columns. The module still USEs DIMENSIONS_MOD, which nothing in it needs now.