#include "petscmat.h" PetscErrorCode MatSubdomainsCreateCoalesce(Mat A,PetscInt N,PetscInt *n,IS *iss[])Collective on A
A | - the matrix to create subdomains from | |
N | - requested number of subdomains |
n | - number of subdomains resulting on this rank | |
iss | - IS list with indices of subdomains on this rank |
Notes: number of subdomains must be smaller than the communicator size