PETSC_FILE_RDONLY

File is open to be read from only, not written to

See Also

PetscViewerFileType, PETSC_FILE_WRONLY, PETSC_FILE_CREATE, PetscViewerSetFileName(), PetscViewerSetFileType(),
PetscViewerBinaryOpen(), PetscViewerASCIIOpen(), PetscViewerMatlabOpen()

Level:beginner
Location:
src/sys/src/viewer/../../../../include/petscviewer.h
Index of all Viewer routines
Table of Contents for all manual pages
Index of all manual pages

Examples

src/vec/examples/tutorials/ex5.c.html
src/vec/examples/tutorials/ex6.c.html
src/mat/examples/tutorials/ex1.c.html
src/mat/examples/tutorials/ex4.c.html
src/ksp/examples/tutorials/ex10.c.html
src/ksp/examples/tutorials/ex27.c.html
src/snes/examples/tutorials/ex26.c.html
src/snes/examples/tutorials/ex29.c.html
src/dm/ao/examples/tutorials/ex1.c.html