[petsc-users] DMDAVecGetArray vs VecGetArray

Gideon Simpson gideon.simpson at gmail.com
Sun Feb 8 12:15:16 CST 2015


If i want to get the array associated with a vector associated with DA, is there anything wrong with using VecGetArray instead of DMDAVecGetArray if I want local indexing (i.e., 0,…N-1), as opposed tot the global indexing? Is there anything “unsafe” about it?

-gideon

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20150208/9dbff992/attachment.html>


More information about the petsc-users mailing list