Katy Ghantous Tue, 17 Dec 2013 18:01:27 -0800
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.