[petsc-users] Quick Question on /src/ksp/ksp/example/ex29.c

Alan Wei zhenglun.wei at gmail.com
Mon Sep 12 22:59:12 CDT 2011


Dear guys,
    I hope you're having a nice day.
    I'm still working on this poisson solver, and find a small problem.
    I found from the original  code that DMMGGetx(dmmg) can get the solution
vector after calculation. However, I want to have them as a format of
2-dimensional array (since I solve for a 2D Poisson Equation), like
coors[j][i]. How can I do that?

thanks in advance,
Alan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20110912/606afe51/attachment.htm>


More information about the petsc-users mailing list