Actual source code: petscviewer.h
petsc-3.12.4 2020-02-04
Report Typos and Errors

      1: !
      2: !  Include file for Fortran use of the PetscViewer package in PETSc
      3: !
      4: #if !defined (PETSCVIEWERDEF_H)
      5: #define PETSCVIEWERDEF_H

      8: #define PetscViewer type(tPetscViewer)

     10: #define PetscViewerAndFormat PetscFortranAddr

     12: #define PetscViewers PetscFortranAddr
     13: #define PetscFileMode PetscEnum
     14: #define PetscViewerType character*(80)
     15: #define PetscViewerFormat PetscEnum

     17: #define PETSCVIEWERSOCKET 'socket'
     18: #define PETSCVIEWERASCII 'ascii'
     19: #define PETSCVIEWERBINARY 'binary'
     20: #define PETSCVIEWERSTRING 'string'
     21: #define PETSCVIEWERDRAW 'draw'
     22: #define PETSCVIEWERVU 'vu'
     23: #define PETSCVIEWERMATHEMATICA 'mathematica'
     24: #define PETSCVIEWERHDF5 'hdf5'
     25: #define PETSCVIEWERVTK 'vtk'
     26: #define PETSCVIEWERMATLAB 'matlab'
     27: #define PETSCVIEWERSAWS 'saws'
     28: #define PETSCVIEWERGLVIS 'glvis'
     29: #define PETSCVIEWERADIOS 'adios'
     30: #define PETSCVIEWERADIOS2 'adios2'

     32: #endif