PetscViewerBinaryGetInfoPointer#
Extracts the file pointer for the ASCII .info file associated with a binary file.
Synopsis#
#include "petscviewer.h"   
PetscErrorCode PetscViewerBinaryGetInfoPointer(PetscViewer viewer, FILE **file)
Not Collective; No Fortran Support
Input Parameter#
- viewer - - PetscViewercontext, obtained from- PetscViewerBinaryOpen()
Output Parameter#
- file - file pointer Always returns - NULLif not a binary viewer
Note#
For writable binary PetscViewers, the file pointer will only be valid for the
first processor in the MPI communicator that shares the PetscViewer.
See Also#
Viewers: Looking at PETSc Objects, PETSCVIEWERBINARY, PetscViewerBinaryOpen(), PetscViewerBinaryGetDescriptor(), PetscViewerBinaryGetSkipInfo(),
PetscViewerBinarySetSkipInfo()
Level#
advanced
Location#
Implementations#
PetscViewerBinaryGetInfoPointer_Binary() in 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