typedef enum { PETSC_VIEWER_DEFAULT, PETSC_VIEWER_ASCII_MATLAB, PETSC_VIEWER_ASCII_MATHEMATICA, PETSC_VIEWER_ASCII_IMPL, PETSC_VIEWER_ASCII_INFO, PETSC_VIEWER_ASCII_INFO_DETAIL, PETSC_VIEWER_ASCII_COMMON, PETSC_VIEWER_ASCII_SYMMODU, PETSC_VIEWER_ASCII_INDEX, PETSC_VIEWER_ASCII_DENSE, PETSC_VIEWER_ASCII_MATRIXMARKET, PETSC_VIEWER_ASCII_VTK, PETSC_VIEWER_ASCII_VTK_CELL, PETSC_VIEWER_ASCII_VTK_COORDS, PETSC_VIEWER_ASCII_PCICE, PETSC_VIEWER_ASCII_PYTHON, PETSC_VIEWER_ASCII_FACTOR_INFO, PETSC_VIEWER_ASCII_LATEX, PETSC_VIEWER_ASCII_XML, PETSC_VIEWER_ASCII_GLVIS, PETSC_VIEWER_DRAW_BASIC, PETSC_VIEWER_DRAW_LG, PETSC_VIEWER_DRAW_CONTOUR, PETSC_VIEWER_DRAW_PORTS, PETSC_VIEWER_VTK_VTS, PETSC_VIEWER_VTK_VTR, PETSC_VIEWER_VTK_VTU, PETSC_VIEWER_BINARY_MATLAB, PETSC_VIEWER_NATIVE, PETSC_VIEWER_HDF5_PETSC, PETSC_VIEWER_HDF5_VIZ, PETSC_VIEWER_HDF5_XDMF, PETSC_VIEWER_NOFORMAT, PETSC_VIEWER_LOAD_BALANCE } PetscViewerFormat;