1: ! 2: ! Include file for Fortran use of the PetscViewer package in PETSc 3: ! 4: #if !defined (PETSCVIEWERDEF_H) 5: #define PETSCVIEWERDEF_H 7: #define PetscViewer type(tPetscViewer) 9: #define PetscViewerAndFormat PetscFortranAddr 11: #define PetscViewers PetscFortranAddr 12: #define PetscFileMode PetscEnum 13: #define PetscViewerType character*(80) 14: #define PetscViewerFormat PetscEnum 16: #define PETSCVIEWERSOCKET 'socket' 17: #define PETSCVIEWERASCII 'ascii' 18: #define PETSCVIEWERBINARY 'binary' 19: #define PETSCVIEWERSTRING 'string' 20: #define PETSCVIEWERDRAW 'draw' 21: #define PETSCVIEWERVU 'vu' 22: #define PETSCVIEWERMATHEMATICA 'mathematica' 23: #define PETSCVIEWERHDF5 'hdf5' 24: #define PETSCVIEWERVTK 'vtk' 25: #define PETSCVIEWERMATLAB 'matlab' 26: #define PETSCVIEWERSAWS 'saws' 27: #define PETSCVIEWERGLVIS 'glvis' 28: #define PETSCVIEWERADIOS 'adios' 29: #define PETSCVIEWERADIOS2 'adios2' 30: #define PETSCVIEWEREXODUSII 'exodusii' 31: #endif