<div class="gmail_quote">On Wed, Apr 13, 2011 at 17:32, Gaurish Telang <span dir="ltr"><<a href="mailto:gaurish108@gmail.com">gaurish108@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div>What are the format specifiers for data types PetscScalar and PetscScalar? </div></blockquote><div><br></div><div>Unfortunately there is no specifier. You can use</div><div><br></div><div>PetscPrintf(comm,"%G + %Gi\n",PetscRealPart(v),PetscImaginaryPart(v));</div>
</div>