[petsc-users] 答复: About the MatGetOrdering in Petsc

Wei Deng deng106 at purdue.edu
Fri Apr 22 08:36:54 CDT 2016


In other words, does the function MatGetOrdering only support symmetric
matrix? It can’t work well in other cases?

 

发件人: Wei Deng [mailto:deng106 at purdue.edu] 
发送时间: Thursday, April 21, 2016 11:59 PM
收件人: 'petsc-users at mcs.anl.gov' <petsc-users at mcs.anl.gov>
主题: About the MatGetOrdering in Petsc

 

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/20160422/47b213b8/attachment.html>


More information about the petsc-users mailing list