Home
last modified time | relevance | path

Searched refs:ncols2 (Results 1 – 2 of 2) sorted by relevance

/petsc/src/mat/tests/
H A Dex47.c12 PetscInt i, j, row, m, n, ncols1, ncols2, ct, m2, n2; in main() local
85 PetscCall(MatGetRow(B, row, &ncols2, &cols2, &vals2)); in main()
87 for (i = 0, j = 0; i < ncols1 && j < ncols2; i++) { in main()
94 PetscCall(MatRestoreRow(B, row, &ncols2, &cols2, &vals2)); in main()
H A Dex53.c13 PetscInt rstart, rend, rows[2], cols[2], m, n, i, j, M, N, ct, row, ncols1, ncols2, bs; in main() local
134 PetscCall(MatGetRow(B, row, &ncols2, &cols2, &v2)); in main()
136 for (i = 0, j = 0; i < ncols1 && j < ncols2; j++) { in main()
140 PetscCheck(j >= ncols2, PETSC_COMM_SELF, PETSC_ERR_PLIB, "MatGetRow() failed - cols incorrect"); in main()
143 PetscCall(MatRestoreRow(B, row, &ncols2, &cols2, &v2)); in main()