Searched refs:myGetDiagonal (Results 1 – 1 of 1) sorted by relevance
15 static PetscErrorCode myGetDiagonal(Mat S, Vec d) in myGetDiagonal() function77 PetscCall(MatShellSetOperation(A, MATOP_GET_DIAGONAL, (PetscErrorCodeFn *)myGetDiagonal)); in main()