alot06_mod.f
44 lines · 1 definitions · on GitHub (7be4133)
Python version: alot06_mod.py, 23 lines, on the right (switch to Python above the code).
Purpose
ALOT06_MOD holds the table, for the current composition, of the low-temperature opacities of Ferguson et al. (2005), called ALEX06 in the code (READALEX06), with the composition and the starting indices of the search. It replaces COMMON/ALOT06/ (MHP via Claude, 10/14/26); the sizes NUMD = 19 and NUMT = 85 are private. Five members carry initial values, moved from READALEX06's DATA statement (at rp_1); the module's header says they came from PARMIN's DATA statements and calls them namelist variables, but they are in no namelist (a comment copied from the other conversions).
What its variables hold, who sets them, who reads them.
CAPALEX06(NUMT,NUMD): $\log\kappa$ on the $(T, R)$ grid, interpolated toXE,ZEbyALEX06TAB(READALEX06first fills it with the first composition's table); read byGETALEX06.XE,ZE(initially 0): the composition of the current table;GETALEX06resets them, and callsALEX06TAB, when the point's $X$ or $Z$ differs by more than $10^{-8}$.IX(initially 4): the first of the $X$ tables used, set byALEX06TAB;IT(43) andID(10): the starting indices in $T$ and $R$ of the search inGETALEX06, which updates them, so each search starts from the last point.
Definitions
moduleALOT06_MOD
Used by (3 units)
Change log
The changes since rp_1
Changed since rp_1. New file: COMMON/ALOT06/ as a module, with the initial values of XE, ZE, IX, IT, ID moved from READALEX06.