PetscViewerSetType#
Builds PetscViewer
for a particular implementation.
Synopsis#
#include "petscviewer.h"
PetscErrorCode PetscViewerSetType(PetscViewer viewer, PetscViewerType type)
Collective
Input Parameters#
viewer - the
PetscViewer
context obtained withPetscViewerCreate()
type - for example,
PETSCVIEWERASCII
Options Database Key#
-viewer_type
- Sets the type; use -help for a list of available methods (for instance, ascii)
Note#
See “include/petscviewer.h” for available methods (for instance,
PETSCVIEWERSOCKET
)
See Also#
Viewers: Looking at PETSc Objects, PetscViewer
, PetscViewerCreate()
, PetscViewerGetType()
, PetscViewerType
, PetscViewerPushFormat()
Level#
advanced
Location#
Examples#
src/sys/classes/viewer/tutorials/ex1.c.html
src/mat/tutorials/ex10.c.html
src/dm/impls/plex/tutorials/ex1.c.html
src/dm/impls/plex/tutorials/ex1f90.F90.html
src/dm/tutorials/ex15.c.html
src/dm/tutorials/ex20.c.html
src/dm/tutorials/ex21.c.html
src/ksp/ksp/tutorials/ex43.c.html
src/ksp/ksp/tutorials/ex70.c.html
src/snes/tutorials/ex12.c.html
src/ts/tutorials/ex11.c.html
Index of all Viewer routines
Table of Contents for all manual pages
Index of all manual pages