Skip to content

Add hadron spectroscopy examples to GEM - #56

Merged
ohno merged 5 commits into
mainfrom
codex/issue-39-charmonium
Sep 16, 2026
Merged

ohno merged 5 commits into
mainfrom
codex/issue-39-charmonium

Conversation

@ohno

@ohno ohno commented Aug 14, 2026 •

Copy link
Copy Markdown
Member

Closes #39.

Summary

Add the three requested hadron spectroscopy examples to the Gaussian Expansion Method documentation:

  • Lambda_c(1/2+) using the Kim, Hiyama, Oka, and Suzuki parameters.
  • eta_c(1S) using the Meng, Wang, and Oka AL1 parameters.
  • eta_c(1S) using the Arifi, Happ, Ohno, and Oka semirelativistic parameters.

Document each Hamiltonian, natural units, spin factors, and the role of RestEnergy with RelativisticKinetic. Preserve the parameters, basis ranges, executable examples, and three regression tests from the existing draft. Move the examples from the Rayleigh–Ritz page to GEM, as requested in the issue.

The calculated masses are 2286.000, 3005.252, and 3020.148 MeV. Explicitly document that the Arifi example differs from the issue's quoted 3019 MeV by about 1.15 MeV; the reference-comparison tolerances do not establish numerical convergence.

Validation

  • All three executable example blocks are unchanged from the previous draft commit bae293a, whose CI passed.
  • Patch application and the move of all three example blocks were checked locally.
  • Julia is unavailable in the current local environment; the updated documentation and package tests are being checked by GitHub Actions.

The original implementation was developed with assistance from Codex using GPT-5.6 Sol. The GEM documentation follow-up was also prepared with Codex assistance.

@MartinMikkelsen

Copy link
Copy Markdown
Member

Also done here

@ohno

ohno commented Aug 19, 2026 •

Copy link
Copy Markdown
Member Author

@MartinMikkelsen
I added more and better examples
#39 (comment)

I will also have this pull request fixed.

@ohno ohno changed the title Add charmonium example Add hadron spectroscopy examples Aug 19, 2026
@ohno ohno mentioned this pull request Aug 20, 2026
5 tasks
@MartinMikkelsen MartinMikkelsen mentioned this pull request Sep 2, 2026
@ohno ohno changed the title Add hadron spectroscopy examples Add hadron spectroscopy examples to GEM Sep 16, 2026
@ohno
ohno marked this pull request as ready for review September 16, 2026 03:33
@codecov

codecov Bot commented Sep 16, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@ohno
ohno merged commit c0c2cb3 into main Sep 16, 2026
6 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.

Add examples

2 participants