Hello,
I’d like to repartition a MATMPIAIJ in petsc4py, is there an equivalent of:
    MatPartitioning mpart;
    ierr = MatPartitioningCreate(PETSC_COMM_WORLD,&mpart);CHKERRQ(ierr);
    ierr = MatPartitioningSetAdjacency(mpart,B);CHKERRQ(ierr);
    ierr = MatPartitioningSetFromOptions(mpart);CHKERRQ(ierr);
    ierr = MatPartitioningApply(mpart,&is);CHKERRQ(ierr);
    ierr = MatPartitioningDestroy(&mpart);CHKERRQ(ierr);
    ierr = ISBuildTwoSided(is,NULL,&rows);CHKERRQ(ierr);
I can’t find any reference to MatPartitioning or ISBuildTwoSided in 
src/binding/petsc4py

Thanks,
Pierre

Reply via email to