Skip to content

Commit 9e026a5

Browse files
logan-ncclaude
andcommitted
REGRESSION - Track the LayerWidths length scales in diiid_slayer_n1
Adds delta_s_abs, delta_norm and delta_visco to the SLAYER case. The two algebraic scales are built from rs/S/P_perp alone, so they pin the layer normalization independently of the del_s Riccati solve -- a drift in either localizes the cause to the parameter build rather than the ODE. The case previously tracked the SLAYER inputs and the extracted roots but nothing from the LayerWidths group, so the new struct fields had no coverage. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01PSrf6JCViFfVzqzkQ66o6b
1 parent 939b31b commit 9e026a5

1 file changed

Lines changed: 27 additions & 0 deletions

File tree

regression-harness/cases/diiid_slayer_n1.toml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -132,6 +132,33 @@ label = "SLAYER no_root flags [2/1,3/1,4/1]"
132132
noise_threshold = 0
133133
order = 34
134134

135+
# Resistive layer widths. delta_s_abs is the Riccati layer thickness; delta_norm and
136+
# delta_visco are algebraic scales derived from rs/S/P_perp, so they pin the layer
137+
# normalization independently of the ODE solve.
138+
[quantities.slayer_delta_s_abs]
139+
h5path = "Tearing/LayerWidths/delta_s_abs"
140+
type = "real_vector"
141+
extract = "all_real"
142+
label = "SLAYER |delta_s| [m]"
143+
noise_threshold = 1e-12
144+
order = 40
145+
146+
[quantities.slayer_delta_norm]
147+
h5path = "Tearing/LayerWidths/delta_norm"
148+
type = "real_vector"
149+
extract = "all_real"
150+
label = "SLAYER delta_norm [m]"
151+
noise_threshold = 1e-12
152+
order = 41
153+
154+
[quantities.slayer_delta_visco]
155+
h5path = "Tearing/LayerWidths/delta_visco"
156+
type = "real_vector"
157+
extract = "all_real"
158+
label = "SLAYER delta_visco [m]"
159+
noise_threshold = 1e-12
160+
order = 42
161+
135162
# Settings (catches accidental config drift)
136163
[quantities.slayer_enabled]
137164
h5path = "Tearing/enabled"

0 commit comments

Comments
 (0)