petsc-3.7.1 2016-05-15
PetscViewerBinaryRead
Reads from a binary file, all processors get the same result
Synopsis
#include "petscviewer.h"
PetscErrorCode PetscViewerBinaryRead(PetscViewer viewer,void *data,PetscInt num,PetscInt *count,PetscDataType dtype)
Collective on MPI_Comm Many br
Input Parameters
| viewer | - the binary viewer Many br |
| data | - location of the data to be written Many br |
| num | - number of items of data to read Many br |
| dtype | - type of data to read Many br |
Output Parameters
count -number of items of data actually read, or NULL Many br
Many br
See Also
PetscViewerASCIIOpen(), PetscViewerPushFormat(), PetscViewerDestroy(),
VecView(), MatView(), VecLoad(), MatLoad(), PetscViewerBinaryGetDescriptor(), Many brPetscViewerBinaryGetInfoPointer(), PetscFileMode, PetscViewer, PetscBinaryViewerRead() Many br
Level:beginner
Location:src/sys/classes/viewer/impls/binary/binv.c
Index of all Viewer routines
Table of Contents for all manual pages
Index of all manual pages
Examples
src/dm/examples/tutorials/ex65dm.c.html