1 /* $Id: spai.h,v 1.1 1997/02/03 00:11:31 bsmith Exp bsmith $ */ 2 /* 3 Include file for the SPAI interface to PETSc. You should include 4 this file if you wish to set SPAI options directly from your program. 5 */ 6 #if !defined(__SPAI_PACKAGE) 7 #define __SPAI_PACKAGE 8 #include <petscpc.h> 9 10 PETSC_EXTERN PetscErrorCode MatDumpSPAI(Mat,FILE*); 11 PETSC_EXTERN PetscErrorCode VecDumpSPAI(Vec,FILE*); 12 13 PETSC_EXTERN PetscErrorCode PCSPAISetEpsilon(PC,double); 14 PETSC_EXTERN PetscErrorCode PCSPAISetNBSteps(PC,int); 15 PETSC_EXTERN PetscErrorCode PCSPAISetMaxNew(PC,int); 16 PETSC_EXTERN PetscErrorCode PCSPAISetCacheSize(PC,int); 17 18 #endif 19 20 21 22