Date: 2015-10-02T21:58:48+00:00

Actual source code: dsclear.c
petsc-3.6.2 2015-10-02
Report Typos and Errors

      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: }