# Viewer Manual Pages


PETSc viewers export information and data from PETSc objects.


[Manual Pages Table of Contents](/docs/manualpages/index.md)

## Manual Pages by Level

### Beginner - Basic usage
```{hlist}
---
columns: 3
---
- [](PETSCVIEWERADIOS.md)
- [](PETSCVIEWERASCII.md)
- [](PETSCVIEWERBINARY.md)
- [](PETSCVIEWERCGNS.md)
- [](PETSCVIEWERDRAW.md)
- [](PETSCVIEWERHDF5.md)
- [](PETSCVIEWERSOCKET.md)
- [](PETSCVIEWERSTRING.md)
- [](PETSCVIEWERVTK.md)
- [](PETSCVIEWERVU.md)
- [](PETSC_VIEWER_STDERR_.md)
- [](PETSC_VIEWER_STDERR_SELF.md)
- [](PETSC_VIEWER_STDERR_WORLD.md)
- [](PETSC_VIEWER_STDOUT_.md)
- [](PETSC_VIEWER_STDOUT_SELF.md)
- [](PETSC_VIEWER_STDOUT_WORLD.md)
- [](PetscViewer.md)
- [](PetscViewerADIOSOpen.md)
- [](PetscViewerASCIIGetStderr.md)
- [](PetscViewerASCIIGetStdout.md)
- [](PetscViewerASCIIOpen.md)
- [](PetscViewerASCIIOpenWithFILE.md)
- [](PetscViewerASCIIRead.md)
- [](PetscViewerASCIISetFILE.md)
- [](PetscViewerBinaryOpen.md)
- [](PetscViewerBinaryRead.md)
- [](PetscViewerBinaryWrite.md)
- [](PetscViewerDestroy.md)
- [](PetscViewerDrawOpen.md)
- [](PetscViewerFormat.md)
- [](PetscViewerGLVisOpen.md)
- [](PetscViewerGLVisSetPrecision.md)
- [](PetscViewerGLVisSetSnapId.md)
- [](PetscViewerGLVisType.md)
- [](PetscViewerHDF5Open.md)
- [](PetscViewerMatlabOpen.md)
- [](PetscViewerRead.md)
- [](PetscViewerType.md)
- [](PetscViewerVTKOpen.md)
- [](PetscViewerView.md)
```



### Intermediate - Setting options for algorithms and data structures
```{hlist}
---
columns: 3
---
- [](PETSCVIEWERMATLAB.md)
- [](PETSC_VIEWER_BINARY_.md)
- [](PETSC_VIEWER_BINARY_SELF.md)
- [](PETSC_VIEWER_BINARY_WORLD.md)
- [](PETSC_VIEWER_DRAW_.md)
- [](PETSC_VIEWER_DRAW_SELF.md)
- [](PETSC_VIEWER_DRAW_WORLD.md)
- [](PETSC_VIEWER_GLVIS_.md)
- [](PETSC_VIEWER_HDF5_.md)
- [](PETSC_VIEWER_MATLAB_.md)
- [](PETSC_VIEWER_MATLAB_SELF.md)
- [](PETSC_VIEWER_MATLAB_WORLD.md)
- [](PETSC_VIEWER_SOCKET_.md)
- [](PETSC_VIEWER_SOCKET_SELF.md)
- [](PETSC_VIEWER_SOCKET_WORLD.md)
- [](PetscOptionsGetViewer.md)
- [](PetscOptionsHelpPrintedCheck.md)
- [](PetscViewerASCIIGetPointer.md)
- [](PetscViewerASCIIPopSynchronized.md)
- [](PetscViewerASCIIPushSynchronized.md)
- [](PetscViewerASCIISynchronizedPrintf.md)
- [](PetscViewerBinaryReadStringArray.md)
- [](PetscViewerBinaryWriteStringArray.md)
- [](PetscViewerCheckReadable.md)
- [](PetscViewerCheckWritable.md)
- [](PetscViewerDrawClear.md)
- [](PetscViewerDrawGetBounds.md)
- [](PetscViewerDrawGetDraw.md)
- [](PetscViewerDrawGetDrawLG.md)
- [](PetscViewerDrawGetHold.md)
- [](PetscViewerDrawGetPause.md)
- [](PetscViewerDrawSetBounds.md)
- [](PetscViewerDrawSetHold.md)
- [](PetscViewerDrawSetPause.md)
- [](PetscViewerFlush.md)
- [](PetscViewerGLVisSetFields.md)
- [](PetscViewerGetFormat.md)
- [](PetscViewerGetType.md)
- [](PetscViewerHDF5GetBaseDimension2.md)
- [](PetscViewerHDF5GetCollective.md)
- [](PetscViewerHDF5GetDefaultTimestepping.md)
- [](PetscViewerHDF5GetFileId.md)
- [](PetscViewerHDF5GetGroup.md)
- [](PetscViewerHDF5GetSPOutput.md)
- [](PetscViewerHDF5GetTimestep.md)
- [](PetscViewerHDF5IncrementTimestep.md)
- [](PetscViewerHDF5IsTimestepping.md)
- [](PetscViewerHDF5OpenGroup.md)
- [](PetscViewerHDF5PopGroup.md)
- [](PetscViewerHDF5PopTimestepping.md)
- [](PetscViewerHDF5PushGroup.md)
- [](PetscViewerHDF5PushTimestepping.md)
- [](PetscViewerHDF5SetBaseDimension2.md)
- [](PetscViewerHDF5SetCollective.md)
- [](PetscViewerHDF5SetDefaultTimestepping.md)
- [](PetscViewerHDF5SetSPOutput.md)
- [](PetscViewerHDF5SetTimestep.md)
- [](PetscViewerHDF5WriteGroup.md)
- [](PetscViewerMathematicaClearName.md)
- [](PetscViewerMathematicaGetLink.md)
- [](PetscViewerMathematicaGetName.md)
- [](PetscViewerMathematicaGetVector.md)
- [](PetscViewerMathematicaOpen.md)
- [](PetscViewerMathematicaPutVector.md)
- [](PetscViewerMathematicaSetName.md)
- [](PetscViewerPopFormat.md)
- [](PetscViewerPushFormat.md)
- [](PetscViewerReadable.md)
- [](PetscViewerSetFormat.md)
- [](PetscViewerSetFromOptions.md)
- [](PetscViewerSocketOpen.md)
- [](PetscViewerVUFlushDeferred.md)
- [](PetscViewerVUGetPointer.md)
- [](PetscViewerVUPrintDeferred.md)
- [](PetscViewerViewFromOptions.md)
- [](PetscViewerWritable.md)
- [](PetscViewers.md)
- [](PetscViewersCreate.md)
- [](PetscViewersDestroy.md)
- [](PetscViewersGetViewer.md)
```



### Advanced - Setting more advanced options and customization
```{hlist}
---
columns: 3
---
- [](PetscADIOSDataTypeToPetscDataType.md)
- [](PetscDataTypeToADIOSDataType.md)
- [](PetscDataTypeToHDF5DataType.md)
- [](PetscHDF5DataTypeToPetscDataType.md)
- [](PetscObjectViewSAWs.md)
- [](PetscSocketEstablish.md)
- [](PetscSocketListen.md)
- [](PetscSocketOpen.md)
- [](PetscViewerAppendOptionsPrefix.md)
- [](PetscViewerBinaryAddMPIIOOffset.md)
- [](PetscViewerBinaryGetDescriptor.md)
- [](PetscViewerBinaryGetFlowControl.md)
- [](PetscViewerBinaryGetInfoPointer.md)
- [](PetscViewerBinaryGetMPIIODescriptor.md)
- [](PetscViewerBinaryGetMPIIOOffset.md)
- [](PetscViewerBinaryGetSkipHeader.md)
- [](PetscViewerBinaryGetSkipInfo.md)
- [](PetscViewerBinaryGetSkipOptions.md)
- [](PetscViewerBinaryGetUseMPIIO.md)
- [](PetscViewerBinaryReadAll.md)
- [](PetscViewerBinarySetFlowControl.md)
- [](PetscViewerBinarySetSkipHeader.md)
- [](PetscViewerBinarySetSkipInfo.md)
- [](PetscViewerBinarySetSkipOptions.md)
- [](PetscViewerBinarySetUseMPIIO.md)
- [](PetscViewerBinarySkipInfo.md)
- [](PetscViewerBinaryWriteAll.md)
- [](PetscViewerCreate.md)
- [](PetscViewerDrawGetDrawAxis.md)
- [](PetscViewerFileGetMode.md)
- [](PetscViewerFileGetName.md)
- [](PetscViewerFileSetMode.md)
- [](PetscViewerFileSetName.md)
- [](PetscViewerGetOptionsPrefix.md)
- [](PetscViewerGetSubViewer.md)
- [](PetscViewerHDF5HasAttribute.md)
- [](PetscViewerHDF5HasDataset.md)
- [](PetscViewerHDF5HasGroup.md)
- [](PetscViewerHDF5HasObject.md)
- [](PetscViewerHDF5HasObjectAttribute.md)
- [](PetscViewerHDF5ReadAttribute.md)
- [](PetscViewerHDF5ReadObjectAttribute.md)
- [](PetscViewerHDF5WriteAttribute.md)
- [](PetscViewerHDF5WriteObjectAttribute.md)
- [](PetscViewerMathematicaSkipPackets.md)
- [](PetscViewerMatlabGetArray.md)
- [](PetscViewerMatlabPutArray.md)
- [](PetscViewerRestoreSubViewer.md)
- [](PetscViewerSAWsOpen.md)
- [](PetscViewerSetOptionsPrefix.md)
- [](PetscViewerSetType.md)
- [](PetscViewerSetUp.md)
- [](PetscViewerSocketSetConnection.md)
- [](PetscViewerStringGetStringRead.md)
- [](PetscViewerStringOpen.md)
- [](PetscViewerStringSetOwnString.md)
- [](PetscViewerStringSetString.md)
- [](PetscViewerVUGetVecSeen.md)
```



### Developer - Interfaces intended primarily for library developers, not for typical applications programmers
```{hlist}
---
columns: 3
---
- [](PETSC_VIEWER_SAWS_.md)
- [](PetscOptionsGetViewerOff.md)
- [](PetscOptionsHelpPrintedCreate.md)
- [](PetscOptionsPopGetViewerOff.md)
- [](PetscOptionsPushGetViewerOff.md)
- [](PetscSysFinalizePackage.md)
- [](PetscSysInitializePackage.md)
- [](PetscViewerASCIIAddTab.md)
- [](PetscViewerASCIIGetTab.md)
- [](PetscViewerASCIIPopTab.md)
- [](PetscViewerASCIIPrintf.md)
- [](PetscViewerASCIIPushTab.md)
- [](PetscViewerASCIISetTab.md)
- [](PetscViewerASCIISubtractTab.md)
- [](PetscViewerASCIIUseTabs.md)
- [](PetscViewerAndFormatCreate.md)
- [](PetscViewerAndFormatDestroy.md)
- [](PetscViewerDrawBaseAdd.md)
- [](PetscViewerDrawBaseSet.md)
- [](PetscViewerFinalizePackage.md)
- [](PetscViewerInitializePackage.md)
- [](PetscViewerMathematicaFinalizePackage.md)
- [](PetscViewerMathematicaInitializePackage.md)
- [](PetscViewerRegister.md)
- [](PetscViewerRegisterAll.md)
- [](PetscViewerStringSPrintf.md)
- [](PetscViewerVTKAddField.md)
- [](PetscViewerVTKFWrite.md)
- [](PetscViewerVTKGetDM.md)
- [](PetscViewerVTKWriteFunction.md)
- [](PetscViewerVUSetVecSeen.md)
```



### Deprecated - Functionality scheduled for removal in future versions
```{hlist}
---
columns: 3
---
- [](PetscViewerVUSetMode.md)
```



## Single list of manual pages
```{toctree}
---
maxdepth: 1
---
PETSCVIEWERADIOS.md
PETSCVIEWERASCII.md
PETSCVIEWERBINARY.md
PETSCVIEWERCGNS.md
PETSCVIEWERDRAW.md
PETSCVIEWERHDF5.md
PETSCVIEWERMATLAB.md
PETSCVIEWERSOCKET.md
PETSCVIEWERSTRING.md
PETSCVIEWERVTK.md
PETSCVIEWERVU.md
PETSC_VIEWER_BINARY_.md
PETSC_VIEWER_BINARY_SELF.md
PETSC_VIEWER_BINARY_WORLD.md
PETSC_VIEWER_DRAW_.md
PETSC_VIEWER_DRAW_SELF.md
PETSC_VIEWER_DRAW_WORLD.md
PETSC_VIEWER_GLVIS_.md
PETSC_VIEWER_HDF5_.md
PETSC_VIEWER_MATLAB_.md
PETSC_VIEWER_MATLAB_SELF.md
PETSC_VIEWER_MATLAB_WORLD.md
PETSC_VIEWER_SAWS_.md
PETSC_VIEWER_SOCKET_.md
PETSC_VIEWER_SOCKET_SELF.md
PETSC_VIEWER_SOCKET_WORLD.md
PETSC_VIEWER_STDERR_.md
PETSC_VIEWER_STDERR_SELF.md
PETSC_VIEWER_STDERR_WORLD.md
PETSC_VIEWER_STDOUT_.md
PETSC_VIEWER_STDOUT_SELF.md
PETSC_VIEWER_STDOUT_WORLD.md
PetscADIOSDataTypeToPetscDataType.md
PetscDataTypeToADIOSDataType.md
PetscDataTypeToHDF5DataType.md
PetscHDF5DataTypeToPetscDataType.md
PetscObjectViewSAWs.md
PetscOptionsGetViewer.md
PetscOptionsGetViewerOff.md
PetscOptionsHelpPrintedCheck.md
PetscOptionsHelpPrintedCreate.md
PetscOptionsPopGetViewerOff.md
PetscOptionsPushGetViewerOff.md
PetscSocketEstablish.md
PetscSocketListen.md
PetscSocketOpen.md
PetscSysFinalizePackage.md
PetscSysInitializePackage.md
PetscViewer.md
PetscViewerADIOSOpen.md
PetscViewerASCIIAddTab.md
PetscViewerASCIIGetPointer.md
PetscViewerASCIIGetStderr.md
PetscViewerASCIIGetStdout.md
PetscViewerASCIIGetTab.md
PetscViewerASCIIOpen.md
PetscViewerASCIIOpenWithFILE.md
PetscViewerASCIIPopSynchronized.md
PetscViewerASCIIPopTab.md
PetscViewerASCIIPrintf.md
PetscViewerASCIIPushSynchronized.md
PetscViewerASCIIPushTab.md
PetscViewerASCIIRead.md
PetscViewerASCIISetFILE.md
PetscViewerASCIISetTab.md
PetscViewerASCIISubtractTab.md
PetscViewerASCIISynchronizedPrintf.md
PetscViewerASCIIUseTabs.md
PetscViewerAndFormatCreate.md
PetscViewerAndFormatDestroy.md
PetscViewerAppendOptionsPrefix.md
PetscViewerBinaryAddMPIIOOffset.md
PetscViewerBinaryGetDescriptor.md
PetscViewerBinaryGetFlowControl.md
PetscViewerBinaryGetInfoPointer.md
PetscViewerBinaryGetMPIIODescriptor.md
PetscViewerBinaryGetMPIIOOffset.md
PetscViewerBinaryGetSkipHeader.md
PetscViewerBinaryGetSkipInfo.md
PetscViewerBinaryGetSkipOptions.md
PetscViewerBinaryGetUseMPIIO.md
PetscViewerBinaryOpen.md
PetscViewerBinaryRead.md
PetscViewerBinaryReadAll.md
PetscViewerBinaryReadStringArray.md
PetscViewerBinarySetFlowControl.md
PetscViewerBinarySetSkipHeader.md
PetscViewerBinarySetSkipInfo.md
PetscViewerBinarySetSkipOptions.md
PetscViewerBinarySetUseMPIIO.md
PetscViewerBinarySkipInfo.md
PetscViewerBinaryWrite.md
PetscViewerBinaryWriteAll.md
PetscViewerBinaryWriteStringArray.md
PetscViewerCheckReadable.md
PetscViewerCheckWritable.md
PetscViewerCreate.md
PetscViewerDestroy.md
PetscViewerDrawBaseAdd.md
PetscViewerDrawBaseSet.md
PetscViewerDrawClear.md
PetscViewerDrawGetBounds.md
PetscViewerDrawGetDraw.md
PetscViewerDrawGetDrawAxis.md
PetscViewerDrawGetDrawLG.md
PetscViewerDrawGetHold.md
PetscViewerDrawGetPause.md
PetscViewerDrawOpen.md
PetscViewerDrawSetBounds.md
PetscViewerDrawSetHold.md
PetscViewerDrawSetPause.md
PetscViewerFileGetMode.md
PetscViewerFileGetName.md
PetscViewerFileSetMode.md
PetscViewerFileSetName.md
PetscViewerFinalizePackage.md
PetscViewerFlush.md
PetscViewerFormat.md
PetscViewerGLVisOpen.md
PetscViewerGLVisSetFields.md
PetscViewerGLVisSetPrecision.md
PetscViewerGLVisSetSnapId.md
PetscViewerGLVisType.md
PetscViewerGetFormat.md
PetscViewerGetOptionsPrefix.md
PetscViewerGetSubViewer.md
PetscViewerGetType.md
PetscViewerHDF5GetBaseDimension2.md
PetscViewerHDF5GetCollective.md
PetscViewerHDF5GetDefaultTimestepping.md
PetscViewerHDF5GetFileId.md
PetscViewerHDF5GetGroup.md
PetscViewerHDF5GetSPOutput.md
PetscViewerHDF5GetTimestep.md
PetscViewerHDF5HasAttribute.md
PetscViewerHDF5HasDataset.md
PetscViewerHDF5HasGroup.md
PetscViewerHDF5HasObject.md
PetscViewerHDF5HasObjectAttribute.md
PetscViewerHDF5IncrementTimestep.md
PetscViewerHDF5IsTimestepping.md
PetscViewerHDF5Open.md
PetscViewerHDF5OpenGroup.md
PetscViewerHDF5PopGroup.md
PetscViewerHDF5PopTimestepping.md
PetscViewerHDF5PushGroup.md
PetscViewerHDF5PushTimestepping.md
PetscViewerHDF5ReadAttribute.md
PetscViewerHDF5ReadObjectAttribute.md
PetscViewerHDF5SetBaseDimension2.md
PetscViewerHDF5SetCollective.md
PetscViewerHDF5SetDefaultTimestepping.md
PetscViewerHDF5SetSPOutput.md
PetscViewerHDF5SetTimestep.md
PetscViewerHDF5WriteAttribute.md
PetscViewerHDF5WriteGroup.md
PetscViewerHDF5WriteObjectAttribute.md
PetscViewerInitializePackage.md
PetscViewerMathematicaClearName.md
PetscViewerMathematicaFinalizePackage.md
PetscViewerMathematicaGetLink.md
PetscViewerMathematicaGetName.md
PetscViewerMathematicaGetVector.md
PetscViewerMathematicaInitializePackage.md
PetscViewerMathematicaOpen.md
PetscViewerMathematicaPutVector.md
PetscViewerMathematicaSetName.md
PetscViewerMathematicaSkipPackets.md
PetscViewerMatlabGetArray.md
PetscViewerMatlabOpen.md
PetscViewerMatlabPutArray.md
PetscViewerPopFormat.md
PetscViewerPushFormat.md
PetscViewerRead.md
PetscViewerReadable.md
PetscViewerRegister.md
PetscViewerRegisterAll.md
PetscViewerRestoreSubViewer.md
PetscViewerSAWsOpen.md
PetscViewerSetFormat.md
PetscViewerSetFromOptions.md
PetscViewerSetOptionsPrefix.md
PetscViewerSetType.md
PetscViewerSetUp.md
PetscViewerSocketOpen.md
PetscViewerSocketSetConnection.md
PetscViewerStringGetStringRead.md
PetscViewerStringOpen.md
PetscViewerStringSPrintf.md
PetscViewerStringSetOwnString.md
PetscViewerStringSetString.md
PetscViewerType.md
PetscViewerVTKAddField.md
PetscViewerVTKFWrite.md
PetscViewerVTKGetDM.md
PetscViewerVTKOpen.md
PetscViewerVTKWriteFunction.md
PetscViewerVUFlushDeferred.md
PetscViewerVUGetPointer.md
PetscViewerVUGetVecSeen.md
PetscViewerVUPrintDeferred.md
PetscViewerVUSetMode.md
PetscViewerVUSetVecSeen.md
PetscViewerView.md
PetscViewerViewFromOptions.md
PetscViewerWritable.md
PetscViewers.md
PetscViewersCreate.md
PetscViewersDestroy.md
PetscViewersGetViewer.md
```


