PetscViewerBinaryWriteStringArray

writes to a binary file, only from the first process an array of strings

Synopsis

#include "petscviewer.h"   
PetscErrorCode PetscViewerBinaryWriteStringArray(PetscViewer viewer,const char * const *data)
Collective

Input Parameters

viewer - the binary viewer
data - location of the array of strings

Level: intermediate

Notes

array of strings is null terminated

See Also

PetscViewerASCIIOpen(), PetscViewerPushFormat(), PetscViewerDestroy(),
VecView(), MatView(), VecLoad(), MatLoad(), PetscViewerBinaryGetDescriptor(), PetscViewerBinaryGetInfoPointer(), PetscFileMode, PetscViewer, PetscViewerBinaryRead()

Location:binv.c