cross_mod.f
29 lines · 1 definitions · on GitHub (7be4133)
Python version: cross_mod.py, 17 lines, on the right (switch to Python above the code).
Purpose
CROSS_MOD holds the factors by which the nuclear reaction rates are adjusted for user-changed cross sections: the S-factor derivative factors and the N15+p branching factors, shared by 3 routines. It replaces COMMON/CROSS/ (MHP via Claude, 10/14/26), less SSTANDARD (now in NMLPAR_MOD) and LNEWNUC (now in NMLBYPASS_MOD).
What its variables hold, who sets them, who reads them.
QS0E(8),QQS0EE(8): factors on the first-derivative ($Q_2$, $Q_3$) and second-derivative ($Q_4$, $Q_5$) terms of the eight pp and CNO rates, proportional to $S'/S$ and $S''/S$ relative to the reference values (REMAP's comments).REMAPsets them to 1, or, withLNEWNUC, from the user's S-factors and their derivatives.FC12,FO16: the factors on the N15+p → C12+α and → O16+γ branches, 1 or, withLNEWNUC, the ratio of the user's S-factor to the reference; set inREMAP.- All four are read by
ENGEBandRATES, which multiply the rate brackets and the branching ratio by them.
Design
A blanket USE CROSS_MOD in each of the three routines.
Definitions
moduleCROSS_MOD
Change log
The changes since rp_1
Changed since rp_1. New file: COMMON/CROSS/ as a module, with SSTANDARD and LNEWNUC moved to the namelist modules.