Lines Matching refs:isdraw

56   PetscBool         isdraw;  in PetscViewerDrawBaseAdd()  local
61 PetscCall(PetscObjectTypeCompare((PetscObject)viewer, PETSCVIEWERDRAW, &isdraw)); in PetscViewerDrawBaseAdd()
62 PetscCheck(isdraw, PETSC_COMM_SELF, PETSC_ERR_ARG_WRONG, "Must be draw type PetscViewer"); in PetscViewerDrawBaseAdd()
89 PetscBool isdraw; in PetscViewerDrawBaseSet() local
94 PetscCall(PetscObjectTypeCompare((PetscObject)viewer, PETSCVIEWERDRAW, &isdraw)); in PetscViewerDrawBaseSet()
95 PetscCheck(isdraw, PETSC_COMM_SELF, PETSC_ERR_ARG_WRONG, "Must be draw type PetscViewer"); in PetscViewerDrawBaseSet()
106 PetscBool isdraw; in PetscViewerDrawResize() local
110 PetscCall(PetscObjectTypeCompare((PetscObject)v, PETSCVIEWERDRAW, &isdraw)); in PetscViewerDrawResize()
111 if (!isdraw) PetscFunctionReturn(PETSC_SUCCESS); in PetscViewerDrawResize()
122 PetscBool isdraw; in PetscViewerDrawSetInfo() local
126 PetscCall(PetscObjectTypeCompare((PetscObject)v, PETSCVIEWERDRAW, &isdraw)); in PetscViewerDrawSetInfo()
127 if (!isdraw) PetscFunctionReturn(PETSC_SUCCESS); in PetscViewerDrawSetInfo()
140 PetscBool isdraw; in PetscViewerDrawSetTitle() local
144 PetscCall(PetscObjectTypeCompare((PetscObject)v, PETSCVIEWERDRAW, &isdraw)); in PetscViewerDrawSetTitle()
145 if (!isdraw) PetscFunctionReturn(PETSC_SUCCESS); in PetscViewerDrawSetTitle()
156 PetscBool isdraw; in PetscViewerDrawGetTitle() local
160 PetscCall(PetscObjectTypeCompare((PetscObject)v, PETSCVIEWERDRAW, &isdraw)); in PetscViewerDrawGetTitle()
161 PetscCheck(isdraw, PETSC_COMM_SELF, PETSC_ERR_ARG_WRONG, "Must be draw type PetscViewer"); in PetscViewerDrawGetTitle()
388 PetscBool isdraw; in PetscViewerDrawClear() local
393 PetscCall(PetscObjectTypeCompare((PetscObject)viewer, PETSCVIEWERDRAW, &isdraw)); in PetscViewerDrawClear()
394 if (!isdraw) PetscFunctionReturn(PETSC_SUCCESS); in PetscViewerDrawClear()
421 PetscBool isdraw; in PetscViewerDrawGetPause() local
427 PetscCall(PetscObjectTypeCompare((PetscObject)viewer, PETSCVIEWERDRAW, &isdraw)); in PetscViewerDrawGetPause()
428 if (!isdraw) { in PetscViewerDrawGetPause()
462 PetscBool isdraw; in PetscViewerDrawSetPause() local
467 PetscCall(PetscObjectTypeCompare((PetscObject)viewer, PETSCVIEWERDRAW, &isdraw)); in PetscViewerDrawSetPause()
468 if (!isdraw) PetscFunctionReturn(PETSC_SUCCESS); in PetscViewerDrawSetPause()
494 PetscBool isdraw; in PetscViewerDrawSetHold() local
498 PetscCall(PetscObjectTypeCompare((PetscObject)viewer, PETSCVIEWERDRAW, &isdraw)); in PetscViewerDrawSetHold()
499 if (!isdraw) PetscFunctionReturn(PETSC_SUCCESS); in PetscViewerDrawSetHold()
524 PetscBool isdraw; in PetscViewerDrawGetHold() local
528 PetscCall(PetscObjectTypeCompare((PetscObject)viewer, PETSCVIEWERDRAW, &isdraw)); in PetscViewerDrawGetHold()
529 if (!isdraw) { in PetscViewerDrawGetHold()
611 PetscBool isdraw; in PetscViewerDrawSetBounds() local
615 PetscCall(PetscObjectTypeCompare((PetscObject)viewer, PETSCVIEWERDRAW, &isdraw)); in PetscViewerDrawSetBounds()
616 if (!isdraw) PetscFunctionReturn(PETSC_SUCCESS); in PetscViewerDrawSetBounds()
645 PetscBool isdraw; in PetscViewerDrawGetBounds() local
649 PetscCall(PetscObjectTypeCompare((PetscObject)viewer, PETSCVIEWERDRAW, &isdraw)); in PetscViewerDrawGetBounds()
650 if (!isdraw) { in PetscViewerDrawGetBounds()