Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

shift PC for block solves #126

Open
colinjcotter opened this issue Jul 21, 2023 · 0 comments
Open

shift PC for block solves #126

colinjcotter opened this issue Jul 21, 2023 · 0 comments

Comments

@colinjcotter
Copy link
Collaborator

colinjcotter commented Jul 21, 2023

a shift PC could help when lambda1/lambda2 has small real part.

To implement this, we provide another form Jp to use as the preconditioning operator.

In this form, we replace

lambda1 -> lambda2(max(real(lambda1/lambda2), e0) + 1j*imag(lambda1/lambda2))

where e0 is the real shift parameter. Then if the real part of lambda1/lambda2 is less than e0, it is shifted to e0.

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

No branches or pull requests

1 participant