<div dir="ltr"><div><div><div><div><div><div>Is it legal to destroy a ghosted vector if it has been used in VecDuplicate?<br><br></div>Something like:<br><br></div>VecCreateGhost(...,vec1)<br></div>VecDuplicate(vec1,vec2)<br>
</div>VecDuplicate(vec1,vec3)<br>VecDestroy(vec1)<br></div>VecAXPY(vec2,1.0,vec3)<br><br></div>Is this legal or are the scatters left hanging in the ether?<br><div><div><div><br><br></div><div>John<br></div></div></div></div>