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

roten_mod.f

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

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

Variables on this page (2)

derot, json

Purpose

ROTEN_MOD holds the change of rotational kinetic energy at each shell over the step, a term of the energy equation. Shared by 3 routines. It replaces COMMON/ROTEN/ (MHP via Claude, 10/14/26); JSON comes from DIMENSIONS_MOD.

What its variables hold, who sets them, who reads them.

  • DEROT(JSON): $\Delta t\,(E_\mathrm{rot} - E_\mathrm{rot,old})/\Delta m$ at each shell ("7/92"), from HKEROT, HKEROTO and HS2; set by COEFFT when LROT is set, which subtracts it from the luminosity equation. Written by PUTSTORE and STITCH to the stored model.

Design

A blanket USE ROTEN_MOD in each routine.

Definitions

moduleROTEN_MOD

lines 19–30 · GitHub

Uses modules DIMENSIONS_MOD

Used by (3 units)

COEFFT, PUTSTORE, STITCH

Change log

The changes since rp_1

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