[petsc-users] Real data structure with complex build

Jed Brown jed at jedbrown.org
Sun Mar 27 15:39:13 CDT 2016


Bikash Kanungo <bikash at umich.edu> writes:

> Hi,
>
> Is there a way to define the Mat(s) and Vec(s) to be real while working
> with a complex build of PETSc? 

No, there is no supported way to do this.

> I'm asking because part of my problem is real while the other part is
> complex. SO I'll be able to gain some performance and reduction in
> memory if I can specify the PETSc data structures in the real half of
> my code to be real.

Is the real part bigger and more difficult to solve than the complex
part?  If not, then don't worry about it; there would be little
performance to gain anyway.  If yes, then it goes on our list of apps
that could stand to benefit from supporting this (a difficult proposition).
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 818 bytes
Desc: not available
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20160327/fb9c7a0e/attachment.pgp>


More information about the petsc-users mailing list