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

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).

Variables on this page (8)

capalex06, id, it, ix, numd, numt, xe, ze

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 to XE, ZE by ALEX06TAB (READALEX06 first fills it with the first composition's table); read by GETALEX06.
  • XE, ZE (initially 0): the composition of the current table; GETALEX06 resets them, and calls ALEX06TAB, when the point's $X$ or $Z$ differs by more than $10^{-8}$.
  • IX (initially 4): the first of the $X$ tables used, set by ALEX06TAB; IT (43) and ID (10): the starting indices in $T$ and $R$ of the search in GETALEX06, which updates them, so each search starts from the last point.

Definitions

moduleALOT06_MOD

lines 29–44 · GitHub

Used by (3 units)

ALEX06TAB, GETALEX06, READALEX06

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.