Matthew Knepley <[email protected]> writes:
>> What about 
>> VecGetSubVector()<http://www.mcs.anl.gov/petsc/petsc-current/docs/manualpages/Vec/VecGetSubVector.html>?
>>
>
> Only works for local subsets.

Actually, VecGetSubVector() should work since in the case where the IS
is not both local and contiguous, it creates a VecScatter internally.
If you want a separate vector that you can keep (don't have to
VecRestoreSubVector) then you should use VecScatter yourself.

Attachment: pgpvQ8tH11Sym.pgp
Description: PGP signature

Reply via email to