[petsc-users] Hash Function for PETSc Sparse Matrices

Jed Brown jed at jedbrown.org
Tue Dec 6 09:42:55 CST 2016


"K. N. Ramachandran" <knram06 at gmail.com> writes:

> Hello Jed, Barry,
>
> Thanks for the inputs. Yes, I am trying to spot duplicate sparse Matrices
> basically and avoid storing if possible. MatGetNonzeroState() seems useful
> here and I'll take a closer look.
>
> I couldn't find the PetscObjectGetState() though from the available API (
> http://www.mcs.anl.gov/petsc/petsc-current/docs/manualpages/singleindex.html).
> Was there another closely related function I should take a look at?

http://www.mcs.anl.gov/petsc/petsc-current/docs/manualpages/Sys/PetscObjectStateGet.html
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 800 bytes
Desc: not available
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20161206/bf6a2ecb/attachment.pgp>


More information about the petsc-users mailing list