Skip to content

Measure the change of H as a frequency mismatch in step control - #93

Merged
DavidMStraub merged 1 commit into
proximafusion:mainfrom
DavidMStraub:feat/frequency-mismatch-error
Nov 13, 2026
Merged

DavidMStraub merged 1 commit into
proximafusion:mainfrom
DavidMStraub:feat/frequency-mismatch-error

Conversation

@DavidMStraub

Copy link
Copy Markdown
Collaborator

The dispersion term of the step-size controller now measures the change of H over a step as the relative frequency mismatch δω/ω = |ΔH| / |ω ∂H/∂ω| at fixed wave vector, instead of |ΔH| / (2|N|). This does not depend on how H is normalized, and in vacuum it is the same as before (the change of |N|). The test compares ω ∂H/∂ω against a finite difference at fixed k.

This is taken from #91 by @alpxp, without the other changes in that PR.

Validation against Travis 13.3.1 (1000 samples each): compared with main on the same samples, Raytrax τ is unchanged in the median (max 0.9 %, O2) and the deposition location moves by at most 0.004 in ρ. Failure counts are the same. The trajectory statistics are unchanged. Wall time per ray is unchanged. The gradient of the deposition centroid with respect to the launch direction agrees with the one at rtol = 1e-9 to 1.6 % (main: 1.8 %).

The dispersion term of the step-size controller now divides the change of H
by |ω ∂H/∂ω| at fixed wave vector, i.e. it controls the relative frequency
mismatch δω/ω instead of |ΔH|/(2|N|). The measure does not depend on how H
is normalized and equals the change of |N| in vacuum, as before.

Taken from proximafusion#91 by @alpxp.
@DavidMStraub
DavidMStraub merged commit 144e8e4 into proximafusion:main Nov 13, 2026
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant