#include "petscmat.h" PetscErrorCode MatKAIJSetT(Mat A,PetscInt p,PetscInt q,const PetscScalar T[])Logically Collective; the entire T is stored independently on all processes.
A | - the KAIJ matrix | |
p | - the number of rows in S | |
q | - the number of columns in S | |
T | - the T matrix, in form of a scalar array in column-major format |
Notes: The dimensions p and q must match those of the shift matrix S associated with the KAIJ matrix. The T matrix is copied, so the user can destroy this array.