[petsc-users] Extracting a particular DOF from DMDA vector
Matthew Knepley
knepley at gmail.com
Mon Jan 27 08:00:37 CST 2014
On Mon, Jan 27, 2014 at 1:38 AM, amlan barua <abarua at iit.edu> wrote:
> Hi,
> What is the best way of extracting all values corresponding to a
> particular degree of freedom of a DMDA vector?
>
It depends what you want to do with it. YOu can use DMDAVecGetArrayDOF() or
VecScatterStride().
Matt
>
> Amlan
>
--
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/20140127/903133a9/attachment.html>
More information about the petsc-users
mailing list