ViewerGetType

Returns the type of a viewer.

Synopsis

#include "petsc.h" 
int ViewerGetType(Viewer viewer,ViewerType *type)
Not Collective

Input Parameter

viewer -the viewer

Output Parameter

type -viewer type (see below)

Available Types Include

SOCKET_VIEWER -Socket viewer
ASCII_VIEWER -ASCII viewer
BINARY_VIEWER -binary file viewer
STRING_VIEWER -string viewer
DRAW_VIEWER -drawing viewer

Note

See include/petscviewer.h for a complete list of viewers.

ViewerType is actually a string

See Also

ViewerCreate(), ViewerSetType()

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