[petsc-users] No VecGetLocalSubVector?

Jed Brown jed at jedbrown.org
Wed Mar 7 17:13:09 CST 2018


No reason, just didn't need it.  I don't think any PETSc developers use
VecSetValues* because VecScatter is a more natural interface with lower
overhead.

Garth Wells <gnw20 at cam.ac.uk> writes:

> Is there a reason why there is no 'VecGetLocalSubVector' to match
> MatGetLocalSubMatrix?
>
> I've used VecGetSubVector, but can't use local indices with it, e.g.
> can't use VecSetValuesLocal.
>
> Garth


More information about the petsc-users mailing list