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 Viewertor is used.

Keywords

viewer

See Also

ViewerCreate(), ViewerSetType()

Level:intermediate
Location:src/sys/src/viewer/interface/viewreg.c
Viewer Index
Table of Contents