Open ChrisRackauckas opened 4 months ago
Hi @ChrisRackauckas, Krylov methods dedicated to symmetric linear systems only support centered preconditioning (special case of left + right preconditioning) to maintain the symmetry. But it should not be an issue for the adjoint sensitivity because A = A', so you can reuse the same preconditioner.
If the system is not symmetric, the Krylov method supports both left and right preconditioning.
For the transpose of the preconditioner, I expect the user to provide adjoint(P)
as input of the solver.
But it's not always easy to do that when P
is a matrix-free preconditioner.
From @avik-pal https://github.com/SciML/LinearSolve.jl/pull/449
@amontoison I think some Krylov methods only support pre-conditioners on one side though?
Maybe we need some way for someone to specify adjoint preconditioners?