[petsc-users] New matrix with same distribution as an old submatrix

Tabrez Ali tabrezali at gmail.com
Thu Mar 17 21:33:25 CDT 2016


Hello

Lets say I create a submatrix K_sub from a larger matrix K using 
MatGetSubMatrix. Now how do I create a new matrix M which has the same 
parallel distribution as K_sub?

Thanks in advance.

Tabrez
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20160317/192f2bb8/attachment.html>


More information about the petsc-users mailing list