From: Manav B. <bha...@gm...> - 2019-05-29 18:02:12
|
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 |