This site is version 0.0.1. Most of the code on this site is drafted by an agent and needs review. I apologize for the AI-speak, we are working on rewriting it!
viv-lang.org

Notebooks · lib/nuclear/shell/shellmodel

Shell-model energies, spins and occupations of a nucleus

The lowest states of a nucleus in the nuclear shell model: Z valence protons and N valence neutrons outside a closed core, in one of the shipped spaces (the sd shell with USDB, the p shell with Cohen-Kurath), or in a .sps and .int pair read from disk. lib/nuclear/shell/shell.viv builds the M-scheme basis and applies H; lib/eigen/lowest finds the states with Lanczos (or, by eigensolver, from H as a matrix); this program sets the parameters and collects what each state is. BIGSTICK (github.com/cwjsdsu/BigstickPublick) gives the same energies, spins and basis dimensions: lib/nuclear/shell/bigstick_compare.py runs both.

Look inside this program

  • Atlas

    The program’s map: every function and which calls which.

  • There’s no recorded run of this program yet.

Shift+Enter in a cell runs it and moves to the next. Running a cell runs every cell above it too, as one program.

[1]lines 15–244