Add electrostatic no-op benchmark case with unconverged-reference finding#181
Open
krystophny wants to merge 7 commits into
Open
Add electrostatic no-op benchmark case with unconverged-reference finding#181krystophny wants to merge 7 commits into
krystophny wants to merge 7 commits into
Conversation
This was referenced Jul 13, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Benchmark slice of #175 (no-op comparison against the hat basis), with the
honest outcome: the benchmark cannot gate anything yet, and the committed
case documents why.
KIM/tests/test_data/benchmark_electrostatic/contains a self-containedelectrostatic case (Krook, the profile set of the golden electromagnetic
case), a periodic-solver twin configuration whose layer covers the widest
admissible window for these profiles,
compare_phi.py(raw andgauge-offset-removed L2/Linf on a common window, threshold 5 percent, exit
nonzero on failure), the two windowed profiles, and a README with the
measured numbers and the manual two-command procedure.
Stack: parent
feat/flux-pumping/wp5-driveratfb07a293(#180).Finding
Both solves are unconverged on this case, so no agreement threshold is
meaningful:
by ~11 orders (1.741e10 vs 2.132e-1 statV); offset-removed relative L2
0.975; an optimal complex rescaling still leaves 0.976, so the shapes
are uncorrelated, not misnormalized.
1.072 (not converged).
with the peak growing by 3.6e3: the Krook hat solve diverges under
refinement at omega = 0, consistent with the configuration file's own
"Krook (unstable)" annotation. There is currently no refinement-stable
reference.
No ctest is wired: a threshold on two unconverged solutions either always
fails or encodes the defect. The comparison script and case stay as the
review surface and as the ready harness for the follow-up.
Follow-up this defines
Either a Krook case in a parameter regime where the hat solve is
refinement-stable (finite frequency or higher collisionality), or
continuum FokkerPlanck-form kernels for the periodic side, before the
no-op condition of #175 can be tested. Solver code is deliberately
untouched here.
Verification
Relation to Markus's Fokker-Planck periodic branch
This PR is retained as a negative benchmark record and reusable common-grid comparison harness. It proves that the packaged Krook hat solution is not a converged no-op reference; it does not validate either periodic implementation. Do not tune this case further. The accepted matched FP/Vaclavik benchmark is #190.