#include "petscviewer.h" PetscErrorCode PetscViewerFileGetMode(PetscViewer viewer,PetscFileMode *mode)Not Collective
viewer | - the PetscViewer; must be a PETSCVIEWERBINARY, PETSCVIEWERMATLAB, PETSCVIEWERHDF5, or PETSCVIEWERASCII PetscViewer |
mode | - open mode of file |
FILE_MODE_WRITE - create new file for binary output
FILE_MODE_READ - open existing file for binary input
FILE_MODE_APPEND - open existing file for binary output