petsc-3.5.4 2015-05-23
Report Typos and Errors

PetscViewerRestoreSingleton

Restores a new PetscViewer obtained with PetscViewerGetSingleton().

Synopsis

#include "petscviewer.h" 
PetscErrorCode  PetscViewerRestoreSingleton(PetscViewer viewer,PetscViewer *outviewer)
Collective on PetscViewer

Input Parameters

viewer - the PetscViewer to be duplicated
outviewer - new PetscViewer

Notes: Call PetscViewerGetSingleton() to get this PetscViewer, NOT PetscViewerCreate()

See Also

PetscViewerSocketOpen(), PetscViewerASCIIOpen(), PetscViewerDrawOpen(), PetscViewerGetSingleton()

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