Home
last modified time | relevance | path

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

/petsc/src/ksp/pc/tutorials/
H A Dex4.c161 Vec bound, x, b, Qdiag, DVec; in main() local
285 PetscCall(MatCreateVecs(D, &DVec, NULL)); in main()
286 PetscCall(MatGetDiagonal(AplusJ, DVec)); in main()
287 PetscCall(MatDiagonalSet(D, DVec, INSERT_VALUES)); in main()
341 PetscCall(VecDestroy(&DVec)); in main()