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: PetscDrawFlush - Flushs graphical output.
12: Not collective (Use PetscDrawSynchronizedFlush() for collective)
14: Input Parameters:
15: . draw - the drawing context
17: Level: beginner
19: Concepts: flushing^graphics
21: .seealso: PetscDrawSynchronizedFlush()
22: @*/
23: PetscErrorCode PetscDrawFlush(PetscDraw draw)
24: {
29: if (draw->ops->flush) {
30: (*draw->ops->flush)(draw);
31: }
32: return(0);
33: }