petsc-3.9.4 2018-09-11
Report Typos and Errors

PetscViewerFileSetName

Sets the name of the file the PetscViewer uses.

Synopsis

#include "petscviewer.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/classes/viewer/impls/ascii/filev.c

Examples

src/sys/classes/viewer/examples/tutorials/ex1.c.html
src/dm/impls/plex/examples/tutorials/ex1.c.html
src/dm/impls/plex/examples/tutorials/ex1f90.F90.html
src/dm/examples/tutorials/ex15.c.html
src/dm/examples/tutorials/ex20.c.html
src/ksp/ksp/examples/tutorials/ex43.c.html
src/ksp/ksp/examples/tutorials/ex70.c.html
src/snes/examples/tutorials/ex12.c.html
src/ts/examples/tutorials/ex11.c.html
src/ts/examples/tutorials/ex48.c.html

Implementations

PetscViewerFileSetName_ASCII in src/sys/classes/viewer/impls/ascii/filev.c
PetscViewerFileSetName_Binary in src/sys/classes/viewer/impls/binary/binv.c
PetscViewerFileSetName_HDF5 in src/sys/classes/viewer/impls/hdf5/hdf5v.c
PetscViewerFileSetName_Matlab in src/sys/classes/viewer/impls/matlab/vmatlab.c
PetscViewerFileSetName_VTK in src/sys/classes/viewer/impls/vtk/vtkv.c
PetscViewerFileSetName_VU in src/sys/classes/viewer/impls/vu/petscvu.c

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