ViewerBinarySetType

Sets the type of binary file to be open

Synopsis

#include "petsc.h"   
int ViewerBinarySetType(Viewer viewer,ViewerBinaryType type)
Collective on Viewer

Input Parameters

viewer - the viewer; must be a binary viewer
type - type of file
   BINARY_CREATE - create new file for binary output
   BINARY_RDONLY - open existing file for binary input
   BINARY_WRONLY - open existing file for binary output

See Also

ViewerCreate(), ViewerSetType(), ViewerBinaryOpen()

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