[petsc-users] [2]PETSC ERROR: MatPermute not available for Mat type mpiaij!

丁老师 ztdepyahoo at 163.com
Mon Sep 16 07:14:17 CDT 2013


i set up my matrix A with
  MatCreate(PETSC_COMM_WORLD,&A);
  MatSetSizes(A,PMesh->LocalSize,PMesh->LocalSize,PETSC_DECIDE,PETSC_DECIDE);
  MatSetFromOptions(A);
  MatMPIAIJSetPreallocation(A,5,PETSC_NULL,5,PETSC_NULL);


then which type should i use to support the matpermute.










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


More information about the petsc-users mailing list