Home
last modified time | relevance | path

Searched refs:MatSetValuesBlocked (Results 1 – 25 of 41) sorted by relevance

12

/petsc/src/mat/tests/
H A Dex64.c31 PetscCall(MatSetValuesBlocked(A, 1, &i, 1, &j, values, INSERT_VALUES)); in main()
36 PetscCall(MatSetValuesBlocked(A, 1, &i, 1, &j, values, INSERT_VALUES)); in main()
41 PetscCall(MatSetValuesBlocked(A, 1, &i, 1, &j, values, INSERT_VALUES)); in main()
47 PetscCall(MatSetValuesBlocked(A, 1, &i, 1, &j, values, INSERT_VALUES)); in main()
52 PetscCall(MatSetValuesBlocked(A, 1, &i, 1, &j, values, INSERT_VALUES)); in main()
58 PetscCall(MatSetValuesBlocked(A, 1, &i, 1, &j, values, INSERT_VALUES)); in main()
H A Dex230.c155 PetscCall(MatSetValuesBlocked(preallocator, 1, &ii, 1, &jj, vv, INSERT_VALUES)); in ex2_square_bsvariable()
159 PetscCall(MatSetValuesBlocked(preallocator, 1, &ii, 1, &jj, vv, INSERT_VALUES)); in ex2_square_bsvariable()
163 PetscCall(MatSetValuesBlocked(preallocator, 1, &ii, 1, &jj, vv, INSERT_VALUES)); in ex2_square_bsvariable()
167 PetscCall(MatSetValuesBlocked(preallocator, 1, &ii, 1, &jj, vv, INSERT_VALUES)); in ex2_square_bsvariable()
171 PetscCall(MatSetValuesBlocked(preallocator, 1, &ii, 1, &jj, vv, INSERT_VALUES)); in ex2_square_bsvariable()
205 PetscCall(MatSetValuesBlocked(A, 1, &ii, 1, &jj, vv, INSERT_VALUES)); in ex2_square_bsvariable()
209 PetscCall(MatSetValuesBlocked(A, 1, &ii, 1, &jj, vv, INSERT_VALUES)); in ex2_square_bsvariable()
213 PetscCall(MatSetValuesBlocked(A, 1, &ii, 1, &jj, vv, INSERT_VALUES)); in ex2_square_bsvariable()
217 PetscCall(MatSetValuesBlocked(A, 1, &ii, 1, &jj, vv, INSERT_VALUES)); in ex2_square_bsvariable()
221 PetscCall(MatSetValuesBlocked(A, 1, &ii, 1, &jj, vv, INSERT_VALUES)); in ex2_square_bsvariable()
H A Dex56.c41 PetscCall(MatSetValuesBlocked(A, 2, row, 3, col, &x[0][0], INSERT_VALUES)); in main()
51 PetscCall(MatSetValuesBlocked(A, 2, row, 3, col, &x[0][0], INSERT_VALUES)); in main()
57 PetscCall(MatSetValuesBlocked(A, 1, row, 1, col, &y[0][0], INSERT_VALUES)); in main()
H A Dex265.c19 PetscCall(MatSetValuesBlocked(A, 1, &idm, 1, &idn, v, INSERT_VALUES)); in main()
H A Dex133.c28 PetscCall(MatSetValuesBlocked(A, 2, row, 3, col, &x[0][0], INSERT_VALUES)); in main()
H A Dex209f.F9034 …PetscCallA(MatSetValuesBlocked(A, one, idxm, one, idxm, reshape(km, [three*three]), ADD_VALUES, ie…
H A Dex238.c40 PetscCall(MatSetValuesBlocked(A, 1, &row, 1, &col, vals, INSERT_VALUES)); in main()
H A Dex52.c58 PetscCall(MatSetValuesBlocked(A, 1, &row, 1, &col, bval, INSERT_VALUES)); in main()
H A Dex184.c51 PetscCall(MatSetValuesBlocked(A, 1, &j, 1, &j, v, INSERT_VALUES)); in main()
H A Dex134.c30 PetscCall(MatSetValuesBlocked(A, 4, rc, 4, rc, vals, ADD_VALUES)); in Assemble()
/petsc/src/ksp/ksp/tutorials/
H A Dex55.c171 PetscCall(MatSetValuesBlocked(Amat, 4, idx, 4, idx, (const PetscScalar *)DD, ADD_VALUES)); in main()
177 PetscCall(MatSetValuesBlocked(Amat, 4, idx, 4, idx, (const PetscScalar *)DD, ADD_VALUES)); in main()
H A Dex56.c228 … PetscCall(MatSetValuesBlocked(Amat, 8, idx, 8, idx, (const PetscScalar *)DD, ADD_VALUES)); in main()
245 … PetscCall(MatSetValuesBlocked(Amat, 8, idx, 8, idx, (const PetscScalar *)DD, ADD_VALUES)); in main()
H A Dex74.c145 PetscCall(MatSetValuesBlocked(A_baij, 1, idxm, 1, idxn, A, INSERT_VALUES)); in main()
H A Dex71.c325 PetscCall(MatSetValuesBlocked(A, nen, idxs, nen, idxs, user.elemMat, ADD_VALUES)); in main()
/petsc/src/ts/tutorials/
H A Dex34.c142 PetscCall(MatSetValuesBlocked(Jpre, 1, &row, 2, col, &vals[0][0][0], INSERT_VALUES)); in FormIJacobian()
153 PetscCall(MatSetValuesBlocked(Jpre, 1, &row, 2, col, &vals[0][0][0], INSERT_VALUES)); in FormIJacobian()
164 PetscCall(MatSetValuesBlocked(Jpre, 1, &row, 3, col, &vals[0][0][0], INSERT_VALUES)); in FormIJacobian()
H A Dex25.c248 PetscCall(MatSetValuesBlocked(Jpre, 1, &row, 1, &col, &vals[0][0], INSERT_VALUES)); in FormIJacobian()
256 PetscCall(MatSetValuesBlocked(Jpre, 1, &row, 3, col, &vals[0][0][0], INSERT_VALUES)); in FormIJacobian()
H A Dex35.cxx229 PetscCall(MatSetValuesBlocked(Jpre, 1, &dof, 1, &dof, &bcvals[0][0], INSERT_VALUES)); in FormIJacobian()
237 PetscCall(MatSetValuesBlocked(Jpre, 1, &row, 3, col, &vals[0][0][0], INSERT_VALUES)); in FormIJacobian()
H A Dex22.c254 PetscCall(MatSetValuesBlocked(Jpre, 1, &i, 1, &i, &v[0][0], INSERT_VALUES)); in FormIJacobian()
/petsc/doc/changes/
H A D215.md30 - Added MatSetValuesBlocked() for SEQSBAIJ and MPISBAIJ formats
H A D2017.md90 - Added the routine MatSetValuesBlocked(), for more efficient
H A D33.md43 calling MatSetValues(), MatSetValuesBlocked() etc.
/petsc/src/ts/tests/
H A Dex25.c270 PetscCall(MatSetValuesBlocked(Jpre, 1, &row, 1, &col, &vals[0][0], INSERT_VALUES)); in FormIJacobian()
278 PetscCall(MatSetValuesBlocked(Jpre, 1, &row, 3, col, &vals[0][0][0], INSERT_VALUES)); in FormIJacobian()
/petsc/src/mat/impls/preallocator/
H A Dmatpreallocator.c186 …PetscCall(MatSetValuesBlocked(A, 1, &grow, end - start, PetscSafePointerPlusOffset(cols, start), z… in MatPreallocatorPreallocate_Preallocator()
/petsc/src/mat/impls/localref/
H A Dmlocalref.c256 lr->SetValuesBlocked = MatSetValuesBlocked; in MatCreateLocalRef()
/petsc/doc/developers/
H A Dmatrices.md140 Note that the routine `MatSetValuesBlocked()` can be used for more

12