[petsc-users] VecGet{Restore}SubVector behavior

Bhalla, Amneet Pal S amneetb at live.unc.edu
Thu Dec 31 00:02:18 CST 2015


Hi Folks,

Following upon this thread

http://lists.mcs.anl.gov/pipermail/petsc-users/2013-October/018989.html

is the behavior of VecRestoreSubVector() changed for non-contiguous enteries of original Vec to what is posted here? For example, if I
extract a noncontiguous sub vector b from a Vec A, modify enteries of b, and restore b, would I see corresponding changes in
A?

Thanks,

— Amneet
=====================================================
Amneet Bhalla
Postdoctoral Research Associate
Department of Mathematics and McAllister Heart Institute
University of North Carolina at Chapel Hill
Email: amneet at unc.edu<mailto:amneet at unc.edu>
Web:  https://abhalla.web.unc.edu<https://abhalla.web.unc.edu/>
=====================================================

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


More information about the petsc-users mailing list