Searched refs:cols2 (Results 1 – 5 of 5) sorted by relevance
| /petsc/src/mat/tests/ |
| H A D | ex47.c | 13 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 D | ex53.c | 15 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 D | ex21.c | 40 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 D | inode.c | 4049 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 D | mpiaij.c | 7779 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()
|