petsc-3.7.3 2016-07-24
Report Typos and Errors

# PetscDrawGetSingleton

Gain access to a PetscDraw object as if it were owned by the one process.

### Synopsis

    #include "petscdraw.h"
    PetscErrorCode  PetscDrawGetSingleton(PetscDraw draw,PetscDraw *sdraw)

Collective on PetscDraw

### Input Parameter

draw -the original window

### Output Parameter

sdraw -the singleton window

### See Also

PetscDrawRestoreSingleton(), PetscViewerGetSingleton(), PetscViewerRestoreSingleton()

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