[petsc-users] format specifiers
Jed Brown
jed at 59A2.org
Wed Apr 13 10:40:17 CDT 2011
On Wed, Apr 13, 2011 at 17:32, Gaurish Telang <gaurish108 at gmail.com> wrote:
> What are the format specifiers for data types PetscScalar and PetscScalar?
>
Unfortunately there is no specifier. You can use
PetscPrintf(comm,"%G + %Gi\n",PetscRealPart(v),PetscImaginaryPart(v));
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20110413/67e0c2df/attachment.htm>
More information about the petsc-users
mailing list