#include "petscmat.h" PetscErrorCode MatKAIJGetS(Mat A,PetscInt *m,PetscInt *n,PetscScalar **S)Not Collective; the entire S is stored and returned independently on all processes.
m | - the number of rows in S | |
n | - the number of columns in S | |
S | - the S matrix, in form of a scalar array in column-major format |
Note: All output parameters are optional (pass NULL or PETSC_IGNORE if not desired)