petsc-3.14.5 2021-03-03
Report Typos and Errors

# MatKAIJGetSRead

Get a read-only pointer to the S matrix describing the shift action of the KAIJ matrix

### Synopsis

    #include "petscmat.h"
    PetscErrorCode MatKAIJGetSRead(Mat A,PetscInt *m,PetscInt *n,const PetscScalar **S)

Not Collective; the entire S is stored and returned independently on all processes.

### Input Parameter

| A | - the KAIJ matrix

### Output Parameters

| 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)

### See Also

MatCreateKAIJ(), MatGetBlockSizes()

### Level

advanced

### Location

src/mat/impls/kaij/kaij.c
Index of all Mat routines
Table of Contents for all manual pages
Index of all manual pages