Actual source code: dflush.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:    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: {
 28:   if (draw->ops->flush) {
 29:     (*draw->ops->flush)(draw);
 30:   }
 31:   return(0);
 32: }