PetscDrawSetPause#

Sets the amount of time that program pauses after a PetscDrawPause() is called.

Synopsis#

#include "petscdraw.h" 
PetscErrorCode PetscDrawSetPause(PetscDraw draw, PetscReal lpause)

Logically Collective

Input Parameters#

  • draw - the drawing object

  • lpause - number of seconds to pause, -1 implies until user input, -2 pauses only on the PetscDrawDestroy()

Options Database Key#

  • -draw_pause value - set the time to pause

Note#

By default the pause time is zero unless the -draw_pause option is given during PetscDrawCreate().

See Also#

PetscDraw, PetscDrawGetPause(), PetscDrawPause()

Level#

intermediate

Location#

src/sys/classes/draw/interface/dpause.c

Examples#

src/ksp/ksp/tutorials/ex68.c


Index of all Draw routines
Table of Contents for all manual pages
Index of all manual pages