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