Adding SLEPc solver for k-eigenvalue problems#646
Open
wdhawkins wants to merge 1 commit intoOpen-Sn:mainfrom
Open
Adding SLEPc solver for k-eigenvalue problems#646wdhawkins wants to merge 1 commit intoOpen-Sn:mainfrom
wdhawkins wants to merge 1 commit intoOpen-Sn:mainfrom
Conversation
142a643 to
6fce31d
Compare
ragusa
reviewed
Jun 11, 2025
modules/linear_boltzmann_solvers/solvers/slepc_keigen_solver.cc
Outdated
Show resolved
Hide resolved
686fa33 to
35ba591
Compare
andrsd
approved these changes
Jul 15, 2025
Collaborator
andrsd
left a comment
There was a problem hiding this comment.
I am not a SLEPc expert, but this looks good to me.
bd4e88d to
0607503
Compare
232a34f to
73fc5c2
Compare
ragusa
approved these changes
Aug 29, 2025
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.
This PR adds a SLEPc k-eigenvalue solver. Due to the number of STL vec <-> PETSc vec copies, this PR should not be merged until after the refactoring of LBS vecops. We may want to guard this solver and make this experimental for the time being.
Due to the way SLEPc internally scales/normalizes, we can't use the EPS eigenvalue directly. Instead, we need to extract the eigenvector and compute the k-eigenvalue after EPS converges.
Closes #180