Skip to content

Adding SLEPc solver for k-eigenvalue problems#646

Open
wdhawkins wants to merge 1 commit intoOpen-Sn:mainfrom
wdhawkins:slepc_eps
Open

Adding SLEPc solver for k-eigenvalue problems#646
wdhawkins wants to merge 1 commit intoOpen-Sn:mainfrom
wdhawkins:slepc_eps

Conversation

@wdhawkins
Copy link
Copy Markdown
Collaborator

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

@wdhawkins wdhawkins force-pushed the slepc_eps branch 3 times, most recently from 142a643 to 6fce31d Compare June 10, 2025 18:42
@wdhawkins wdhawkins force-pushed the slepc_eps branch 2 times, most recently from 686fa33 to 35ba591 Compare July 8, 2025 16:07
Copy link
Copy Markdown
Collaborator

@andrsd andrsd left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I am not a SLEPc expert, but this looks good to me.

@wdhawkins wdhawkins force-pushed the slepc_eps branch 7 times, most recently from bd4e88d to 0607503 Compare July 17, 2025 06:22
@wdhawkins wdhawkins marked this pull request as ready for review July 17, 2025 14:36
@wdhawkins wdhawkins force-pushed the slepc_eps branch 5 times, most recently from 232a34f to 73fc5c2 Compare August 16, 2025 20:12
@wdhawkins wdhawkins added this to the V2.0 milestone Aug 16, 2025
@ragusa ragusa self-requested a review August 29, 2025 19:11
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.

Adding support for SLEPc

3 participants