atmos2c_mod.f
35 lines · 1 definitions · on GitHub (7be4133)
Python version: atmos2c_mod.py, 18 lines, on the right (switch to Python above the code).
Purpose
ATMOS2C_MOD holds the surface-pressure table used when KTTAU is 5: $\log P$ on a grid of 76 values of $\log T_\mathrm{eff}$ and 11 of $\log g$. It replaces COMMON/ATMOS2C/ (MHP via Claude, 10/14/26); the sizes NGC, NTC are private.
What its variables hold, who sets them, who reads them. SETUPS reads ATMTLC(NTC) ($\log T_\mathrm{eff}$), ATMGLC(NGC) ($\log g$) and ATMPLC(NTC,NGC) ($\log P$) from the file FATM (the table's metallicity goes to ATMZ in ATMOS2_MOD); KCSURFP interpolates in them.
Definitions
moduleATMOS2C_MOD
Change log
The changes since rp_1
Changed since rp_1. New file: COMMON/ATMOS2C/ as a module.