<div style="line-height:1.7;color:#000000;font-size:14px;font-family:arial"><div style="line-height:1.7;color:#000000;font-size:14px;font-family:arial"><div style="line-height:1.7;color:#000000;font-size:14px;font-family:arial"><div style="line-height:1.7;color:#000000;font-size:14px;font-family:arial">i set up my matrix A with <br> MatCreate(PETSC_COMM_WORLD,&A);<br> MatSetSizes(A,PMesh->LocalSize,PMesh->LocalSize,PETSC_DECIDE,PETSC_DECIDE);<br> MatSetFromOptions(A);<br> MatMPIAIJSetPreallocation(A,5,PETSC_NULL,5,PETSC_NULL);<br><br><br>then which type should i use to support the matpermute.<br><br><span title="neteasefooter"><span id="netease_mail_footer"></span></span></div><br><br><span title="neteasefooter"><span id="netease_mail_footer"></span></span></div><br><br><span title="neteasefooter"><span id="netease_mail_footer"></span></span></div><br><br><span title="neteasefooter"><span id="netease_mail_footer"></span></span></div><br><br><
span title="neteasefooter"><span id="netease_mail_footer"></span></span>