Skip to content

Conversation

@wdhawkins
Copy link
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
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 4 times, most recently from 90dce71 to 232a34f Compare August 16, 2025 20:06
@wdhawkins wdhawkins added this to the V2.0 milestone Aug 16, 2025
@ragusa ragusa self-requested a review August 29, 2025 19:11
@wdhawkins wdhawkins self-assigned this Nov 8, 2025
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