[petsc-users] Real data structure with complex build

Bikash Kanungo bikash at umich.edu
Sun Mar 27 15:45:51 CDT 2016


Hi Jed,

Thanks for the info. Yes the real part is the dominant part. It will help
me a lot if such support is provided in PETSc.

Regards,
Bikash

On Sun, Mar 27, 2016 at 4:39 PM, Jed Brown <jed at jedbrown.org> wrote:

> 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).
>



-- 
Bikash S. Kanungo
PhD Student
Computational Materials Physics Group
Mechanical Engineering
University of Michigan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20160327/6165d196/attachment.html>


More information about the petsc-users mailing list