ViewerSetFromOptions

Sets the graphics type from the options database. Defaults to a PETSc X windows graphics.

Synopsis

#include "petsc.h" 
int ViewerSetFromOptions(Viewer viewer)
Collective on Viewer

Input Parameter

viewer -the graphics context

Notes

Must be called after ViewerCreate() before the Viewer is used.

See Also

ViewerCreate(), ViewerSetType()

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