Ifpack Package Browser (Single Doxygen Collection) Development
Classes | Defines | Functions
icrout_cholesky_mex.c File Reference
#include <stdio.h>
#include "Ifpack_config.h"
#include <stdlib.h>
#include <math.h>
#include <assert.h>
Include dependency graph for icrout_cholesky_mex.c:

Go to the source code of this file.

Classes

struct  Matrix

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

IFPACK_DEPRECATED void ifpack_quicksort (int *const pbase, double *const daux, size_t total_elems)
IFPACK_DEPRECATED void Matrix_alloc (Matrix *a, int n, int nnz)
IFPACK_DEPRECATED void Matrix_dealloc (Matrix *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)
IFPACK_DEPRECATED void crout_ict (int n, const Matrix *AL, const double *Adiag, double droptol, int lfil, Matrix *L, double **pdiag)

Define Documentation

#define SYMSTR   1

Definition at line 28 of file icrout_cholesky_mex.c.

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

Definition at line 52 of file icrout_cholesky_mex.c.

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

Definition at line 53 of file icrout_cholesky_mex.c.

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

Definition at line 54 of file icrout_cholesky_mex.c.

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

Definition at line 67 of file icrout_cholesky_mex.c.

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

Definition at line 72 of file icrout_cholesky_mex.c.


Function Documentation

IFPACK_DEPRECATED void ifpack_quicksort ( int *const  pbase,
double *const  daux,
size_t  total_elems 
)

Definition at line 141 of file icrout_quicksort.c.

IFPACK_DEPRECATED void Matrix_alloc ( Matrix a,
int  n,
int  nnz 
)

Definition at line 77 of file icrout_cholesky_mex.c.

IFPACK_DEPRECATED void Matrix_dealloc ( Matrix a)

Definition at line 84 of file icrout_cholesky_mex.c.

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

Definition at line 94 of file icrout_cholesky_mex.c.

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 149 of file icrout_cholesky_mex.c.

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

Definition at line 219 of file icrout_cholesky_mex.c.

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

Definition at line 254 of file icrout_cholesky_mex.c.

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

Definition at line 288 of file icrout_cholesky_mex.c.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines