[petsc-users] KPS and linear complex equation system

Matthew Knepley knepley at gmail.com
Wed Jun 29 13:58:27 CDT 2022

On Wed, Jun 29, 2022 at 2:24 PM Tu, Jiannan <Jiannan_Tu at uml.edu> wrote:

> I have a quick question. Petsc can be configured with complex number. can
> KSP then be used to solve linear equations of complex number, that is, both
> the matrix elements and solutions are complex, directly without separation
> real and imaginary parts?

Yes. Not all solvers make sense in this mode, but some do.



> Thank you very much.
> Best
> Jiannan Tu

What most experimenters take for granted before they begin their
experiments is infinitely more interesting than any results to which their
experiments lead.
-- Norbert Wiener

https://www.cse.buffalo.edu/~knepley/ <http://www.cse.buffalo.edu/~knepley/>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20220629/4d577b11/attachment.html>

More information about the petsc-users mailing list