zslaol_mod.f
29 lines · 1 definitions · on GitHub (7be4133)
Python version: zslaol_mod.py, 17 lines, on the right (switch to Python above the code).
Purpose
ZSLAOL_MOD holds the density splines of the pure-metal LAOL89 opacity table (ZLAOL_MOD), one natural cubic spline of $\log\kappa$ against $\log\rho$ per temperature, through the table's nonzero entries. Shared by 2 routines. It replaces COMMON/ZSLAOL/ (MHP via Claude, 10/14/26).
What its variables hold, who sets them, who reads them. All are set by ZSULAOL and read by GTPURZ.
NUMRSZ(52): the number of nonzero entries at each temperature, or 0 when there are fewer than four (no spline).ZSLAOLL(104,52),ZSRHOL(104,52): $\log\kappa$ and $\log\rho$ at those entries;ZSDORL(104,52): the spline's second derivatives, fromCSPLINE.
Design
A blanket USE ZSLAOL_MOD in each routine.
Definitions
moduleZSLAOL_MOD
Change log
The changes since rp_1
Changed since rp_1. New file: COMMON/ZSLAOL/ as a module.