petsc-3.3-p7 2013-05-11

PetscViewerBinaryGetSkipHeader

checks whether to write a header with size information on output, or just raw data

Synopsis

#include "petscsys.h"   
PetscErrorCode PetscViewerBinaryGetSkipHeader(PetscViewer viewer,PetscBool  *skip)
Not Collective

Input Parameter

viewer -PetscViewer context, obtained from PetscViewerBinaryOpen()

Output Parameter

skip -PETSC_TRUE means do not write header

Notes: This must be called after PetscViewerSetType()

Returns false for PETSCSOCKETVIEWER, you cannot skip the header for it.

See Also

PetscViewerBinaryOpen(), PetscViewerBinaryGetDescriptor(), PetscViewerBinarySkipInfo(),
PetscViewerBinarySetSkipHeader()

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