# PetscViewerVUSetMode

Sets the mode in which to open the file.

### Synopsis

    #include "petsc.h"
    int PetscViewerVUSetMode(PetscViewer viewer, PetscFileMode mode)

Not Collective

### Input Parameters

| viewer | - The PetscViewer
| mode | - The file mode

### Keywords

Viewer, file, get, pointer

### See Also

PetscViewerASCIISetMode()

Level:intermediate
Location: src/sys/src/viewer/impls/vu/petscvu.c
Index of all Viewer routines
Table of Contents for all manual pages
Index of all manual pages