[petsc-users] questions about PetscSF

Jed Brown jed at jedbrown.org
Tue Mar 4 14:32:32 CST 2014


Matthew Knepley <knepley at gmail.com> writes:
>> (2) In Algorithms section. Could you please give me a very simple example
>> to demonstrate how  'Extracting a submatrix from a sparse matrix', '
>> Ownership discovery and transfer' and 'Graph distribution'. The description
>> is hard for me to understand.
>>
>
> These are not simple things. What exactly are you looking for? You can see
> graph distribution
> done with PetscSF in DMPlexDistribute().

You might look at MatPermute_MPIAIJ or MatTranspose_MPIAIJ for less
cluttered uses.
-------------- 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/20140304/c982e5ec/attachment.pgp>


More information about the petsc-users mailing list