petsc-3.5.4 2015-05-23
Report Typos and Errors

PETSC_VIEWER_DRAW_

Creates a window PetscViewer shared by all processors in a communicator.

Synopsis

#include "petscdraw.h" 
#include "petscviewer.h" 
PetscViewer  PETSC_VIEWER_DRAW_(MPI_Comm comm)
Collective on MPI_Comm

Input Parameter

comm -the MPI communicator to share the window PetscViewer

Notes

Unlike almost all other PETSc routines, PETSC_VIEWER_DRAW_ does not return an error code. The window is usually used in the form
      XXXView(XXX object,PETSC_VIEWER_DRAW_(comm));

See Also

PETSC_VIEWER_DRAW_WORLD, PETSC_VIEWER_DRAW_SELF, PetscViewerDrawOpen(),

Level:intermediate
Location:
src/sys/classes/viewer/impls/draw/drawv.c
Index of all Viewer routines
Table of Contents for all manual pages
Index of all manual pages

Examples

src/snes/examples/tutorials/ex60.c.html
src/snes/examples/tutorials/ex61.c.html
src/snes/examples/tutorials/ex63.c.html
src/snes/examples/tutorials/ex64.c.html
src/snes/examples/tutorials/ex65.c.html
src/ts/examples/tutorials/ex2.c.html
src/ts/examples/tutorials/ex21.c.html