#include "petscmat.h" PetscErrorCode PETSCMAT_DLLEXPORT MatGetBrowsOfAoCols(Mat A,Mat B,MatReuse scall,PetscInt **startsj,PetscScalar **bufa_ptr,Mat *B_oth)Collective on Mat
A,B | - the matrices in mpiaij format | |
scall | - either MAT_INITIAL_MATRIX or MAT_REUSE_MATRIX | |
startsj | - starting point in B's sending and receiving j-arrays, saved for MAT_REUSE (or PETSC_NULL) | |
bufa_ptr | - array for sending matrix values, saved for MAT_REUSE (or PETSC_NULL) |
B_oth | - the sequential matrix generated |