Skip to content

test: validate FMM numerical correctness - #1

Merged
project-relay merged 13 commits into
mainfrom
agent/validate-fmm-correctness
Aug 4, 2026
Merged

test: validate FMM numerical correctness#1
project-relay merged 13 commits into
mainfrom
agent/validate-fmm-correctness

Conversation

@project-relay

Copy link
Copy Markdown
Collaborator

Adds an end-to-end numerical validation harness before changing the solver implementation.

What changed:

  • adds an analytic M2L dipole-orientation check
  • compares FMM forces against an independent O(N^2) softened-gravity reference
  • covers deterministic uniform and asymmetric two-cluster distributions
  • reports RMS and maximum relative force error
  • runs the validation through CTest/CI with deliberately generous 10% RMS smoke-test gates

Why:
The current benchmark establishes runtime scaling but does not establish approximation accuracy. This isolates correctness evidence first so any implementation fixes can be measured rather than inferred from the demo or performance graph.

@project-relay

@project-relay
project-relay marked this pull request as ready for review August 4, 2026 03:17
@project-relay
project-relay merged commit 4601883 into main Aug 4, 2026
4 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