#include "petscmat.h" PetscErrorCode MatMPIAdjSetPreallocation(Mat B,PetscInt *i,PetscInt *j,PetscInt *values)Logically Collective on MPI_Comm Many br
A | - the matrix Many br | |
i | - the indices into j for the start of each row Many br | |
j | - the column indices for each row (sorted for each row). Many brThe indices in i and j start with zero (NOT with one). Many br | |
values | - [optional] edge weights Many br |
Many br
Level:intermediate
Location:src/mat/impls/adj/mpi/mpiadj.c
Index of all Mat routines
Table of Contents for all manual pages
Index of all manual pages