petsc-3.3-p7 2013-05-11

PetscViewerFileSetName

Sets the name of the file the PetscViewer uses.

Synopsis

#include "petscsys.h"   
PetscErrorCode  PetscViewerFileSetName(PetscViewer viewer,const char name[])
Collective on PetscViewer

Input Parameters

viewer - the PetscViewer; either ASCII or binary
name - the name of the file it should use

See Also

PetscViewerCreate(), PetscViewerSetType(), PetscViewerASCIIOpen(), PetscViewerBinaryOpen(), PetscViewerDestroy(),
PetscViewerASCIIGetPointer(), PetscViewerASCIIPrintf(), PetscViewerASCIISynchronizedPrintf()

Level:advanced
Location:
src/sys/viewer/impls/ascii/filev.c
Index of all Viewer routines
Table of Contents for all manual pages
Index of all manual pages

Examples

src/sys/viewer/examples/tutorials/ex1.c.html
src/ksp/ksp/examples/tutorials/ex43.c.html
src/snes/examples/tutorials/ex12.c.html
src/snes/examples/tutorials/ex62.c.html