intpar_mod.f
40 lines · 1 definitions · on GitHub (7be4133)
Python version: intpar_mod.py, 13 lines, on the right (switch to Python above the code).
Purpose
INTPAR_MOD holds the settings of the Bulirsch–Stoer integration of the atmosphere and envelope, shared by PARMIN, ENVINT and BSSTEP. It replaces COMMON/INTPAR/ (MHP via Claude, 10/14/26), the first of the conversion's DATA migrations: the three defaults come from PARMIN's DATA STOLR0,IMAX,NUSE/1.0D-3,11,7/.
What its variables hold, who sets them, who reads them. All three are in the PHYSICS namelist read by PARMIN, so a run can change them; no routine assigns them.
STOLR0(REAL*8, 1.0D-3): the integration tolerance.ENVINTuses it as such for the atmosphere and scales it by $|$SENV$|$ for the envelope.IMAX(INTEGER*4, 11): the largest number of step subdivisionsBSSTEPtries.NUSE(INTEGER*4, 7): the number of points used inBSSTEP's extrapolation to zero step (passed toRATEXT), and the subdivision count that decides the next step.
Design
A blanket USE INTPAR_MOD.
Definitions
moduleINTPAR_MOD
Change log
The changes since rp_1
Changed since rp_1. New file: COMMON/INTPAR/ as a module, with its defaults moved from PARMIN's DATA statement.