Searched refs:state_pre (Results 1 – 1 of 1) sorted by relevance
| /petsc/src/mat/impls/diagonal/tests/ |
| H A D | ex1.c | 167 PetscObjectState state_pre, state_post; in main() local 168 PetscCall(PetscObjectStateGet((PetscObject)A, &state_pre)); in main() 172 PetscCheck(state_pre == state_post, comm, PETSC_ERR_PLIB, "State changed on noop"); in main() 174 PetscCall(PetscObjectStateGet((PetscObject)A, &state_pre)); in main() 179 PetscCheck(state_pre != state_post, comm, PETSC_ERR_PLIB, "State not changed on mutation"); in main() 181 PetscCall(PetscObjectStateGet((PetscObject)A, &state_pre)); in main() 185 PetscCheck(state_pre == state_post, comm, PETSC_ERR_PLIB, "State changed on noop"); in main() 192 PetscCheck(state_pre != state_post, comm, PETSC_ERR_PLIB, "State not changed on mutation"); in main()
|