Actual source code: petscviewer.h

petsc-3.5.4 2015-05-23
Report Typos and Errors
  1: !
  2: !  Include file for Fortran use of the PetscViewer package in PETSc
  3: !
 4:  #include finclude/petscviewerdef.h

  6: #if !defined(PETSC_USE_FORTRAN_DATATYPES)
  7:       PetscViewer PETSC_VIEWER_STDOUT_
  8:       external PETSC_VIEWER_STDOUT_
  9: #endif
 10: !
 11: !  Flags for binary I/O
 12: !
 13:       PetscEnum FILE_MODE_READ
 14:       PetscEnum FILE_MODE_WRITE
 15:       PetscEnum FILE_MODE_APPEND
 16:       PetscEnum FILE_MODE_UPDATE
 17:       PetscEnum FILE_MODE_APPEND_UPDATE

 19:       parameter (FILE_MODE_READ = 0)
 20:       parameter (FILE_MODE_WRITE = 1)
 21:       parameter (FILE_MODE_APPEND = 2)
 22:       parameter (FILE_MODE_UPDATE = 3)
 23:       parameter (FILE_MODE_APPEND_UPDATE = 4)

 25: !
 26: !  PetscViewer formats
 27: !
 28:       PetscEnum PETSC_VIEWER_DEFAULT
 29:       PetscEnum PETSC_VIEWER_ASCII_MATLAB
 30:       PetscEnum PETSC_VIEWER_ASCII_MATHEMATICA
 31:       PetscEnum PETSC_VIEWER_ASCII_IMPL
 32:       PetscEnum PETSC_VIEWER_ASCII_INFO
 33:       PetscEnum PETSC_VIEWER_ASCII_INFO_DETAIL
 34:       PetscEnum PETSC_VIEWER_ASCII_COMMON
 35:       PetscEnum PETSC_VIEWER_ASCII_SYMMODU
 36:       PetscEnum PETSC_VIEWER_ASCII_INDEX
 37:       PetscEnum PETSC_VIEWER_ASCII_DENSE
 38:       PetscEnum PETSC_VIEWER_ASCII_MATRIXMARKET
 39:       PetscEnum PETSC_VIEWER_ASCII_VTK
 40:       PetscEnum PETSC_VIEWER_ASCII_VTK_CELL
 41:       PetscEnum PETSC_VIEWER_ASCII_VTK_COORDS
 42:       PetscEnum PETSC_VIEWER_ASCII_PCICE
 43:       PetscEnum PETSC_VIEWER_ASCII_PYTHON
 44:       PetscEnum PETSC_VIEWER_ASCII_FACTOR_INFO
 45:       PetscEnum PETSC_VIEWER_ASCII_LATEX
 46:       PetscEnum PETSC_VIEWER_DRAW_BASIC
 47:       PetscEnum PETSC_VIEWER_DRAW_LG
 48:       PetscEnum PETSC_VIEWER_DRAW_CONTOUR
 49:       PetscEnum PETSC_VIEWER_DRAW_PORTS
 50:       PetscEnum PETSC_VIEWER_VTK_VTS
 51:       PetscEnum PETSC_VIEWER_VTK_VTR
 52:       PetscEnum PETSC_VIEWER_VTK_VTU
 53:       PetscEnum PETSC_VIEWER_BINARY_MATLAB
 54:       PetscEnum PETSC_VIEWER_NATIVE
 55:       PetscEnum PETSC_VIEWER_HDF5_VIZ
 56:       PetscEnum PETSC_VIEWER_NOFORMAT

 58:       parameter (PETSC_VIEWER_DEFAULT = 0)
 59:       parameter (PETSC_VIEWER_ASCII_MATLAB = 1)
 60:       parameter (PETSC_VIEWER_ASCII_MATHEMATICA = 2)
 61:       parameter (PETSC_VIEWER_ASCII_IMPL = 3)
 62:       parameter (PETSC_VIEWER_ASCII_INFO = 4)
 63:       parameter (PETSC_VIEWER_ASCII_INFO_DETAIL = 5)
 64:       parameter (PETSC_VIEWER_ASCII_COMMON = 6)
 65:       parameter (PETSC_VIEWER_ASCII_SYMMODU = 7)
 66:       parameter (PETSC_VIEWER_ASCII_INDEX = 8)
 67:       parameter (PETSC_VIEWER_ASCII_DENSE = 9)
 68:       parameter (PETSC_VIEWER_ASCII_MATRIXMARKET = 10)
 69:       parameter (PETSC_VIEWER_ASCII_VTK = 11)
 70:       parameter (PETSC_VIEWER_ASCII_VTK_CELL = 12)
 71:       parameter (PETSC_VIEWER_ASCII_VTK_COORDS = 13)
 72:       parameter (PETSC_VIEWER_ASCII_PCICE = 14)
 73:       parameter (PETSC_VIEWER_ASCII_PYTHON = 15)
 74:       parameter (PETSC_VIEWER_ASCII_FACTOR_INFO = 16)
 75:       parameter (PETSC_VIEWER_ASCII_LATEX = 17)
 76:       parameter (PETSC_VIEWER_DRAW_BASIC = 18)
 77:       parameter (PETSC_VIEWER_DRAW_LG = 19)
 78:       parameter (PETSC_VIEWER_DRAW_CONTOUR = 20)
 79:       parameter (PETSC_VIEWER_DRAW_PORTS = 21)
 80:       parameter (PETSC_VIEWER_VTK_VTS = 22)
 81:       parameter (PETSC_VIEWER_VTK_VTR = 23)
 82:       parameter (PETSC_VIEWER_VTK_VTU = 24)
 83:       parameter (PETSC_VIEWER_BINARY_MATLAB = 25)
 84:       parameter (PETSC_VIEWER_NATIVE = 26)
 85:       parameter (PETSC_VIEWER_HDF5_VIZ = 27)
 86:       parameter (PETSC_VIEWER_NOFORMAT = 28)
 87: !
 88: !  End of Fortran include file for the PetscViewer package in PETSc