Skip to content

Commit 3f5857b

Browse files
d-burgclaude
andcommitted
DOCS - IMPROVEMENT - Record psi_accuracy scan behind the Delta' plateau problem
Adds measured data to the "pinning grid-sensitive Δ′ robustly" open problem: a 64x psi_accuracy scan (2e-3 to 3.125e-5) on the DIII-D-like SLAYER deck. Three findings. The q=4 diagonal does plateau (~1% over the four tightest grids) while q=2 never settles (still moving ~7% between the two tightest), so a plateau criterion would work per-surface and correctly report failure where it does not. The SLAYER growth rate is linear in Δ′ — gamma/dpm[1,1] is 24.1 to within 0.5% across the whole scan — so converging Δ′ is both necessary and sufficient for a converged growth rate on that surface. The blocker is the grid generator rather than the resolution: implied_knot_count after the refined solve grows from 1.7x to 2.2x the grid actually used, so tightening psi_accuracy moves the two-pass scheme further from self-consistency, not closer. Iterating knot refinement to a fixed point is now listed first among the prerequisites. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
1 parent 5717764 commit 3f5857b

1 file changed

Lines changed: 35 additions & 0 deletions

File tree

docs/src/developer_notes.md

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,43 @@ single sample. Where a plateau exists it is a property of the physics rather tha
3939
of the discretization, so it would survive grid changes and would be a genuine
4040
convergence statement.
4141

42+
A `psi_accuracy` scan on the DIII-D-like SLAYER deck (2e-3 down to 3.125e-5, a
43+
64x range) shows what a plateau search is up against:
44+
45+
| psi_accuracy | knots | implied | dpm[1,1] | dpm[2,2] | dpm[3,3] | gamma 2/1 (Hz) |
46+
|---|---|---|---|---|---|---|
47+
| 2.0e-3 | 172 || 6.850 | -5.783 | -16.308 | 165.3 |
48+
| 1.0e-3 | 205 || 6.387 | -5.873 | -16.867 | 154.3 |
49+
| 5.0e-4 | 252 || 8.003 | -6.105 | -16.413 | 192.9 |
50+
| 2.5e-4 | 307 | 522 | 8.567 | -6.235 | -16.529 | 206.2 |
51+
| 1.25e-4 | 372 | 666 | 8.146 | -6.285 | -16.649 | 196.2 |
52+
| 6.25e-5 | 457 | 916 | 8.911 | -6.477 | -16.510 | 214.4 |
53+
| 3.125e-5 | 559 | 1226 | 9.514 | -6.260 | -16.485 | 228.7 |
54+
55+
Three things follow. First, the outer surface `dpm[3,3]` (q=4) *does* plateau —
56+
the last four points agree to about 1% — while `dpm[2,2]` is marginal and
57+
`dpm[1,1]` (q=2) never settles, still moving ~7% between the two tightest grids.
58+
A plateau criterion would therefore succeed per-surface and correctly report
59+
failure for q=2, which is more informative than a single pin that hides it.
60+
61+
Second, the growth rate is linear in Δ′: `gamma/dpm[1,1]` is 24.1 to within 0.5%
62+
across the whole scan, so a converged Δ′ is both necessary and sufficient for a
63+
converged SLAYER growth rate on this surface.
64+
65+
Third — and this is the blocker — the `implied` column (what
66+
`implied_knot_count` requests after the refined solve) grows monotonically
67+
relative to the grid actually used, from 1.7x to 2.2x. The two-pass scheme stops
68+
after pass 2, so tightening `psi_accuracy` moves it *further* from
69+
self-consistency rather than closer, and the warning's advice to "consider
70+
tightening psi_accuracy" is counterproductive in this regime. Until knot
71+
refinement iterates to a fixed point, a plateau search is scanning a moving
72+
target.
73+
4274
This is not implemented. Doing it properly needs:
4375

76+
- knot refinement iterated to a fixed point (repeat the measure-and-re-form
77+
step until `implied_knot_count` stops exceeding the grid in use), since
78+
without it the scan target keeps moving;
4479
- a scan driver over `psi_accuracy` × truncation (`psihigh`, `dmlim`, `qhigh`)
4580
that records the Δ′ diagonal per configuration;
4681
- a plateau/mode detector with an explicit stationarity tolerance, plus a

0 commit comments

Comments
 (0)