[petsc-users] Inquiry about the PetscScalar in Petsc.

neil liu liufield at gmail.com
Tue Jul 11 10:34:14 CDT 2023

Dear Petsc developers,

My computation involves both real and complex numbers.
For example, my coordinate is real, but my matrix is complex.

I use VecGetArray to get the coordinates. But it seems coordinates have to
be defined in a complex manner to be consistent with complex matrix.

Is there some ways to work around this if I understood correctly ?


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20230711/6e212f5e/attachment.html>

More information about the petsc-users mailing list