Home
last modified time | relevance | path

Searched refs:cols2 (Results 1 – 5 of 5) sorted by relevance

/petsc/src/mat/tests/
H A Dex47.c13 const PetscInt *cols1, *cols2; in main() local
85 PetscCall(MatGetRow(B, row, &ncols2, &cols2, &vals2)); in main()
88 while (cols2[j] != cols1[i]) j++; in main()
94 PetscCall(MatRestoreRow(B, row, &ncols2, &cols2, &vals2)); in main()
H A Dex53.c15 const PetscInt *cols1, *cols2; in main() local
134 PetscCall(MatGetRow(B, row, &ncols2, &cols2, &v2)); in main()
137 while (cols2[j] != cols1[i]) i++; in main()
143 PetscCall(MatRestoreRow(B, row, &ncols2, &cols2, &v2)); in main()
/petsc/src/ksp/ksp/tests/
H A Dex21.c40 PetscInt rows[4], cols0[5], cols1[5], cols2[3], cols3[3]; in Create() local
59 cols2[0] = r; in Create()
60 cols2[1] = r + 2; in Create()
61 cols2[2] = (r + 4 + 2) % M; in Create()
87 PetscCall(MatSetValues(A, 1, &rows[2], 3, cols2, vals2, INSERT_VALUES)); in Create()
/petsc/src/mat/impls/aij/seq/
H A Dinode.c4049 PetscInt *cols1, *cols2, *ns; in MatSeqAIJCheckInode_FactorLU() local
4064 PetscCall(PetscMalloc2(m, &cols1, m, &cols2)); in MatSeqAIJCheckInode_FactorLU()
4077 PetscCall(MatGetRow_FactoredLU(cols2, nzl2, nzu2, nzy, ai, aj, adiag, j)); in MatSeqAIJCheckInode_FactorLU()
4078 PetscCall(PetscArraycmp(cols1, cols2, nzx, &flag)); in MatSeqAIJCheckInode_FactorLU()
4085 PetscCall(PetscFree2(cols1, cols2)); in MatSeqAIJCheckInode_FactorLU()
/petsc/src/mat/impls/aij/mpi/
H A Dmpiaij.c7779 const PetscInt *cols1, *cols2; in MatCreateGraph_Simple_AIJ() local
7782 PetscCall(MatGetRow(c, brow, &nc2, &cols2, NULL)); in MatCreateGraph_Simple_AIJ()
7791 if (cols1[jj] != cols2[jj]) ok = 0; in MatCreateGraph_Simple_AIJ()
7797 PetscCall(MatRestoreRow(c, brow, &nc2, &cols2, NULL)); in MatCreateGraph_Simple_AIJ()