Ifpack_IC_Utils.cpp File Reference

#include "Ifpack_ConfigDefs.h"
#include "Ifpack_IC_Utils.h"
#include <stdio.h>
Include dependency graph for Ifpack_IC_Utils.cpp:

Go to the source code of this file.

Defines

#define SYMSTR   1
#define MIN(a, b)   ((a)<=(b) ? (a) : (b))
#define MAX(a, b)   ((a)>=(b) ? (a) : (b))
#define ABS(a)   ((a)>=0 ? (a) : -(a))
#define SHORTCUT(p, a, ja, ia)
#define MATNULL(p)

Functions

void Ifpack_AIJMatrix_alloc (Ifpack_AIJMatrix *a, int n, int nnz)
void Ifpack_AIJMatrix_dealloc (Ifpack_AIJMatrix *a)
static void qsplit (double *a, int *ind, int n, int ncut)
static void update_column (int k, const int *ia, const int *ja, const double *a, const int *ifirst, const int *ifirst2, const int *list2, const double *multipliers, const double *d, int *marker, double *ta, int *itcol, int *ptalen)
static void update_lists (int k, const int *ia, const int *ja, int *ifirst, int *list)
static void update_lists_newcol (int k, int isk, int iptr, int *ifirst, int *list)
void crout_ict (int n, const Ifpack_AIJMatrix *AL, const double *Adiag, double droptol, int lfil, Ifpack_AIJMatrix *L, double **pdiag)

Define Documentation

#define SYMSTR   1

Definition at line 33 of file Ifpack_IC_Utils.cpp.

#define MIN ( a,
 )     ((a)<=(b) ? (a) : (b))

Definition at line 36 of file Ifpack_IC_Utils.cpp.

#define MAX ( a,
 )     ((a)>=(b) ? (a) : (b))

Definition at line 37 of file Ifpack_IC_Utils.cpp.

#define ABS (  )     ((a)>=0 ? (a) : -(a))

Definition at line 38 of file Ifpack_IC_Utils.cpp.

#define SHORTCUT ( p,
a,
ja,
ia   ) 
Value:
(a)  = (p)->val; \
        (ja) = (p)->col; \
        (ia) = (p)->ptr;

Definition at line 40 of file Ifpack_IC_Utils.cpp.

#define MATNULL (  ) 
Value:
(p).val = NULL; \
        (p).col = NULL; \
        (p).ptr = NULL;

Definition at line 45 of file Ifpack_IC_Utils.cpp.


Function Documentation

void Ifpack_AIJMatrix_alloc ( Ifpack_AIJMatrix a,
int  n,
int  nnz 
)

Definition at line 50 of file Ifpack_IC_Utils.cpp.

void Ifpack_AIJMatrix_dealloc ( Ifpack_AIJMatrix a  ) 

Definition at line 57 of file Ifpack_IC_Utils.cpp.

static void qsplit ( double *  a,
int *  ind,
int  n,
int  ncut 
) [static]

Definition at line 67 of file Ifpack_IC_Utils.cpp.

static void update_column ( int  k,
const int *  ia,
const int *  ja,
const double *  a,
const int *  ifirst,
const int *  ifirst2,
const int *  list2,
const double *  multipliers,
const double *  d,
int *  marker,
double *  ta,
int *  itcol,
int *  ptalen 
) [static]

Definition at line 122 of file Ifpack_IC_Utils.cpp.

static void update_lists ( int  k,
const int *  ia,
const int *  ja,
int *  ifirst,
int *  list 
) [static]

Definition at line 192 of file Ifpack_IC_Utils.cpp.

static void update_lists_newcol ( int  k,
int  isk,
int  iptr,
int *  ifirst,
int *  list 
) [static]

Definition at line 227 of file Ifpack_IC_Utils.cpp.

void crout_ict ( int  n,
const Ifpack_AIJMatrix AL,
const double *  Adiag,
double  droptol,
int  lfil,
Ifpack_AIJMatrix L,
double **  pdiag 
)

Definition at line 261 of file Ifpack_IC_Utils.cpp.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Generated on Wed Apr 13 10:05:38 2011 for Ifpack Package Browser (Single Doxygen Collection) by  doxygen 1.6.3