On Fri, Feb 20, 2009 at 1:05 PM, Yixun Liu <enjoywm at cs.wm.edu> wrote:
> Can I use VecCreateMPIWithArray(PETSC_COMM_WORLD, 2*gdata->mlocal_vert, > PETSC_DECIDE, gdata->vert, &vert) to get Vec vert, which stores the > coordinates according to PETSc order? I do not understand what you are asking. Just creating a vector will not put the coordinates in it. Why not just use the Vec from the function given in the last message? Matt > > Yixun > -- What most experimenters take for granted before they begin their experiments is infinitely more interesting than any results to which their experiments lead. -- Norbert Wiener -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20090220/b9d6072b/attachment-0001.htm>
