#include "petscdmplex.h" PetscErrorCode DMPlexPreallocateOperator(DM dm, PetscInt bs, PetscInt dnz[], PetscInt onz[], PetscInt dnzu[], PetscInt onzu[], Mat A, PetscBool fillMatrix)Collective
dm | - The DMPlex | |
bs | - The matrix blocksize | |
dnz | - An array to hold the number of nonzeros in the diagonal block | |
onz | - An array to hold the number of nonzeros in the off-diagonal block | |
dnzu | - An array to hold the number of nonzeros in the upper triangle of the diagonal block | |
onzu | - An array to hold the number of nonzeros in the upper triangle of the off-diagonal block | |
fillMatrix | - If PETSC_TRUE, fill the matrix with zeros |