complex version is needed since matrix sometimes is real and sometimes is
complex. I want to solve real matrix without allocating memory for
imaginary part((except eigen pairs).

On Tuesday, May 26, 2020, Zhang, Hong <[email protected]> wrote:

> You can build PETSc with complex version, and declare some variables as
> 'PETSC_REAL'.
> Hong
>
> ------------------------------
> *From:* petsc-users <[email protected]> on behalf of Sam
> Guo <[email protected]>
> *Sent:* Tuesday, May 26, 2020 1:00 PM
> *To:* PETSc <[email protected]>
> *Subject:* [petsc-users] using real and complex together
>
> Dear PETSc dev team,
>    Can I use both real and complex versions together?
>
> Thanks,
> Sam
>

Reply via email to