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

liov_mod.f

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

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

Variables on this page (2)

pscal0, pscal1

Purpose

LIOV_MOD holds the overshoot distance below the surface convection zone at the start and end of the step, used for light-element burning with overshoot ("11/91 changed for lithium burning with overshoot"), shared by 5 routines. It replaces COMMON/LIOV/ (MHP via Claude, 10/14/26).

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

  • PSCAL1 (REAL*8): the overshoot distance at the end of the step, ALPHAE times the pressure scale height at the base of the convection zone, $\alpha_e\,P r^2/(\rho\,G m)$ (cm), with LOVSTE and a convective surface; 0 otherwise. Set by GETW and by the main program.
  • PSCAL0: the same at the start of the step. The main program sets it at the start of a run; GETW and BURSMIX copy PSCAL1 into it after burning, for the next step.
  • Read by LIBURN and LIBURN2, which extend the mixed region below the base of the convection zone by them.

Design

A blanket USE LIOV_MOD.

Definitions

moduleLIOV_MOD

lines 19–27 · GitHub

Used by (5 units)

(file level), BURSMIX, GETW, LIBURN, LIBURN2

Change log

The changes since rp_1

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