[petsc-users] No VecGetLocalSubVector?

Garth Wells gnw20 at cam.ac.uk
Thu Mar 8 12:15:29 CST 2018


On Wed, 2018-03-07 at 16:13 -0700, Jed Brown wrote:
> 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.
> 

Any demos of its recommended use?

Garth

> 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