On Wed, Jun 29, 2022 at 2:24 PM Tu, Jiannan <[email protected]> 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.

  Thanks,

     Matt


> 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/>

Reply via email to