VIEWER_DRAW_

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

Synopsis

#include "petscdraw.h" 
Viewer VIEWER_DRAW_(MPI_Comm comm)
Collective on MPI_Comm

Input Parameter

comm -the MPI communicator to share the window viewer

Notes

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

See Also

VIEWER_DRAW_WORLD, VIEWER_DRAW_SELF, ViewerDrawOpen(),

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

Examples

src/ts/examples/tutorials/ex2.c