Searched refs:pnnz (Results 1 – 2 of 2) sorted by relevance
| /petsc/src/ksp/ksp/tests/ |
| H A D | ex13.c | 26 PetscInt testcase = 0, m, nnz, pnnz; in main() local 40 pnnz = 1; in main() 47 pnnz = 0; in main() 55 pnnz = 0; in main() 62 pnnz = 1; in main() 76 PetscCall(MatMPIAIJSetPreallocation(P, pnnz, NULL, pnnz, NULL)); in main() 77 PetscCall(MatSeqAIJSetPreallocation(P, pnnz, NULL)); in main()
|
| /petsc/src/mat/impls/aij/mpi/ |
| H A D | mpiaij.c | 5429 PetscInt pcstart, *roffsets, *loffsets, *pnnz, j; in MatCreateSeqSubMatrixWithRows_Private() local 5465 PetscCall(PetscCalloc1(nrows, &pnnz)); in MatCreateSeqSubMatrixWithRows_Private() 5491 pnnz[i] = nlcols[i * 2 + 0] + nlcols[i * 2 + 1]; in MatCreateSeqSubMatrixWithRows_Private() 5492 ncol = PetscMax(pnnz[i], ncol); in MatCreateSeqSubMatrixWithRows_Private() 5501 PetscCall(MatCreateSeqAIJ(PETSC_COMM_SELF, nrows, ncol, 0, pnnz, P_oth)); in MatCreateSeqSubMatrixWithRows_Private() 5503 PetscCall(PetscFree(pnnz)); in MatCreateSeqSubMatrixWithRows_Private()
|