Home
last modified time | relevance | path

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

/petsc/src/tao/bound/tutorials/
H A Djbearing2.c55 PetscBool flg, testgetdiag; /* A return variable when checking for user options */ in main() local
70 testgetdiag = PETSC_FALSE; in main()
77 PetscCall(PetscOptionsGetBool(NULL, NULL, "-test_getdiagonal", &testgetdiag, NULL)); in main()
108 if (testgetdiag) PetscCall(MatSetOperation(user.A, MATOP_GET_DIAGONAL, NULL)); in main()
/petsc/src/mat/tests/
H A Dex221.c75 …PetscBool testzerorows = PETSC_TRUE, testdiagscale = PETSC_TRUE, testgetdiag = PETSC_TRUE, test… in main() local
93 PetscCall(PetscOptionsGetBool(NULL, NULL, "-test_getdiag", &testgetdiag, NULL)); in main()
315 if (testgetdiag && cong) { /* MatGetDiagonal() */ in main()