|
IFPACK Development
|
00001 /*@HEADER 00002 // *********************************************************************** 00003 // 00004 // Ifpack: Object-Oriented Algebraic Preconditioner Package 00005 // Copyright (2002) Sandia Corporation 00006 // 00007 // Under terms of Contract DE-AC04-94AL85000, there is a non-exclusive 00008 // license for use of this work by or on behalf of the U.S. Government. 00009 // 00010 // This library is free software; you can redistribute it and/or modify 00011 // it under the terms of the GNU Lesser General Public License as 00012 // published by the Free Software Foundation; either version 2.1 of the 00013 // License, or (at your option) any later version. 00014 // 00015 // This library is distributed in the hope that it will be useful, but 00016 // WITHOUT ANY WARRANTY; without even the implied warranty of 00017 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 00018 // Lesser General Public License for more details. 00019 // 00020 // You should have received a copy of the GNU Lesser General Public 00021 // License along with this library; if not, write to the Free Software 00022 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 00023 // USA 00024 // Questions? Contact Michael A. Heroux (maherou@sandia.gov) 00025 // 00026 // *********************************************************************** 00027 //@HEADER 00028 */ 00029 00030 #ifndef _IFP_C_WRAPPER_H_ 00031 #define _IFP_C_WRAPPER_H_ 00032 00033 #include "Ifpack_config.h" 00034 00035 #define IFP_DENSE 0 00036 #define IFP_SPARSE 1 00037 00038 #define IFP_NONE 0 00039 #define IFP_BJACOBI 1 00040 #define IFP_BSOR 2 00041 #define IFP_BSSOR 3 00042 #define IFP_BILUK 4 00043 00044 #define IFP_LU 1 00045 #define IFP_INVERSE 2 00046 #define IFP_SVD 3 00047 #define IFP_DIAG 10 00048 #define IFP_SOR 12 00049 #define IFP_SSOR 13 00050 00051 #ifdef __cplusplus 00052 extern "C" { 00053 #endif 00054 00055 IFPACK_DEPRECATED void ifp_blockmatrix( 00056 void **bmat, 00057 int n, 00058 double *a, 00059 int *ja, 00060 int *ia, 00061 int nb, 00062 int *kvst, 00063 int type); 00064 00065 IFPACK_DEPRECATED void ifp_freeblockmatrix( 00066 void *bmat); 00067 00068 IFPACK_DEPRECATED void ifp_preconditioner( 00069 void **precon, 00070 const void *bmat, 00071 const int global, 00072 const double gparam1, 00073 const double gparam2, 00074 const int local, 00075 const double lparam1, 00076 const double lparam2); 00077 00078 IFPACK_DEPRECATED void ifp_freepreconditioner( void *precon); 00079 00080 IFPACK_DEPRECATED void ifp_freebiluk( void *precon); 00081 00082 IFPACK_DEPRECATED void ifp_matvec( 00083 void *bmat, 00084 int nr, 00085 int nc, 00086 const double *u, 00087 int ldu, 00088 double *v, 00089 int ldv); 00090 00091 IFPACK_DEPRECATED void ifp_apply( 00092 void *prec, 00093 int nr, 00094 int nc, 00095 const double *u, 00096 int ldu, 00097 double *v, 00098 int ldv); 00099 00100 IFPACK_DEPRECATED void ifp_BJacobi_condest(void *M); 00101 00102 IFPACK_DEPRECATED void ifp_biluk_condest(void *M); 00103 IFPACK_DEPRECATED void ifp_biluk_stats(void *M); 00104 00105 #ifdef __cplusplus 00106 } 00107 #endif 00108 00109 #endif /* _IFP_C_WRAPPER_H_ */
1.7.4