Lines Matching refs:submatrices
7 Mat mat, submat, submat1, *submatrices; in main() local
39 PetscCall(MatCreateSubMatrices(mat, 1, &irow, &icol, MAT_INITIAL_MATRIX, &submatrices)); in main()
40 PetscCall(MatCreateSubMatrices(mat, 1, &irow, &icol, MAT_REUSE_MATRIX, &submatrices)); in main()
41 submat = *submatrices; in main()
55 PetscCall(MatDestroySubMatrices(1, &submatrices)); in main()
62 PetscCall(MatCreateSubMatrices(mat, 1, &irow, &icol, MAT_INITIAL_MATRIX, &submatrices)); in main()
63 submat = *submatrices; in main()
66 PetscCall(MatCreateSubMatrices(mat, 1, &irow, &icol, MAT_REUSE_MATRIX, &submatrices)); in main()
74 PetscCall(MatDestroySubMatrices(1, &submatrices)); in main()
80 PetscCall(MatCreateSubMatrices(mat, 1, &irow, &icol, MAT_INITIAL_MATRIX, &submatrices)); in main()
81 PetscCall(MatCreateSubMatrices(mat, 1, &irow, &icol, MAT_REUSE_MATRIX, &submatrices)); in main()
82 submat = *submatrices; in main()
101 PetscCall(MatDestroySubMatrices(1, &submatrices)); in main()