[petsc-users] KPS and linear complex equation system

Tu, Jiannan Jiannan_Tu at uml.edu
Wed Jun 29 22:04:48 CDT 2022


Matt, thank very much you for the reply.

Jiannan

From: Matthew Knepley <knepley at gmail.com>
Sent: Wednesday, June 29, 2022 2:58 PM
To: Tu, Jiannan <Jiannan_Tu at uml.edu>
Cc: petsc-users at mcs.anl.gov
Subject: Re: [petsc-users] KPS and linear complex equation system

On Wed, Jun 29, 2022 at 2:24 PM Tu, Jiannan <Jiannan_Tu at uml.edu<mailto: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.

  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/<https://nam10.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.cse.buffalo.edu%2F~knepley%2F&data=05%7C01%7CJiannan_Tu%40uml.edu%7C0009570c098f418a229c08da5a0161e8%7C4c25b8a617f746f983f054734ab81fb1%7C0%7C0%7C637921259223660199%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=hGIlXsWhVWqY6PuFWM8WKiwtE6WZw1XqizHdsocVRwY%3D&reserved=0>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20220630/a60649a8/attachment-0001.html>


More information about the petsc-users mailing list