v1.0.1 — Multigrid Solver, Property-Based Testing, PyPI Publication
Highlights
- Geometric multigrid V-cycle solver: Full-weighting restriction, bilinear prolongation, Red-Black SOR smoother with recursive V-cycle for O(N) convergence
- Property-based testing: Hypothesis (Python) + proptest (Rust) covering Petri net topology, compiler shapes, seed determinism, solver convergence, elliptic integral invariants
- PyPI publication:
pip install scpn-fusion now works via OIDC trusted publisher
- Tutorial notebooks: 3 new Jupyter notebooks for core features
Multigrid Solver
| Grid Size |
SOR Iterations |
Multigrid V-cycles |
Speedup |
| 33x33 |
~200 |
~15 |
~13x |
| 65x65 |
~800 |
~20 |
~40x |
| 129x129 |
~3000 |
~25 |
~120x |
Property-Based Testing
| Framework |
Tests |
Coverage |
| Hypothesis (Python) |
20+ |
Petri net topology, compiler shapes, seed determinism, marking bounds |
| proptest (Rust) |
15+ |
Thomas solver, SOR convergence, elliptic integral invariants (Legendre relation), SVD reconstruction, grid consistency |
Tutorial Notebooks
| Notebook |
Description |
02_neuro_symbolic_compiler |
Petri net -> stochastic neuron compilation pipeline |
03_grad_shafranov_equilibrium |
Free-boundary equilibrium solver tutorial |
04_divertor_and_neutronics |
Divertor heat flux & tritium breeding ratio |
Other
SECURITY.md responsible disclosure policy
conftest.py for root pytest configuration
- Updated README with testing section and notebook table
Full Changelog: v1.0.0...v1.0.1