PetscViewerASCIIGetPointer#

Extracts the file pointer from an ASCII PetscViewer.

Synopsis#

#include "petscviewer.h" 
PetscErrorCode PetscViewerASCIIGetPointer(PetscViewer viewer, FILE **fd)

Not Collective, depending on the viewer the value may be meaningless except for process 0 of the viewer; No Fortran Support

Input Parameter#

Output Parameter#

  • fd - file pointer

Note#

For the standard PETSCVIEWERASCII the value is valid only on MPI rank 0 of the viewer

See Also#

Viewers: Looking at PETSc Objects, PETSCVIEWERASCII, PetscViewerASCIIOpen(), PetscViewerDestroy(), PetscViewerSetType(), PetscViewerCreate(), PetscViewerASCIIPrintf(), PetscViewerASCIISynchronizedPrintf(), PetscViewerFlush()

Level#

intermediate

Location#

src/sys/classes/viewer/impls/ascii/filev.c


Index of all Viewer routines
Table of Contents for all manual pages
Index of all manual pages