PetscViewerBinaryReadAll#
reads from a binary file from all MPI processes, each rank receives its own portion of the data
Synopsis#
#include "petscviewer.h"
PetscErrorCode PetscViewerBinaryReadAll(PetscViewer viewer, void *data, PetscInt count, PetscCount start, PetscCount total, PetscDataType dtype)
Collective; No Fortran Support
Input Parameters#
viewer - the
PETSCVIEWERBINARYviewercount - local number of items of data to read
start - local start, can be
PETSC_DETERMINEtotal - global number of items of data to read, can be
PETSC_DETERMINEdtype - type of data to read
Output Parameter#
data - location of data, treated as an array of type indicated by
dtype
See Also#
Viewers: Looking at PETSc Objects, PETSCVIEWERBINARY, PetscViewerBinaryOpen(), PetscViewerBinarySetUseMPIIO(), PetscViewerBinaryRead(), PetscViewerBinaryWriteAll()
Level#
advanced
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