Ifpack_IC_Utils.h

Go to the documentation of this file.
00001 #ifndef IFPACK_IC_UTILS_H
00002 #define IFPACK_IC_UTILS_H
00003 
00004 typedef struct {
00005     double *val;  /* also known as A  */
00006     int    *col;  /* also known as JA; first column is column 0 */
00007     int    *ptr;  /* also known as IA; with ptr[0] = 0 */
00008 } Ifpack_AIJMatrix;
00009 
00010 extern "C" {
00011 void quicksort (int *const pbase, double *const daux, int total_elems);
00012 }
00013 
00014 void Ifpack_AIJMatrix_dealloc(Ifpack_AIJMatrix *a);
00015 
00016 void crout_ict(
00017     int n,
00018 #ifdef IFPACK
00019     void * A,
00020     int maxentries,
00021     int (*getcol)( void * A, int col, int ** nentries, double * val, int * ind),
00022     int (*getdiag)( void *A, double * diag),
00023 #else
00024     const Ifpack_AIJMatrix *AL,
00025     const double *Adiag,
00026 #endif
00027     double droptol,
00028     int lfil,
00029     Ifpack_AIJMatrix *L,
00030     double **pdiag);
00031 
00032 
00033 #endif

Generated on Thu Sep 18 12:37:21 2008 for Ifpack Package Browser (Single Doxygen Collection) by doxygen 1.3.9.1