Home
last modified time | relevance | path

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

/petsc/src/sys/tests/
H A Dex68.c17 PetscBool is_active; in main() local
20 PetscCall(PetscLogIsActive(&is_active)); in main()
21 PetscCheck(is_active, PETSC_COMM_WORLD, PETSC_ERR_SUP, "Logging must be active for this test"); in main()
/petsc/src/sys/tutorials/
H A Dex7.c67 PetscBool is_active; in PetscLogHandlerEventBegin_Ex7() local
72 PetscCall(PetscLogStateEventGetActive(state, PETSC_DEFAULT, e, &is_active)); in PetscLogHandlerEventBegin_Ex7()
73 …PetscAssert(is_active, PETSC_COMM_SELF, PETSC_ERR_PLIB, "Event handler called for inactive event"); in PetscLogHandlerEventBegin_Ex7()