petsc-3.9.4 2018-09-11
PetscViewerRestoreSubViewer
Restores a new PetscViewer obtained with PetscViewerGetSubViewer().
Synopsis
#include "petscviewer.h"
PetscErrorCode PetscViewerRestoreSubViewer(PetscViewer viewer,MPI_Comm comm,PetscViewer *outviewer)
Collective on PetscViewer
Input Parameters
Notes: Call PetscViewerGetSubViewer() to get this PetscViewer, NOT PetscViewerCreate()
See Also
PetscViewerSocketOpen(), PetscViewerASCIIOpen(), PetscViewerDrawOpen(), PetscViewerGetSubViewer()
Level
advanced
Location
src/sys/classes/viewer/interface/dupl.c
Examples
src/sys/examples/tutorials/ex15.c.html
src/vec/vec/examples/tutorials/ex9f.F90.html
src/vec/vec/examples/tutorials/ex14f.F90.html
src/dm/examples/tutorials/ex6.c.html
Implementations
PetscViewerRestoreSubViewer_ASCII in src/sys/classes/viewer/impls/ascii/filev.c
PetscViewerRestoreSubViewer_Binary in src/sys/classes/viewer/impls/binary/binv.c
PetscViewerRestoreSubViewer_Draw in src/sys/classes/viewer/impls/draw/drawv.c
PetscViewerRestoreSubViewer_String in src/sys/classes/viewer/impls/string/stringv.c
Index of all Viewer routines
Table of Contents for all manual pages
Index of all manual pages