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).
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.
Design
A blanket USE ROTEN_MOD in each routine.
Definitions
moduleROTEN_MOD
Uses modules DIMENSIONS_MOD
Change log
The changes since rp_1
Changed since rp_1. New file: COMMON/ROTEN/ as a module.