[petsc-users] DMDAVecGetArray vs VecGetArray
Matthew Knepley
knepley at gmail.com
Sun Feb 8 12:33:44 CST 2015
On Sun, Feb 8, 2015 at 12:15 PM, Gideon Simpson <gideon.simpson at gmail.com>
wrote:
> 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?
>
Nope.
Matt
> -gideon
>
>
--
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/20150208/50e3664e/attachment.html>
More information about the petsc-users
mailing list