PetscViewerFileSetName#
Sets the name of the file the PetscViewer
should use.
Synopsis#
#include "petscviewer.h"
PetscErrorCode PetscViewerFileSetName(PetscViewer viewer, const char name[])
Collective
Input Parameters#
viewer - the
PetscViewer
; for example, of typePETSCVIEWERASCII
orPETSCVIEWERBINARY
name - the name of the file it should use
Note#
This will have no effect on viewers that are not related to files
See Also#
Viewers: Looking at PETSc Objects, PetscViewerCreate()
, PetscViewerSetType()
, PetscViewerASCIIOpen()
, PetscViewerBinaryOpen()
, PetscViewerDestroy()
,
PetscViewerASCIIGetPointer()
, PetscViewerASCIIPrintf()
, PetscViewerASCIISynchronizedPrintf()
Level#
advanced
Location#
Examples#
src/ksp/ksp/tutorials/ex43.c
src/dm/tutorials/ex21.c
src/sys/classes/viewer/tutorials/ex1.c
src/dm/impls/plex/tutorials/ex1f90.F90
src/ksp/ksp/tutorials/ex70.c
src/dm/tutorials/ex20.c
src/ts/tutorials/ex11.c
src/ts/tutorials/ex11_sa.c
src/dm/tutorials/ex15.c
src/ts/tutorials/ex30.c
Implementations#
PetscViewerFileSetName_ExodusII() in src/dm/impls/plex/exodusii/plexexodusii2.c
PetscViewerFileSetName_ADIOS() in src/sys/classes/viewer/impls/adios/adios.c
PetscViewerFileSetName_ASCII() in src/sys/classes/viewer/impls/ascii/filev.c
PetscViewerFileSetName_Binary() in src/sys/classes/viewer/impls/binary/binv.c
PetscViewerFileSetName_CGNS() in src/sys/classes/viewer/impls/cgns/cgnsv.c
PetscViewerFileSetName_GLVis() in src/sys/classes/viewer/impls/glvis/glvis.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