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

zlaol_mod.f

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

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

Variables on this page (5)

numrhoz, numtz, zolaol, zorho, zot

Purpose

ZLAOL_MOD holds the LAOL89 opacity table for pure metals ("pure Z," "DBG 12/95"), as read, used at high $Z$ and $T$ when LPUREZ is set. Shared by 3 routines. It replaces COMMON/ZLAOL/ (MHP via Claude, 10/14/26). The dimensions (104 densities, 52 temperatures) are literal, as in the block.

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

  • ZOLAOL(104,52): the opacity $\kappa$ at each density and temperature (0 where the table has no entry); ZORHO(104), ZOT(52): the density and temperature grids; NUMRHOZ, NUMTZ: their sizes. All read from the file by RDZLAOL.
  • ZSULAOL reads them to build the splines of ZSLAOL_MOD, and replaces ZOT by $\log_{10}$ ZOT in place; GTPURZ then searches ZOT (as $\log T$) with NUMTZ.

Design

A blanket USE ZLAOL_MOD in each routine. Since ZSULAOL takes the log of ZOT in place, it must run exactly once after each RDZLAOL.

Definitions

moduleZLAOL_MOD

lines 19–30 · GitHub

Used by (3 units)

GTPURZ, RDZLAOL, ZSULAOL

Change log

The changes since rp_1

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