147effc9eSvictor /* $Id: spai.h,v 1.1 1997/02/03 00:11:31 bsmith Exp bsmith $ */ 247effc9eSvictor /* 347effc9eSvictor Include file for the SPAI interface to PETSc. You should include 447effc9eSvictor this file if you wish to set SPAI options directly from your program. 547effc9eSvictor */ 6519f805aSKarl Rupp #if !defined(__SPAI_PACKAGE) 747effc9eSvictor #define __SPAI_PACKAGE 8c6db04a5SJed Brown #include <petscpc.h> 947effc9eSvictor 10*5a576424SJed Brown PETSC_EXTERN PetscErrorCode MatDumpSPAI(Mat,FILE*); 11*5a576424SJed Brown PETSC_EXTERN PetscErrorCode VecDumpSPAI(Vec,FILE*); 1247effc9eSvictor 13*5a576424SJed Brown PETSC_EXTERN PetscErrorCode PCSPAISetEpsilon(PC,double); 14*5a576424SJed Brown PETSC_EXTERN PetscErrorCode PCSPAISetNBSteps(PC,int); 15*5a576424SJed Brown PETSC_EXTERN PetscErrorCode PCSPAISetMaxNew(PC,int); 16*5a576424SJed Brown PETSC_EXTERN PetscErrorCode PCSPAISetCacheSize(PC,int); 1747effc9eSvictor 1847effc9eSvictor #endif 1947effc9eSvictor 2047effc9eSvictor 2147effc9eSvictor 22