Hi, 

   Is there a quick way to get the non-zero locations of a matrix? I am using 
libMesh with PETSc. 

   I am not sure if there is one in libMesh. The function in PETSc seems to 
only work for sequential matrices 
(https://www.mcs.anl.gov/petsc/petsc-current/docs/manualpages/Mat/MatGetRowIJ.html).

Regards,
Manav

_______________________________________________
Libmesh-users mailing list
Libmesh-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/libmesh-users

Reply via email to