pulse1_mod.f
39 lines · 1 definitions · on GitHub (7be4133)
Python version: pulse1_mod.py, 29 lines, on the right (switch to Python above the code).
Purpose
PULSE1_MOD holds the thermodynamic and opacity derivatives at every shell of the interior, stored for the pulsation output, and the switch that makes the envelope routines keep their derivatives. Shared by 6 routines. It replaces COMMON/PULSE1/ (MHP via Claude, 10/14/26); JSON comes from DIMENSIONS_MOD.
What its variables hold, who sets them, who reads them.
PQDP,PQDT,PQED,PQET,PQOD,PQOT,PQCP,PRMU,PEMU(JSONeach): at each shell, the equation of state's $\partial\ln\rho/\partial\ln P$ and $\partial\ln\rho/\partial\ln T$ (QDP,QDT), the energy generation's and the opacity's logarithmic derivatives in $\rho$ and $T$ (QED,QET,QOD,QOT), $c_P$ (QCP), andRMU,EMU. Stored byCOEFFTwhenLPULSEis set;PQDPandPQDTalways, sinceGAM1(SOUND_MOD) and the storage file need them ("JVS 01/11").WRTMODwrites them in the pulsation model;STITCHwritesPQDTto the stored model.LPUMOD: set byENVINTtoLPULPT .AND. LPRT(pulsation output of the envelope);QENVandQATMthen save their point's values inPULSE2_MOD.
Design
A blanket USE PULSE1_MOD in each routine.
Definitions
modulePULSE1_MOD
Uses modules DIMENSIONS_MOD
Change log
The changes since rp_1
Changed since rp_1. New file: COMMON/PULSE1/ as a module.