ctol_mod.f
26 lines · 1 definitions · on GitHub (7be4133)
Python version: ctol_mod.py, 10 lines, on the right (switch to Python above the code).
Variables on this page (1)
Purpose
CTOL_MOD holds FCORR, the fraction of the Henyey correction applied in the current iteration, shared by the main program and CRRECT. It replaces what is left of COMMON/CTOL/ (MHP via Claude, 10/14/26): the block's tolerances and iteration limits (HTOLER, FCORR0, FCORRI, HPTTOL, NITER1–NITER3) are namelist variables now in NMLPAR_MOD.
What its variable holds, who sets it, who reads it.
FCORR(REAL*8): the main program sets it to $|\mathtt{FCORR0}| - \mathtt{FCORRI}$ at the start of each model;CRRECTraises it byFCORRIper iteration, up to 1 (whenFCORR0> 0), and scales the corrections by it.
Design
A blanket USE CTOL_MOD in both routines.
Definitions
moduleCTOL_MOD
Used by (2 units)
Change log
The changes since rp_1
Changed since rp_1. New file: FCORR of COMMON/CTOL/ as a module; the block's other members moved to NMLPAR_MOD.