|
4 | 4 | Sweeps each resolution / iteration knob independently while holding the |
5 | 5 | others at their current default values. Reports timing (ms/call) and |
6 | 6 | accuracy (% rmax error relative to the pure-Python reference) for the |
7 | | -75-case benchmark grid. |
| 7 | +192-case benchmark grid (Vmax 20-90 m/s, r0 300-2000 km, |
| 8 | +f in {3, 5, 7} x 1e-5 s^-1). |
| 9 | +
|
| 10 | +Note: r0 = 200 km is excluded because the high-Rossby degenerate regime |
| 11 | +produces large bisection sensitivity that inflates the apparent error |
| 12 | +without reflecting normal solver behaviour (see cle15.md). |
8 | 13 |
|
9 | 14 | Usage:: |
10 | 15 |
|
|
54 | 59 | ALPHA_EYE_DEFAULT, |
55 | 60 | ) |
56 | 61 |
|
57 | | -# ── Parameter grid (identical to bench_cle15.py) ───────────────────────────── |
| 62 | +# ── Parameter grid ─────────────────────────────────────────────────────────── |
| 63 | +# r0 = 200 km is excluded from the benchmark grid because the high-Rossby |
| 64 | +# degenerate regime (very small r0, very high Vmax, very low f) produces |
| 65 | +# large sensitivity to bisection termination side and inflates the apparent |
| 66 | +# error without reflecting normal solver behaviour. The instability is |
| 67 | +# documented separately (see cle15.md, MATLAB cross-validation section). |
58 | 68 | VMAX_VALS = [20.0, 30.0, 40.0, 50.0, 60.0, 70.0, 80.0, 90.0] |
59 | | -R0_VALS = [200e3, 400e3, 600e3, 800e3, 1000e3, 1200e3, 1600e3, 2000e3] |
| 69 | +R0_VALS = [300e3, 400e3, 600e3, 800e3, 1000e3, 1200e3, 1600e3, 2000e3] |
60 | 70 | FCOR_VALS = [3e-5, 5e-5, 7e-5] |
61 | 71 |
|
62 | 72 | ALL_CASES: List[Tuple[float, float, float]] = [ |
|
0 commit comments