2: /* 3: Provides the calling sequences for all the basic PetscDraw routines. 4: */ 5: #include <petsc/private/drawimpl.h> /*I "petscdraw.h" I*/ 9: /*@ 10: PetscDrawSynchronizedClear - Clears graphical output. All processors must call this routine. 11: Does not return until the draw in context is clear. 13: Collective on PetscDraw 15: Input Parameters: 16: . draw - the drawing context 18: Level: intermediate 20: Concepts: clear^window 22: @*/ 23: PetscErrorCode PetscDrawSynchronizedClear(PetscDraw draw) 24: { 29: if (draw->ops->synchronizedclear) { 30: (*draw->ops->synchronizedclear)(draw); 31: } 32: return(0); 33: }