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 MatAIJIndices PetscFortranAddr 17: #define MatType character*(80) 18: #define MatSolverPackage character*(80) 19: #define MatOption PetscEnum 20: #define MatGetSubMatrixOption PetscEnum 21: #define MPChacoGlobalType PetscEnum 22: #define MPChacoLocalType PetscEnum 23: #define MPChacoEigenType PetscEnum 24: #define MPScotchGlobalType PetscEnum 25: #define MPScotchLocalType PetscEnum 26: #define MatAssemblyType PetscEnum 27: #define MatFactorType PetscEnum 28: #define MatOrderingType character*(80) 29: #define MatSORType PetscEnum 30: #define MatInfoType PetscEnum 31: #define MatReuse PetscEnum 32: #define MatOperation PetscEnum 33: #define MatColoringType character*(80) 34: #define MatInfo PetscLogDouble 35: #define MatFactorInfo PetscReal 36: #define MatDuplicateOption PetscEnum 37: #define MatStructure PetscEnum 38: #define MatPartitioningType character*(80) 39: #define MatCompositeType PetscEnum 40: #define MatStencil PetscInt 41: #define MatStencil_k 1 42: #define MatStencil_j 2 43: #define MatStencil_i 3 44: #define MatStencil_c 4 46: #define MATPARTITIONING_CURRENT 'current' 47: #define MATPARTITIONING_PARMETIS 'parmetis' 49: #define MATCOLORING_NATURAL 'natural' 50: #define MATCOLORING_SL 'sl' 51: #define MATCOLORING_LF 'lf' 52: #define MATCOLORING_ID 'id' 54: #define MATORDERING_NATURAL 'natural' 55: #define MATORDERING_ND 'nd' 56: #define MATORDERING_1WD '1wd' 57: #define MATORDERING_RCM 'rcm' 58: #define MATORDERING_QMD 'qmd' 59: #define MATORDERING_ROWLENGTH 'rowlength' 60: #define MATORDERING_DSC_ND 'dsc_nd' 61: #define MATORDERING_DSC_MMD 'dsc_mmd' 62: #define MATORDERING_DSC_MDF 'dsc_mdf' 64: ! 65: ! Matrix types 66: ! 67: #define MATSAME 'same' 68: #define MATSEQMAIJ 'seqmaij' 69: #define MATMPIMAIJ 'mpimaij' 70: #define MATMAIJ 'maij' 71: #define MATIS 'is' 72: #define MATMPIROWBS 'mpirowbs' 73: #define MATSEQAIJ 'seqaij' 74: #define MATMPIAIJ 'mpiaij' 75: #define MATAIJ 'aij' 76: #define MATSHELL 'shell' 77: #define MATSEQDENSE 'seqdense' 78: #define MATMPIDENSE 'mpidense' 79: #define MATDENSE 'dense' 80: #define MATSEQBAIJ 'seqbaij' 81: #define MATMPIBAIJ 'mpibaij' 82: #define MATBAIJ 'baij' 83: #define MATMPIADJ 'mpiadj' 84: #define MATSEQSBAIJ 'seqsbaij' 85: #define MATMPISBAIJ 'mpisbaij' 86: #define MATSBAIJ 'sbaij' 87: #define MATDAAD 'daad' 88: #define MATMFFD 'mffd' 89: #define MATNORMAL 'normal' 90: #define MATLRC 'lrc' 91: #define MATSEQCSRPERM 'seqcsrperm' 92: #define MATMPICSRPERM 'mpicsrperm' 93: #define MATCSRPERM 'csrperm' 94: #define MATSEQCRL 'seqcrl' 95: #define MATMPICRL 'mpicrl' 96: #define MATCRL 'crl' 97: #define MATSCATTER 'scatter' 98: #define MATBLOCKMAT 'blockmat' 99: #define MATCOMPOSITE 'composite' 100: #define MATSEQFFTW 'seqfftw' 101: #define MATTRANSPOSEMAT 'transpose' 102: #define MATSCHURCOMPLEMENT 'schurcomplement' 103: #define MATPYTHON 'python' 104: ! 105: ! MatSolverPackages 106: ! 107: #define MAT_SOLVER_SPOOLES 'spooles' 108: #define MAT_SOLVER_SUPERLU 'superlu' 109: #define MAT_SOLVER_SUPERLU_DIST 'superlu_dist' 110: #define MAT_SOLVER_UMFPACK 'umfpack' 111: #define MAT_SOLVER_ESSL 'essl' 112: #define MAT_SOLVER_LUSOL 'lusol' 113: #define MAT_SOLVER_MUMPS 'mumps' 114: #define MAT_SOLVER_DSCPACK 'dscpack' 115: #define MAT_SOLVER_MATLAB 'matlab' 116: #define MAT_SOLVER_PETSC 'petsc' 118: #endif