Escript  Revision_4320
Functions | Variables
SparseMatrix.c File Reference
#include "Paso.h"
#include "SparseMatrix.h"
#include "MKL.h"
#include "Preconditioner.h"
#include "UMFPACK.h"
#include "TRILINOS.h"
#include "mmio.h"

Functions

static void swap (index_t *, index_t *, double *, int, int)
static void q_sort (index_t *, index_t *, double *, int, int)
Paso_SparseMatrixPaso_SparseMatrix_alloc (Paso_SparseMatrixType type, Paso_Pattern *pattern, int row_block_size, int col_block_size, const bool_t patternIsUnrolled)
Paso_SparseMatrixPaso_SparseMatrix_getReference (Paso_SparseMatrix *in)
void Paso_SparseMatrix_free (Paso_SparseMatrix *in)
Paso_SparseMatrixPaso_SparseMatrix_loadMM_toCSR (char *fileName_p)
void Paso_SparseMatrix_saveMM (Paso_SparseMatrix *A_p, char *fileName_p)
index_tPaso_SparseMatrix_borrowMainDiagonalPointer (Paso_SparseMatrix *A_p)
dim_t Paso_SparseMatrix_getNumColors (Paso_SparseMatrix *A_p)
index_tPaso_SparseMatrix_borrowColoringPointer (Paso_SparseMatrix *A_p)
dim_t Paso_SparseMatrix_maxDeg (Paso_SparseMatrix *A_p)
dim_t Paso_SparseMatrix_getTotalNumRows (const Paso_SparseMatrix *A)
dim_t Paso_SparseMatrix_getTotalNumCols (const Paso_SparseMatrix *A)
dim_t Paso_SparseMatrix_getNumRows (const Paso_SparseMatrix *A)
dim_t Paso_SparseMatrix_getNumCols (const Paso_SparseMatrix *A)
double Paso_SparseMatrix_getSize (const Paso_SparseMatrix *A)
double Paso_SparseMatrix_getSparsity (const Paso_SparseMatrix *A)

Variables

static int M
static int N
static int nz

Function Documentation

Paso_SparseMatrix* Paso_SparseMatrix_alloc ( Paso_SparseMatrixType  type,
Paso_Pattern pattern,
int  row_block_size,
int  col_block_size,
const bool_t  patternIsUnrolled 
)
index_t* Paso_SparseMatrix_borrowColoringPointer ( Paso_SparseMatrix A_p)
index_t* Paso_SparseMatrix_borrowMainDiagonalPointer ( Paso_SparseMatrix A_p)
void Paso_SparseMatrix_free ( Paso_SparseMatrix in)
dim_t Paso_SparseMatrix_getNumColors ( Paso_SparseMatrix A_p)
dim_t Paso_SparseMatrix_getNumCols ( const Paso_SparseMatrix A)
dim_t Paso_SparseMatrix_getNumRows ( const Paso_SparseMatrix A)
Paso_SparseMatrix* Paso_SparseMatrix_getReference ( Paso_SparseMatrix in)
double Paso_SparseMatrix_getSize ( const Paso_SparseMatrix A)
double Paso_SparseMatrix_getSparsity ( const Paso_SparseMatrix A)
dim_t Paso_SparseMatrix_getTotalNumCols ( const Paso_SparseMatrix A)
dim_t Paso_SparseMatrix_getTotalNumRows ( const Paso_SparseMatrix A)
Paso_SparseMatrix* Paso_SparseMatrix_loadMM_toCSR ( char *  fileName_p)
dim_t Paso_SparseMatrix_maxDeg ( Paso_SparseMatrix A_p)
void Paso_SparseMatrix_saveMM ( Paso_SparseMatrix A_p,
char *  fileName_p 
)
void q_sort ( index_t row,
index_t col,
double *  val,
int  begin,
int  end 
)
static

References N, and swap().

Referenced by Paso_SparseMatrix_loadMM_toCSR().

void swap ( index_t r,
index_t c,
double *  v,
int  left,
int  right 
)
static

Variable Documentation

int M
static
int N
static
int nz
static