Lines Matching refs:d_nnz
12 PetscInt d_nz, o_nz, *d_nnz, *o_nnz; member
29 PetscCall(MatSeqBAIJSetPreallocation(*J, bs, slice->d_nz, slice->d_nnz)); in DMCreateMatrix_Sliced()
30 …PetscCall(MatMPIBAIJSetPreallocation(*J, bs, slice->d_nz, slice->d_nnz, slice->o_nz, slice->o_nnz)… in DMCreateMatrix_Sliced()
37 PetscCall(MatSeqAIJSetPreallocation(*J, slice->d_nz, slice->d_nnz)); in DMCreateMatrix_Sliced()
38 … PetscCall(MatMPIAIJSetPreallocation(*J, slice->d_nz, slice->d_nnz, slice->o_nz, slice->o_nnz)); in DMCreateMatrix_Sliced()
39 } else if (!slice->d_nnz) { in DMCreateMatrix_Sliced()
46 …sd_nnz[i] = (slice->d_nnz[i / bs] - 1) * (slice->ofill ? slice->ofill->i[i % bs + 1] - slice->ofil… in DMCreateMatrix_Sliced()
127 PetscErrorCode DMSlicedSetPreallocation(DM dm, PetscInt d_nz, const PetscInt d_nnz[], PetscInt o_nz… in DMSlicedSetPreallocation() argument
134 slice->d_nnz = (PetscInt *)d_nnz; in DMSlicedSetPreallocation()
301 …etscInt nlocal, PetscInt Nghosts, const PetscInt ghosts[], const PetscInt d_nnz[], const PetscInt … in DMSlicedCreate() argument
308 if (d_nnz) PetscCall(DMSlicedSetPreallocation(*dm, 0, d_nnz, 0, o_nnz)); in DMSlicedCreate()