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

comp2_mod.f

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

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

Variables on this page (2)

y3env, yenv

Purpose

COMP2_MOD holds the envelope's helium: YENV (⁴He, $1 - X - Z - Y_3$) and Y3ENV (³He). It replaces COMMON/COMP2/ (MHP via Claude, 10/14/26); it completes COMP_MOD.

Who sets them, who reads them. STARIN sets both from the surface composition; PHYSIC and CHECKC read them.

Definitions

moduleCOMP2_MOD

lines 19–27 · GitHub

Used by (3 units)

CHECKC, PHYSIC, STARIN

Change log

The changes since rp_1

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