PetscViewerBinarySetType

Sets the type of binary file to be open

Synopsis

#include "petsc.h"   
int PetscViewerBinarySetType(PetscViewer viewer,PetscViewerBinaryType type)
Collective on PetscViewer

Input Parameters

viewer - the PetscViewer; must be a binary PetscViewer
type - type of file
   PETSC_BINARY_CREATE - create new file for binary output
   PETSC_BINARY_RDONLY - open existing file for binary input
   PETSC_BINARY_WRONLY - open existing file for binary output

See Also

PetscViewerCreate(), PetscViewerSetType(), PetscViewerBinaryOpen()

Level:advanced
Location:
src/sys/src/viewer/impls/binary/binv.c
Index of all Viewer routines
Table of Contents for all manual pages
Index of all manual pages