[petsc-users] Equivalent of VecScatter for index sets

Jed Brown jedbrown at mcs.anl.gov
Mon Jan 13 14:47:00 CST 2014


Rémi Lacroix <remi.lacroix at inria.fr> writes:
> So basically I need to have a look at the underlying mechanism of 
> VecScatter and implement something similar for IS. How complex would it 
> be in practice?

It is one operation with PetscSF.  You'll call ISGetIndices(), use
PetscSFSetGraph(), then PetscSFBcastBegin and End.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 835 bytes
Desc: not available
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20140113/ab9b187f/attachment.pgp>


More information about the petsc-users mailing list