petsc-3.4.2 2013-07-02

# 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 on PetscDraw

### Input Parameters

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

### Note

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

### See Also

PetscDrawGetPause(), PetscDrawPause()

Level:intermediate
Location: src/sys/classes/draw/interface/dsetpause.c
Index of all Draw routines
Table of Contents for all manual pages
Index of all manual pages