oldrat_mod.f
32 lines · 1 definitions · on GitHub (7be4133)
Python version: oldrat_mod.py, 19 lines, on the right (switch to Python above the code).
Purpose
OLDRAT_MOD holds the proton-capture rates of ⁶Li, ⁷Li and ⁹Be at each shell for the model at the start of the step, shared by 5 routines; the current model's rates are in NEWRAT_MOD. It replaces COMMON/OLDRAT/ (MHP via Claude, 10/14/26); JSON comes from DIMENSIONS_MOD.
What its variables hold, who sets them, who reads them. All are arrays of JSON.
Design
A blanket USE OLDRAT_MOD.
Definitions
moduleOLDRAT_MOD
Uses modules DIMENSIONS_MOD
Change log
The changes since rp_1
Changed since rp_1. New file: COMMON/OLDRAT/ as a module.