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 */ 6*519f805aSKarl Rupp #if !defined(__SPAI_PACKAGE) 747effc9eSvictor #define __SPAI_PACKAGE 8c6db04a5SJed Brown #include <petscpc.h> 947effc9eSvictor 107087cfbeSBarry Smith extern int MatDumpSPAI(Mat,FILE *); 117087cfbeSBarry Smith extern int VecDumpSPAI(Vec,FILE *); 1247effc9eSvictor 137087cfbeSBarry Smith extern int PCSPAISetEpsilon(PC,double); 147087cfbeSBarry Smith extern int PCSPAISetNBSteps(PC,int); 157087cfbeSBarry Smith extern int PCSPAISetMaxAPI(PC,int); 167087cfbeSBarry Smith extern int PCSPAISetMaxNew(PC,int); 177087cfbeSBarry Smith extern int PCSPAISetCacheSize(PC,int); 1847effc9eSvictor 1947effc9eSvictor #endif 2047effc9eSvictor 2147effc9eSvictor 2247effc9eSvictor 23