petsc-3.3-p7 2013-05-11

PetscViewerGetType

Returns the type of a PetscViewer.

Synopsis

#include "petscsys.h" 
PetscErrorCode  PetscViewerGetType(PetscViewer viewer,const PetscViewerType *type)
Not Collective

Input Parameter

viewer -the PetscViewer

Output Parameter

type -PetscViewer type (see below)

Available Types Include

PETSCVIEWERSOCKET -Socket PetscViewer
PETSCVIEWERASCII -ASCII PetscViewer
PETSCVIEWERBINARY -binary file PetscViewer
PETSCVIEWERSTRING -string PetscViewer
PETSCVIEWERDRAW -drawing PetscViewer

Note

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

PetscViewerType is actually a string

See Also

PetscViewerCreate(), PetscViewerSetType()

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