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

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

Variables on this page (4)

json, rbe90, rli60, rli70

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.

  • RLI60, RLI70, RBE90: set by LIRATE88 when called with J = 2 (from the old model), and copied from RLI6, RLI7, RBE9 by GETW and BURSMIX at the end of a step, for the next.
  • Read by LIBURN and LIBURN2, which burn with the rates at both ends of the step.

Design

A blanket USE OLDRAT_MOD.

Definitions

moduleOLDRAT_MOD

lines 19–32 · GitHub

Uses modules DIMENSIONS_MOD

Used by (5 units)

BURSMIX, GETW, LIBURN, LIBURN2, LIRATE88

Change log

The changes since rp_1

Changed since rp_1. New file: COMMON/OLDRAT/ as a module.