On Tue, Jul 12, 2022 at 4:34 AM Ye Changqing
wrote:
> Dear all,
>
> I have a linear system constructed from discretizing a Neumann boundary
> value problem, and I want to solve it with a direct solver (to build up my
> own preconditioner). Usually, KSP returns a good solution without '-inf',
> wh
The interface functions are
https://petsc.org/release/docs/manualpages/PC/PCFactorSetShiftType.html
https://petsc.org/release/docs/manualpages/PC/PCFactorSetShiftAmount.html
To check for success you can use
https://petsc.org/release/docs/manualpages/KSP/KSPGetConvergedReason.html
You can also us
Dear all,
I have a linear system constructed from discretizing a Neumann boundary value
problem, and I want to solve it with a direct solver (to build up my own
preconditioner). Usually, KSP returns a good solution without '-inf', while
sometimes it fails. I referred to the corresponding chapte