[petsc-users] problems with Pets Complex
Katy Ghantous
katyghantous at gmail.com
Tue Dec 17 20:00:17 CST 2013
I have configured Petsc to have the scalar type comlpex. It compliles and
runs but the resulting imaginary part is always 0.
i am just trying to do
PetscScalar a = 1.+PETSC_i;
printf("%G\n",PetscImaginaryPart(a));
but i get 0.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20131218/d82bc584/attachment.html>
More information about the petsc-users
mailing list