ViewerStringOpen

Opens a string as a viewer. This is a very simple viewer; information on the object is simply stored into the string in a fairly nice way.

Synopsis

#include "petsc.h"  
int ViewerStringOpen(MPI_Comm comm,char string[],int len,Viewer *lab)
Collective on MPI_Comm

Input Parameters

comm - the communicator
string - the string to use

Output Parameter

lab -the viewer

Fortran Note

This routine is not supported in Fortran.

Keywords

Viewer, string, open

See Also

ViewerDestroy(), ViewerStringSPrintf()

Examples

src/sles/examples/tutorials/ex10.c

Level:advanced
Location:src/sys/src/viewer/impls/string/stringv.c
Viewer Index
Table of Contents