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

llot95e_mod.f

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

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

Variables on this page (4)

cappae, numd, numt, xop95

Purpose

LLOT95E_MOD holds the OPAL95 opacity table interpolated to the surface composition (one $X$ and $Z$), and that $X$, shared by 3 routines. It replaces COMMON/LLOT95E/ (MHP via Claude, 10/14/26), with its member XTAB renamed XOP95 (a name collision resolved before the conversion). The table dimensions NUMT = 70, NUMD = 19 are PRIVATE.

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

  • CAPPAE(NUMT,NUMD): $\log\kappa$ on the ($\log T$, $\log R$) grid at $X$ = XOP95 and $Z$ = ZTAB (LLOT95_MOD), interpolated in $X$ (four points) by OP95XTAB, which SETUPOPAC and SURFOPAC call with the envelope's $X$. Read by OP952D (interpolation in $T$ and $R$).
  • XOP95: the $X$ of that table, set by OP95XTAB; read by GETOPAL95, which uses the 2D interpolation when the local $X$ and $Z$ match the table's to $10^{-4}$.

Design

A blanket USE LLOT95E_MOD. At rp_1, main.f declared the block with its own NUMTT (also 70); that declaration is gone.

Definitions

moduleLLOT95E_MOD

lines 23–34 · GitHub

Used by (3 units)

GETOPAL95, OP952D, OP95XTAB

Change log

The changes since rp_1

Changed since rp_1. New file: COMMON/LLOT95E/ as a module, XTAB renamed XOP95.