/usr/lib/petscdir/3.4.2/include/finclude/petscmatdef.h is in libpetsc3.4.2-dev 3.4.2.dfsg1-8.1+b1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 | !
!
! Include file for Fortran use of the Mat package in PETSc
!
#if !defined (__PETSCMATDEF_H)
#define __PETSCMATDEF_H
#include "finclude/petscvecdef.h"
#if !defined(PETSC_USE_FORTRAN_DATATYPES)
#define Mat PetscFortranAddr
#define MatNullSpace PetscFortranAddr
#define MatFDColoring PetscFortranAddr
#endif
#define MatPartitioning PetscFortranAddr
#define MatCoarsen PetscFortranAddr
#define MatAIJIndices PetscFortranAddr
#define MatType character*(80)
#define MatSolverPackage character*(80)
#define MatOption PetscEnum
#define MatGetSubMatrixOption PetscEnum
#define MPChacoGlobalType PetscEnum
#define MPChacoLocalType PetscEnum
#define MPChacoEigenType PetscEnum
#define MPPTScotchStragegyType PetscEnum
#define MatAssemblyType PetscEnum
#define MatFactorType PetscEnum
#define MatFactorShiftType PetscEnum
#define MatOrderingType character*(80)
#define MatSORType PetscEnum
#define MatInfoType PetscEnum
#define MatReuse PetscEnum
#define MatOperation PetscEnum
#define MatColoringType character*(80)
#define MatInfo PetscLogDouble
#define MatFactorInfo PetscReal
#define MatDuplicateOption PetscEnum
#define MatStructure PetscEnum
#define MatPartitioningType character*(80)
#define MatCoarsenType character*(80)
#define MatCompositeType PetscEnum
#define MatStencil PetscInt
#define MatStencil_k 1
#define MatStencil_j 2
#define MatStencil_i 3
#define MatStencil_c 4
#define MATPARTITIONING_CURRENT 'current'
#define MATPARTITIONING_PARMETIS 'parmetis'
#define MATCOARSEN_MIS 'mis'
#define MATCOLORINGNATURAL 'natural'
#define MATCOLORINGSL 'sl'
#define MATCOLORINGLF 'lf'
#define MATCOLORINGID 'id'
#define MATORDERINGNATURAL 'natural'
#define MATORDERINGND 'nd'
#define MATORDERING1WD '1wd'
#define MATORDERINGRCM 'rcm'
#define MATORDERINGQMD 'qmd'
#define MATORDERINGROWLENGTH 'rowlength'
!
! Matrix types
!
#define MATSAME 'same'
#define MATMAIJ 'maij'
#define MATSEQMAIJ 'seqmaij'
#define MATMPIMAIJ 'mpimaij'
#define MATIS 'is'
#define MATAIJ 'aij'
#define MATSEQAIJ 'seqaij'
#define MATMPIAIJ 'mpiaij'
#define MATAIJCRL 'aijcrl'
#define MATSEQAIJCRL 'seqaijcrl'
#define MATMPIAIJCRL 'mpiaijcrl'
#define MATAIJCUSP 'aijcusp'
#define MATSEQAIJCUSP 'seqaijcusp'
#define MATMPIAIJCUSP 'mpiaijcusp'
#define MATAIJCUSPARSE 'aijcusparse'
#define MATSEQAIJCUSPARSE 'seqaijcusparse'
#define MATMPIAIJCUSPARSE 'mpiaijcusparse'
#define MATAIJPERM 'aijperm'
#define MATSEQAIJPERM 'seqaijperm'
#define MATMPIAIJPERM 'mpiaijperm'
#define MATSHELL 'shell'
#define MATDENSE 'dense'
#define MATSEQDENSE 'seqdense'
#define MATMPIDENSE 'mpidense'
#define MATELEMENTAL 'elemental'
#define MATBAIJ 'baij'
#define MATSEQBAIJ 'seqbaij'
#define MATMPIBAIJ 'mpibaij'
#define MATMPIADJ 'mpiadj'
#define MATSBAIJ 'sbaij'
#define MATSEQSBAIJ 'seqsbaij'
#define MATMPISBAIJ 'mpisbaij'
#define MATSEQBSTRM 'seqbstrm'
#define MATMPIBSTRM 'mpibstrm'
#define MATBSTRM 'bstrm'
#define MATSEQSBSTRM 'seqsbstrm'
#define MATMPISBSTRM 'mpisbstrm'
#define MATSBSTRM 'sbstrm'
#define MATDAAD 'daad'
#define MATMFFD 'mffd'
#define MATNORMAL 'normal'
#define MATLRC 'lrc'
#define MATSCATTER 'scatter'
#define MATBLOCKMAT 'blockmat'
#define MATCOMPOSITE 'composite'
#define MATFFT 'fft'
#define MATFFTW 'fftw'
#define MATSEQCUFFT 'seqcufft'
#define MATTRANSPOSEMAT 'transpose'
#define MATSCHURCOMPLEMENT 'schurcomplement'
#define MATPYTHON 'python'
#define MATHYPRESTRUCT 'hyprestruct'
#define MATHYPRESSTRUCT 'hypresstruct'
#define MATSUBMATRIX 'submatrix'
#define MATLOCALREF 'localref'
#define MATNEST 'nest'
!
! MatSolverPackages
!
#define MATSOLVERSUPERLU 'superlu'
#define MATSOLVERSUPERLU_DIST 'superlu_dist'
#define MATSOLVERUMFPACK 'umfpack'
#define MATSOLVERCHOLMOD 'cholmod'
#define MATSOLVERESSL 'essl'
#define MATSOLVERLUSOL 'lusol'
#define MATSOLVERMUMPS 'mumps'
#define MATSOLVERPASTIX 'pastix'
#define MATSOLVERMATLAB 'matlab'
#define MATSOLVERPETSC 'petsc'
#define MATSOLVERBAS 'bas'
#define MATSOLVERCUSPARSE 'cusparse'
#define MATSOLVERBSTRM 'bstrm'
#define MATSOLVERSBSTRM 'sbstrm'
!
! GPU Storage Formats for CUSP and CUSPARSE
!
#define MatCUSPARSEStorageFormat PetscEnum
#define MatCUSPARSEFormatOperation PetscEnum
#define MatCUSPStorageFormat PetscEnum
#define MatCUSPFormatOperation PetscEnum
#endif
|