#include "petscda.h" PetscErrorCode PETSCDM_DLLEXPORT VecPackGetMatrix(VecPack packer, MatType mtype,Mat *J)Collective on DA
da | - the distributed array | |
mtype | - Supported types are MATSEQAIJ, MATMPIAIJ |
Notes: This properly preallocates the number of nonzeros in the sparse matrix so you do not need to do it yourself.
Level:advanced
Location:src/dm/da/utils/pack.c
Index of all DA routines
Table of Contents for all manual pages
Index of all manual pages