petsc-3.15.0 2021-03-30
PetscViewerFileSetMode
Sets the open mode of file
Synopsis
#include "petscviewer.h"
PetscErrorCode PetscViewerFileSetMode(PetscViewer viewer,PetscFileMode mode)
Logically Collective on PetscViewer
Input Parameters
FILE_MODE_WRITE - create new file for output
FILE_MODE_READ - open existing file for input
FILE_MODE_APPEND - open existing file for output
See Also
PetscViewerFileSetMode(), PetscViewerCreate(), PetscViewerSetType(), PetscViewerBinaryOpen()
Level
advanced
Location
src/sys/classes/viewer/impls/binary/binv.c
Examples
src/sys/classes/viewer/tutorials/ex1.c.html
src/mat/tutorials/ex10.c.html
src/dm/tutorials/ex15.c.html
src/dm/tutorials/ex20.c.html
src/ksp/ksp/tutorials/ex43.c.html
src/ksp/ksp/tutorials/ex70.c.html
src/snes/tutorials/ex12.c.html
src/ts/tutorials/ex11.c.html
src/ts/tutorials/ex48.c.html
Index of all Viewer routines
Table of Contents for all manual pages
Index of all manual pages