[petsc-users] Destroy ghosted vector that was used to duplicate
John Mousel
john.mousel at gmail.com
Wed Jun 19 11:24:03 CDT 2013
Is it legal to destroy a ghosted vector if it has been used in VecDuplicate?
Something like:
VecCreateGhost(...,vec1)
VecDuplicate(vec1,vec2)
VecDuplicate(vec1,vec3)
VecDestroy(vec1)
VecAXPY(vec2,1.0,vec3)
Is this legal or are the scatters left hanging in the ether?
John
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20130619/2291a08f/attachment.html>
More information about the petsc-users
mailing list