int MatCreateMPIAdj(MPI_Comm comm,int m,int n,int *i,int *j, Mat *A)Collective on MPI_Comm
comm | - MPI communicator, set to PETSC_COMM_SELF |
m | - number of local rows |
n | - number of columns |
i | - the indices into j for the start of each row |
j | - the column indices for each row (sorted for each row). The indices in i and j start with zero (NOT with one). |
Notes: You must NOT free the ii and jj arrays yourself. PETSc will free themwhen the matrix is destroyed.
Possible values for MatSetOption() - MAT_STRUCTURALLY_SYMMETRIC
Location: src/mat/impls/adj/mpi/mpiadj.c
Matrix Index
Table of Contents