petsc-3.15.0 2021-03-30
Report Typos and Errors

PetscViewerCreate

Creates a viewing context

Synopsis

#include "petscviewer.h" 
PetscErrorCode  PetscViewerCreate(MPI_Comm comm,PetscViewer *inviewer)
Collective

Input Parameter

comm - MPI communicator

Output Parameter

inviewer - location to put the PetscViewer context

See Also

PetscViewerDestroy(), PetscViewerSetType(), PetscViewerType

Level

advanced

Location

src/sys/classes/viewer/interface/viewreg.c

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/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
src/ts/tutorials/ex48.c.html

Index of all Viewer routines
Table of Contents for all manual pages
Index of all manual pages