Matt, thank very much you for the reply.

Jiannan

From: Matthew Knepley <[email protected]>
Sent: Wednesday, June 29, 2022 2:58 PM
To: Tu, Jiannan <[email protected]>
Cc: [email protected]
Subject: Re: [petsc-users] KPS and linear complex equation system

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

Reply via email to