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 #ifndef __SPAI_PACKAGE 7 #define __SPAI_PACKAGE 8 #include "petscpc.h" 9 10 extern int PETSCKSP_DLLEXPORT MatDumpSPAI(Mat,FILE *); 11 extern int PETSCKSP_DLLEXPORT VecDumpSPAI(Vec,FILE *); 12 13 extern int PETSCKSP_DLLEXPORT PCSPAISetEpsilon(PC,double); 14 extern int PETSCKSP_DLLEXPORT PCSPAISetNBSteps(PC,int); 15 extern int PETSCKSP_DLLEXPORT PCSPAISetMaxAPI(PC,int); 16 extern int PETSCKSP_DLLEXPORT PCSPAISetMaxNew(PC,int); 17 extern int PETSCKSP_DLLEXPORT PCSPAISetCacheSize(PC,int); 18 19 #endif 20 21 22 23