[petsc-users] About the MatGetOrdering in Petsc

Wei Deng deng106 at purdue.edu
Thu Apr 21 22:59:13 CDT 2016


Dear Sir/Madam,

 

 

When I was trying to change a sparse matrix into a banded one, I can use RCM
in matlab to change it perfectly. But this does not work in Petsc, most
points were moved to the diagonal position. However, there are still some
points left, leading the width unacceptable.

 

Do you know why?

 

The attachment is the code with which I have trouble.

 

 

Thanks a lot.

 

 

Wei Deng

Purdue Uni.

 

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20160421/8336ad9c/attachment.html>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: main_0.cpp
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20160421/8336ad9c/attachment.ksh>


More information about the petsc-users mailing list