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

cent_mod.f

30 lines · 1 definitions · on GitHub (7be4133)

Python version: cent_mod.py, 16 lines, on the right (switch to Python above the code).

Variables on this page (5)

czsurf_m, czsurf_r, dcenter, pcenter, tcenter

Purpose

CENT_MOD holds the central conditions and the base of the surface convection zone of the last model written. It replaces COMMON/CENT/ (MHP via Claude, 10/14/26).

What its variables hold, who sets them, who reads them. All are set by WRTOUT: TCENTER, PCENTER, DCENTER, the central $\log T$, $\log P$, $\log\rho$; CZsurf_M, the mass of the surface convection zone ($M_\odot$; the star's mass when it is fully convective, 0 without one); CZsurf_R, the radius of its base ($R_\odot$). The main program reads them for the neutrino-flux output.

Definitions

moduleCENT_MOD

lines 19–30 · GitHub

Used by (2 units)

(file level), WRTOUT

Change log

The changes since rp_1

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