Searched refs:testgetdiag (Results 1 – 2 of 2) sorted by relevance
| /petsc/src/tao/bound/tutorials/ |
| H A D | jbearing2.c | 55 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 D | ex221.c | 75 …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()
|