Ifpack Package Browser (Single Doxygen Collection)  Development
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Functions
Ifpack_IKLU_Utils.cpp File Reference
#include "Ifpack_ConfigDefs.h"
#include "Ifpack_IKLU_Utils.h"
Include dependency graph for Ifpack_IKLU_Utils.cpp:

Go to the source code of this file.

Functions

csrcsr_spalloc (int m, int n, int nzmax, int values, int triplet)
 
int csr_sprealloc (csr *A, int nzmax)
 
void * csr_realloc (void *p, int n, size_t size, int *ok)
 
csrcsr_spfree (csr *A)
 
csscsr_sfree (css *S)
 
csrncsr_nfree (csrn *N)
 
csrcsr_done (csr *C, void *w, void *x, int ok)
 
csrncsr_ndone (csrn *N, csr *C, void *w, void *x, int ok)
 
int * csr_idone (int *p, csr *C, void *w, int ok)
 
double csr_cumsum (int *p, int *c, int n)
 
int csr_scatter (const csr *B, int i, double alpha, int *w, double *x, int mark, csr *C, int nz)
 
csrcsr_add (const csr *A, const csr *B, double alpha, double beta)
 
csrcsr_transpose (const csr *A, int values)
 
csrcsr_multiply (const csr *A, const csr *B)
 
csscsr_sqr (int order, const csr *A)
 
int csr_reach (csr *G, const csr *B, int k, int *xi, const int *pinv)
 
int csr_dfs (int j, csr *G, int top, int *xi, int *pstack, const int *pinv)
 
int csr_tdfs (int j, int k, int *head, const int *next, int *post, int *stack)
 
csrncsr_lu (const csr *A, const css *S, double tol)
 
int csr_spsolve (csr *G, const csr *B, int k, int *xi, double *x, const int *pinv, int up)
 
static int csr_wclear (int mark, int lemax, int *w, int n)
 
static int csr_diag (int i, int j, double, void *)
 
int * csr_amd (int order, const csr *A)
 
int csr_print (const csr *A, int brief)
 
double csr_norm (const csr *A)
 
int csr_fkeep (csr *A, int(*fkeep)(int, int, double, void *), void *other)
 

Function Documentation

csr* csr_spalloc ( int  m,
int  n,
int  nzmax,
int  values,
int  triplet 
)

Definition at line 51 of file Ifpack_IKLU_Utils.cpp.

int csr_sprealloc ( csr A,
int  nzmax 
)

Definition at line 66 of file Ifpack_IKLU_Utils.cpp.

void* csr_realloc ( void *  p,
int  n,
size_t  size,
int *  ok 
)

Definition at line 80 of file Ifpack_IKLU_Utils.cpp.

csr* csr_spfree ( csr A)

Definition at line 89 of file Ifpack_IKLU_Utils.cpp.

css* csr_sfree ( css S)

Definition at line 100 of file Ifpack_IKLU_Utils.cpp.

csrn* csr_nfree ( csrn N)

Definition at line 112 of file Ifpack_IKLU_Utils.cpp.

csr* csr_done ( csr C,
void *  w,
void *  x,
int  ok 
)

Definition at line 125 of file Ifpack_IKLU_Utils.cpp.

csrn* csr_ndone ( csrn N,
csr C,
void *  w,
void *  x,
int  ok 
)

Definition at line 133 of file Ifpack_IKLU_Utils.cpp.

int* csr_idone ( int *  p,
csr C,
void *  w,
int  ok 
)

Definition at line 142 of file Ifpack_IKLU_Utils.cpp.

double csr_cumsum ( int *  p,
int *  c,
int  n 
)

Definition at line 160 of file Ifpack_IKLU_Utils.cpp.

int csr_scatter ( const csr B,
int  i,
double  alpha,
int *  w,
double *  x,
int  mark,
csr C,
int  nz 
)

Definition at line 177 of file Ifpack_IKLU_Utils.cpp.

csr* csr_add ( const csr A,
const csr B,
double  alpha,
double  beta 
)

Definition at line 199 of file Ifpack_IKLU_Utils.cpp.

csr* csr_transpose ( const csr A,
int  values 
)

Definition at line 227 of file Ifpack_IKLU_Utils.cpp.

csr* csr_multiply ( const csr A,
const csr B 
)

Definition at line 252 of file Ifpack_IKLU_Utils.cpp.

css* csr_sqr ( int  order,
const csr A 
)

Definition at line 293 of file Ifpack_IKLU_Utils.cpp.

int csr_reach ( csr G,
const csr B,
int  k,
int *  xi,
const int *  pinv 
)

Definition at line 317 of file Ifpack_IKLU_Utils.cpp.

int csr_dfs ( int  j,
csr G,
int  top,
int *  xi,
int *  pstack,
const int *  pinv 
)

Definition at line 335 of file Ifpack_IKLU_Utils.cpp.

int csr_tdfs ( int  j,
int  k,
int *  head,
const int *  next,
int *  post,
int *  stack 
)

Definition at line 371 of file Ifpack_IKLU_Utils.cpp.

csrn* csr_lu ( const csr A,
const css S,
double  tol 
)

Definition at line 403 of file Ifpack_IKLU_Utils.cpp.

int csr_spsolve ( csr G,
const csr B,
int  k,
int *  xi,
double *  x,
const int *  pinv,
int  up 
)

Definition at line 522 of file Ifpack_IKLU_Utils.cpp.

static int csr_wclear ( int  mark,
int  lemax,
int *  w,
int  n 
)
static

Definition at line 568 of file Ifpack_IKLU_Utils.cpp.

static int csr_diag ( int  i,
int  j,
double  ,
void *   
)
static

Definition at line 580 of file Ifpack_IKLU_Utils.cpp.

int* csr_amd ( int  order,
const csr A 
)

Definition at line 583 of file Ifpack_IKLU_Utils.cpp.

int csr_print ( const csr A,
int  brief 
)

Definition at line 939 of file Ifpack_IKLU_Utils.cpp.

double csr_norm ( const csr A)

Definition at line 986 of file Ifpack_IKLU_Utils.cpp.

int csr_fkeep ( csr A,
int(*)(int, int, double, void *)  fkeep,
void *  other 
)

Definition at line 1001 of file Ifpack_IKLU_Utils.cpp.