Does petsc provide functions to get real and imaginary parts of a number? I couldn't seem to find any functions inĀ <div><br></div><div><a href="http://www.mcs.anl.gov/petsc/petsc-current/docs/manualpages/Sys/index.html">http://www.mcs.anl.gov/petsc/petsc-current/docs/manualpages/Sys/index.html</a><br>
</div><div><br></div><div>or in the vec collective either.</div><div><br></div><div>Cheers,</div><div><br></div><div>-Nachiket</div>