Actual source code: dsclear.c
petsc-3.3-p7 2013-05-11
2: /*
3: Provides the calling sequences for all the basic PetscDraw routines.
4: */
5: #include <../src/sys/draw/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: {
28: if (draw->ops->synchronizedclear) {
29: (*draw->ops->synchronizedclear)(draw);
30: }
31: return(0);
32: }