Searched refs:is_active (Results 1 – 2 of 2) sorted by relevance
17 PetscBool is_active; in main() local20 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()
67 PetscBool is_active; in PetscLogHandlerEventBegin_Ex7() local72 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()