| /petsc/src/mat/tests/ |
| H A D | ex226.c | 51 PetscCall(MatSetValues(A, 1, &Ii, 1, &J, &v, INSERT_VALUES)); in main() 55 PetscCall(MatSetValues(A, 1, &Ii, 1, &J, &v, INSERT_VALUES)); in main() 59 PetscCall(MatSetValues(A, 1, &Ii, 1, &J, &v, INSERT_VALUES)); in main() 63 PetscCall(MatSetValues(A, 1, &Ii, 1, &J, &v, INSERT_VALUES)); in main() 66 PetscCall(MatSetValues(A, 1, &Ii, 1, &Ii, &v, INSERT_VALUES)); in main() 81 PetscCall(MatSetValues(A, 1, &Ii, 1, &J, &v, INSERT_VALUES)); in main() 85 PetscCall(MatSetValues(A, 1, &Ii, 1, &J, &v, INSERT_VALUES)); in main() 89 PetscCall(MatSetValues(A, 1, &Ii, 1, &J, &v, INSERT_VALUES)); in main() 93 PetscCall(MatSetValues(A, 1, &Ii, 1, &J, &v, INSERT_VALUES)); in main() 97 PetscCall(MatSetValues(A, 1, &Ii, 1, &J, &v, INSERT_VALUES)); in main() [all …]
|
| H A D | ex10.c | 32 PetscCall(MatSetValues(C, 1, &Ii, 1, &J, &v, INSERT_VALUES)); in main() 36 PetscCall(MatSetValues(C, 1, &Ii, 1, &J, &v, INSERT_VALUES)); in main() 40 PetscCall(MatSetValues(C, 1, &Ii, 1, &J, &v, INSERT_VALUES)); in main() 44 PetscCall(MatSetValues(C, 1, &Ii, 1, &J, &v, INSERT_VALUES)); in main() 47 PetscCall(MatSetValues(C, 1, &Ii, 1, &Ii, &v, INSERT_VALUES)); in main() 58 PetscCall(MatSetValues(C, 1, &Ii, 1, &J, &v, INSERT_VALUES)); in main() 62 PetscCall(MatSetValues(C, 1, &Ii, 1, &J, &v, INSERT_VALUES)); in main() 66 PetscCall(MatSetValues(C, 1, &Ii, 1, &J, &v, INSERT_VALUES)); in main() 70 PetscCall(MatSetValues(C, 1, &Ii, 1, &J, &v, INSERT_VALUES)); in main() 73 PetscCall(MatSetValues(C, 1, &Ii, 1, &Ii, &v, INSERT_VALUES)); in main()
|
| H A D | ex77.c | 49 PetscCall(MatSetValues(A, 1, &i, 3, col, value, INSERT_VALUES)); in main() 50 PetscCall(MatSetValues(sA, 1, &i, 3, col, value, INSERT_VALUES)); in main() 60 PetscCall(MatSetValues(A, 1, &i, 3, col, value, INSERT_VALUES)); in main() 61 PetscCall(MatSetValues(sA, 1, &i, 3, col, value, INSERT_VALUES)); in main() 71 PetscCall(MatSetValues(A, 1, &i, 3, col, value, INSERT_VALUES)); in main() 72 PetscCall(MatSetValues(sA, 1, &i, 3, col, value, INSERT_VALUES)); in main() 81 PetscCall(MatSetValues(A, 1, &Ii, 1, &J, &neg_one, INSERT_VALUES)); in main() 82 PetscCall(MatSetValues(sA, 1, &Ii, 1, &J, &neg_one, INSERT_VALUES)); in main() 86 PetscCall(MatSetValues(A, 1, &Ii, 1, &J, &neg_one, INSERT_VALUES)); in main() 87 PetscCall(MatSetValues(sA, 1, &Ii, 1, &J, &neg_one, INSERT_VALUES)); in main() [all …]
|
| H A D | ex26.c | 69 PetscCall(MatSetValues(A, 1, &Ii, 1, &J, &v, INSERT_VALUES)); in main() 70 PetscCall(MatSetValues(B, 1, &Ii, 1, &J, &v, INSERT_VALUES)); in main() 71 PetscCall(MatSetValues(C, 1, &Ii, 1, &J, &v, INSERT_VALUES)); in main() 75 PetscCall(MatSetValues(A, 1, &Ii, 1, &J, &v, INSERT_VALUES)); in main() 76 PetscCall(MatSetValues(B, 1, &Ii, 1, &J, &v, INSERT_VALUES)); in main() 77 PetscCall(MatSetValues(C, 1, &Ii, 1, &J, &v, INSERT_VALUES)); in main() 81 PetscCall(MatSetValues(A, 1, &Ii, 1, &J, &v, INSERT_VALUES)); in main() 82 PetscCall(MatSetValues(B, 1, &Ii, 1, &J, &v, INSERT_VALUES)); in main() 83 PetscCall(MatSetValues(C, 1, &Ii, 1, &J, &v, INSERT_VALUES)); in main() 87 PetscCall(MatSetValues(A, 1, &Ii, 1, &J, &v, INSERT_VALUES)); in main() [all …]
|
| /petsc/src/ksp/ksp/tests/ |
| H A D | ex17.c | 134 PetscCall(MatSetValues(A, 1, &i, 3, col, val, INSERT_VALUES)); in FormTestMatrix() 139 PetscCall(MatSetValues(A, 1, &i, 2, col, val, INSERT_VALUES)); in FormTestMatrix() 145 PetscCall(MatSetValues(A, 1, &i, 2, col, val, INSERT_VALUES)); in FormTestMatrix() 156 PetscCall(MatSetValues(A, 1, &i, 4, col, val, INSERT_VALUES)); in FormTestMatrix() 162 PetscCall(MatSetValues(A, 1, &i, 3, col, val, INSERT_VALUES)); in FormTestMatrix() 167 PetscCall(MatSetValues(A, 1, &i, 3, col, &val[1], INSERT_VALUES)); in FormTestMatrix() 169 PetscCall(MatSetValues(A, 1, &i, 2, col, &val[2], INSERT_VALUES)); in FormTestMatrix() 182 PetscCall(MatSetValues(A, 1, &i, 5, col, val, INSERT_VALUES)); in FormTestMatrix() 189 PetscCall(MatSetValues(A, 1, &i, 4, col, val, INSERT_VALUES)); in FormTestMatrix() 194 PetscCall(MatSetValues(A, 1, &i, 3, col, val, INSERT_VALUES)); in FormTestMatrix() [all …]
|
| /petsc/src/mat/tests/output/ |
| H A D | ex37_nsize-1_mat_type-baij_mat_block_size-1.out | 17 total number of mallocs used during MatSetValues calls=0 22 total number of mallocs used during MatSetValues calls=0 27 total number of mallocs used during MatSetValues calls=0 32 total number of mallocs used during MatSetValues calls=0 37 total number of mallocs used during MatSetValues calls=0 42 total number of mallocs used during MatSetValues calls=0 48 total number of mallocs used during MatSetValues calls=0 53 total number of mallocs used during MatSetValues calls=0 58 total number of mallocs used during MatSetValues calls=0 63 total number of mallocs used during MatSetValues calls=0 [all …]
|
| H A D | ex37_nsize-1_mat_type-mpibaij_mat_block_size-1.out | 17 total number of mallocs used during MatSetValues calls=0 22 total number of mallocs used during MatSetValues calls=0 27 total number of mallocs used during MatSetValues calls=0 32 total number of mallocs used during MatSetValues calls=0 37 total number of mallocs used during MatSetValues calls=0 42 total number of mallocs used during MatSetValues calls=0 48 total number of mallocs used during MatSetValues calls=0 53 total number of mallocs used during MatSetValues calls=0 58 total number of mallocs used during MatSetValues calls=0 63 total number of mallocs used during MatSetValues calls=0 [all …]
|
| H A D | ex37_nsize-2_mat_type-baij_mat_block_size-1.out | 17 total number of mallocs used during MatSetValues calls=0 22 total number of mallocs used during MatSetValues calls=0 27 total number of mallocs used during MatSetValues calls=0 32 total number of mallocs used during MatSetValues calls=0 37 total number of mallocs used during MatSetValues calls=0 42 total number of mallocs used during MatSetValues calls=0 48 total number of mallocs used during MatSetValues calls=0 53 total number of mallocs used during MatSetValues calls=0 58 total number of mallocs used during MatSetValues calls=0 63 total number of mallocs used during MatSetValues calls=0 [all …]
|
| H A D | ex37_nsize-1_mat_type-mpisbaij_mat_block_size-1.out | 17 total number of mallocs used during MatSetValues calls=0 22 total number of mallocs used during MatSetValues calls=0 27 total number of mallocs used during MatSetValues calls=0 32 total number of mallocs used during MatSetValues calls=0 37 total number of mallocs used during MatSetValues calls=0 42 total number of mallocs used during MatSetValues calls=0 48 total number of mallocs used during MatSetValues calls=0 53 total number of mallocs used during MatSetValues calls=0 58 total number of mallocs used during MatSetValues calls=0 63 total number of mallocs used during MatSetValues calls=0 [all …]
|
| H A D | ex37_nsize-2_mat_type-mpisbaij_mat_block_size-1.out | 17 total number of mallocs used during MatSetValues calls=0 22 total number of mallocs used during MatSetValues calls=0 27 total number of mallocs used during MatSetValues calls=0 32 total number of mallocs used during MatSetValues calls=0 37 total number of mallocs used during MatSetValues calls=0 42 total number of mallocs used during MatSetValues calls=0 48 total number of mallocs used during MatSetValues calls=0 53 total number of mallocs used during MatSetValues calls=0 58 total number of mallocs used during MatSetValues calls=0 63 total number of mallocs used during MatSetValues calls=0 [all …]
|
| H A D | ex37_nsize-2_mat_type-sbaij_mat_block_size-1.out | 17 total number of mallocs used during MatSetValues calls=0 22 total number of mallocs used during MatSetValues calls=0 27 total number of mallocs used during MatSetValues calls=0 32 total number of mallocs used during MatSetValues calls=0 37 total number of mallocs used during MatSetValues calls=0 42 total number of mallocs used during MatSetValues calls=0 48 total number of mallocs used during MatSetValues calls=0 53 total number of mallocs used during MatSetValues calls=0 58 total number of mallocs used during MatSetValues calls=0 63 total number of mallocs used during MatSetValues calls=0 [all …]
|
| H A D | ex37_nsize-2_mat_type-mpibaij_mat_block_size-1.out | 17 total number of mallocs used during MatSetValues calls=0 22 total number of mallocs used during MatSetValues calls=0 27 total number of mallocs used during MatSetValues calls=0 32 total number of mallocs used during MatSetValues calls=0 37 total number of mallocs used during MatSetValues calls=0 42 total number of mallocs used during MatSetValues calls=0 48 total number of mallocs used during MatSetValues calls=0 53 total number of mallocs used during MatSetValues calls=0 58 total number of mallocs used during MatSetValues calls=0 63 total number of mallocs used during MatSetValues calls=0 [all …]
|
| H A D | ex37_nsize-1_mat_type-sbaij_mat_block_size-1.out | 17 total number of mallocs used during MatSetValues calls=0 22 total number of mallocs used during MatSetValues calls=0 27 total number of mallocs used during MatSetValues calls=0 32 total number of mallocs used during MatSetValues calls=0 37 total number of mallocs used during MatSetValues calls=0 42 total number of mallocs used during MatSetValues calls=0 48 total number of mallocs used during MatSetValues calls=0 53 total number of mallocs used during MatSetValues calls=0 58 total number of mallocs used during MatSetValues calls=0 63 total number of mallocs used during MatSetValues calls=0 [all …]
|
| H A D | ex37_nsize-1_mat_type-baij_mat_block_size-2.out | 17 total number of mallocs used during MatSetValues calls=0 22 total number of mallocs used during MatSetValues calls=0 27 total number of mallocs used during MatSetValues calls=0 32 total number of mallocs used during MatSetValues calls=0 37 total number of mallocs used during MatSetValues calls=0 42 total number of mallocs used during MatSetValues calls=0 48 total number of mallocs used during MatSetValues calls=0 53 total number of mallocs used during MatSetValues calls=0 58 total number of mallocs used during MatSetValues calls=0 63 total number of mallocs used during MatSetValues calls=0 [all …]
|
| H A D | ex37_nsize-1_mat_type-mpisbaij_mat_block_size-2.out | 17 total number of mallocs used during MatSetValues calls=0 22 total number of mallocs used during MatSetValues calls=0 27 total number of mallocs used during MatSetValues calls=0 32 total number of mallocs used during MatSetValues calls=0 37 total number of mallocs used during MatSetValues calls=0 42 total number of mallocs used during MatSetValues calls=0 48 total number of mallocs used during MatSetValues calls=0 53 total number of mallocs used during MatSetValues calls=0 58 total number of mallocs used during MatSetValues calls=0 63 total number of mallocs used during MatSetValues calls=0 [all …]
|
| H A D | ex37_nsize-2_mat_type-mpibaij_mat_block_size-2.out | 17 total number of mallocs used during MatSetValues calls=0 22 total number of mallocs used during MatSetValues calls=0 27 total number of mallocs used during MatSetValues calls=0 32 total number of mallocs used during MatSetValues calls=0 37 total number of mallocs used during MatSetValues calls=0 42 total number of mallocs used during MatSetValues calls=0 48 total number of mallocs used during MatSetValues calls=0 53 total number of mallocs used during MatSetValues calls=0 58 total number of mallocs used during MatSetValues calls=0 63 total number of mallocs used during MatSetValues calls=0 [all …]
|
| H A D | ex37_nsize-2_mat_type-baij_mat_block_size-2.out | 17 total number of mallocs used during MatSetValues calls=0 22 total number of mallocs used during MatSetValues calls=0 27 total number of mallocs used during MatSetValues calls=0 32 total number of mallocs used during MatSetValues calls=0 37 total number of mallocs used during MatSetValues calls=0 42 total number of mallocs used during MatSetValues calls=0 48 total number of mallocs used during MatSetValues calls=0 53 total number of mallocs used during MatSetValues calls=0 58 total number of mallocs used during MatSetValues calls=0 63 total number of mallocs used during MatSetValues calls=0 [all …]
|
| H A D | ex37_nsize-2_mat_type-mpisbaij_mat_block_size-2.out | 17 total number of mallocs used during MatSetValues calls=0 22 total number of mallocs used during MatSetValues calls=0 27 total number of mallocs used during MatSetValues calls=0 32 total number of mallocs used during MatSetValues calls=0 37 total number of mallocs used during MatSetValues calls=0 42 total number of mallocs used during MatSetValues calls=0 48 total number of mallocs used during MatSetValues calls=0 53 total number of mallocs used during MatSetValues calls=0 58 total number of mallocs used during MatSetValues calls=0 63 total number of mallocs used during MatSetValues calls=0 [all …]
|
| H A D | ex37_nsize-1_mat_type-mpibaij_mat_block_size-2.out | 17 total number of mallocs used during MatSetValues calls=0 22 total number of mallocs used during MatSetValues calls=0 27 total number of mallocs used during MatSetValues calls=0 32 total number of mallocs used during MatSetValues calls=0 37 total number of mallocs used during MatSetValues calls=0 42 total number of mallocs used during MatSetValues calls=0 48 total number of mallocs used during MatSetValues calls=0 53 total number of mallocs used during MatSetValues calls=0 58 total number of mallocs used during MatSetValues calls=0 63 total number of mallocs used during MatSetValues calls=0 [all …]
|
| H A D | ex37_nsize-1_mat_type-sbaij_mat_block_size-2.out | 17 total number of mallocs used during MatSetValues calls=0 22 total number of mallocs used during MatSetValues calls=0 27 total number of mallocs used during MatSetValues calls=0 32 total number of mallocs used during MatSetValues calls=0 37 total number of mallocs used during MatSetValues calls=0 42 total number of mallocs used during MatSetValues calls=0 48 total number of mallocs used during MatSetValues calls=0 53 total number of mallocs used during MatSetValues calls=0 58 total number of mallocs used during MatSetValues calls=0 63 total number of mallocs used during MatSetValues calls=0 [all …]
|
| H A D | ex37_nsize-2_mat_type-sbaij_mat_block_size-2.out | 17 total number of mallocs used during MatSetValues calls=0 22 total number of mallocs used during MatSetValues calls=0 27 total number of mallocs used during MatSetValues calls=0 32 total number of mallocs used during MatSetValues calls=0 37 total number of mallocs used during MatSetValues calls=0 42 total number of mallocs used during MatSetValues calls=0 48 total number of mallocs used during MatSetValues calls=0 53 total number of mallocs used during MatSetValues calls=0 58 total number of mallocs used during MatSetValues calls=0 63 total number of mallocs used during MatSetValues calls=0 [all …]
|
| H A D | ex37_nsize-1_mat_type-aij_mat_block_size-1.out | 17 total number of mallocs used during MatSetValues calls=0 23 total number of mallocs used during MatSetValues calls=0 29 total number of mallocs used during MatSetValues calls=0 35 total number of mallocs used during MatSetValues calls=0 41 total number of mallocs used during MatSetValues calls=0 47 total number of mallocs used during MatSetValues calls=0 53 total number of mallocs used during MatSetValues calls=0 59 total number of mallocs used during MatSetValues calls=0 65 total number of mallocs used during MatSetValues calls=0 71 total number of mallocs used during MatSetValues calls=0 [all …]
|
| H A D | ex23_4.out | 100 total number of mallocs used during MatSetValues calls=0 105 total number of mallocs used during MatSetValues calls=0 111 total number of mallocs used during MatSetValues calls=0 117 total number of mallocs used during MatSetValues calls=0 123 total number of mallocs used during MatSetValues calls=0 129 total number of mallocs used during MatSetValues calls=0 135 total number of mallocs used during MatSetValues calls=0 272 total number of mallocs used during MatSetValues calls=0 277 total number of mallocs used during MatSetValues calls=0 283 total number of mallocs used during MatSetValues calls=0 [all …]
|
| H A D | ex37_nsize-1_mat_type-mpiaij_mat_block_size-1.out | 17 total number of mallocs used during MatSetValues calls=0 23 total number of mallocs used during MatSetValues calls=0 29 total number of mallocs used during MatSetValues calls=0 35 total number of mallocs used during MatSetValues calls=0 41 total number of mallocs used during MatSetValues calls=0 47 total number of mallocs used during MatSetValues calls=0 53 total number of mallocs used during MatSetValues calls=0 59 total number of mallocs used during MatSetValues calls=0 65 total number of mallocs used during MatSetValues calls=0 71 total number of mallocs used during MatSetValues calls=0 [all …]
|
| H A D | ex37_nsize-2_mat_type-aij_mat_block_size-1.out | 17 total number of mallocs used during MatSetValues calls=0 23 total number of mallocs used during MatSetValues calls=0 29 total number of mallocs used during MatSetValues calls=0 35 total number of mallocs used during MatSetValues calls=0 41 total number of mallocs used during MatSetValues calls=0 47 total number of mallocs used during MatSetValues calls=0 53 total number of mallocs used during MatSetValues calls=0 59 total number of mallocs used during MatSetValues calls=0 65 total number of mallocs used during MatSetValues calls=0 71 total number of mallocs used during MatSetValues calls=0 [all …]
|