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

atmprt_mod.f

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

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

Variables on this page (6)

ad, afxion, ao, ap, at, taul

Purpose

ATMPRT_MOD holds the state at the last point of the atmosphere integration (or the fitting point of a tabulated atmosphere), for the envelope integration and the output. It replaces COMMON/ATMPRT/ (MHP via Claude, 10/14/26), where the optical depth was named TAU; it is now TAUL.

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

  • TAUL ($\log\tau$), AP ($\log P$), AT ($\log T$): set by QATM at each point of the atmosphere integration; AP and AT also by the table routines SURFP and KCSURFP, and AT by ALSURFP.
  • AD ($\log\rho$), AO (the opacity), AFXION(3) (the ionization fractions): set by QATM only when the model is stored or written for pulsation (LSAVE, LPUMOD).
  • Read by ENVINT, which writes them with the stored model, and by MASSLOSS (AP, AT) and the table routines.

Definitions

moduleATMPRT_MOD

lines 19–31 · GitHub

Used by (6 units)

ALSURFP, ENVINT, KCSURFP, MASSLOSS, QATM, SURFP

Change log

The changes since rp_1

Changed since rp_1. New file: COMMON/ATMPRT/ as a module, TAU renamed TAUL.