alatm01_mod.f
44 lines · 1 definitions · on GitHub (7be4133)
Python version: alatm01_mod.py, 27 lines, on the right (switch to Python above the code).
Variables on this page (14)
alphas, fehs, gls, loldnextgen, nalpha, nfeh, nga, ngl, nta, nteff, p100ls, pls, t100ls, teffls
Purpose
ALATM01_MOD holds the Allard model-atmosphere table, shared by the four Allard routines. It replaces COMMON/ALATM01/ (MHP via Claude, 10/14/26); the sizes NGA = 25 and NTA = 250 are private, since each user declares its own.
What its variables hold, who sets them, who reads them. All are set by ALFILEIN, which reads the table file:
TEFFLs(NTA),GLs(NGA): the grid in $\log T_\mathrm{eff}$ and $\log g$, with their sizesnTEFF,nGL.FeHs(NGA),ALPHAs(NGA), withnFeH,nALPHA: the metallicities and $\alpha$-enhancements found in the file, used only withinALFILEINto choose the table.PLs,P100Ls,T100Ls(NTA×NGA): $\log P$ where $T = T_\mathrm{eff}$, and $\log P$ and $\log T$ at $\tau = 100$ (for the optionLALTPTau100).LOldNextGen: the file's format, set and not read elsewhere.
Read by ALTABINIT (the table's limits), ALPRINT and ALSURFP (the interpolation).
Definitions
moduleALATM01_MOD
Change log
The changes since rp_1
Changed since rp_1. New file: COMMON/ALATM01/ as a module.