SparseMatrix.h File Reference

#include "Common.h"
#include "Pattern.h"
#include "Options.h"
#include "Paso.h"

Go to the source code of this file.

Classes

struct  Paso_SparseMatrix

Defines

#define MATRIX_FORMAT_DEFAULT   0
#define MATRIX_FORMAT_CSC   1
#define MATRIX_FORMAT_SYM   2
#define MATRIX_FORMAT_BLK1   4
#define MATRIX_FORMAT_OFFSET1   8
#define MATRIX_FORMAT_TRILINOS_CRS   16

Typedefs

typedef int Paso_SparseMatrixType

Functions

Paso_SparseMatrixPaso_SparseMatrix_alloc (Paso_SparseMatrixType, Paso_Pattern *, dim_t, dim_t, const bool_t)
Paso_SparseMatrixPaso_SparseMatrix_getReference (Paso_SparseMatrix *)
void Paso_SparseMatrix_free (Paso_SparseMatrix *)
void Paso_SparseMatrix_MatrixVector_CSC_OFFSET0 (const double alpha, const Paso_SparseMatrix *A, const double *in, const double beta, double *out)
void Paso_SparseMatrix_MatrixVector_CSC_OFFSET1 (const double alpha, const Paso_SparseMatrix *A, const double *in, const double beta, double *out)
void Paso_SparseMatrix_MatrixVector_CSR_OFFSET0 (const double alpha, const Paso_SparseMatrix *A, const double *in, const double beta, double *out)
void Paso_SparseMatrix_MatrixVector_CSR_OFFSET1 (const double alpha, const Paso_SparseMatrix *A, const double *in, const double beta, double *out)
void Paso_SparseMatrix_copy (Paso_SparseMatrix *, double *)
void Paso_SparseMatrix_addAbsRow_CSR_OFFSET0 (Paso_SparseMatrix *, double *)
void Paso_SparseMatrix_addRow_CSR_OFFSET0 (Paso_SparseMatrix *, double *)
void Paso_SparseMatrix_nullifyRowsAndCols_CSC_BLK1 (Paso_SparseMatrix *A, double *mask_row, double *mask_col, double main_diagonal_value)
void Paso_SparseMatrix_nullifyRowsAndCols_CSR_BLK1 (Paso_SparseMatrix *A, double *mask_row, double *mask_col, double main_diagonal_value)
void Paso_SparseMatrix_nullifyRowsAndCols_CSC (Paso_SparseMatrix *A, double *mask_row, double *mask_col, double main_diagonal_value)
void Paso_SparseMatrix_nullifyRowsAndCols_CSR (Paso_SparseMatrix *A, double *mask_row, double *mask_col, double main_diagonal_value)
void Paso_SparseMatrix_nullifyRows_CSR_BLK1 (Paso_SparseMatrix *A, double *mask_row, double main_diagonal_value)
void Paso_SparseMatrix_saveHB_CSC (Paso_SparseMatrix *, FILE *)
Paso_SparseMatrixPaso_SparseMatrix_getSubmatrix (Paso_SparseMatrix *A, dim_t, dim_t, index_t *, index_t *)
void Paso_SparseMatrix_setValues (Paso_SparseMatrix *, double)
void Paso_SparseMatrix_saveMM_CSC (Paso_SparseMatrix *, FILE *)
void Paso_SparseMatrix_MatrixVector_CSR_OFFSET0_stripe (const double alpha, const dim_t nRows, const dim_t row_block_size, const dim_t col_block_size, const index_t *ptr, const index_t *index, const double *val, const double *in, const double beta, double *out)
Paso_SparseMatrixPaso_SparseMatrix_loadMM_toCSR (char *fileName_p)
void Paso_SparseMatrix_saveMM (Paso_SparseMatrix *A_p, char *fileName_p)


Define Documentation

#define MATRIX_FORMAT_BLK1   4

#define MATRIX_FORMAT_CSC   1

#define MATRIX_FORMAT_DEFAULT   0

#define MATRIX_FORMAT_OFFSET1   8

#define MATRIX_FORMAT_SYM   2

#define MATRIX_FORMAT_TRILINOS_CRS   16


Typedef Documentation

typedef int Paso_SparseMatrixType


Function Documentation

void Paso_SparseMatrix_addAbsRow_CSR_OFFSET0 ( Paso_SparseMatrix ,
double *   
)

void Paso_SparseMatrix_addRow_CSR_OFFSET0 ( Paso_SparseMatrix ,
double *   
)

Paso_SparseMatrix* Paso_SparseMatrix_alloc ( Paso_SparseMatrixType  ,
Paso_Pattern ,
dim_t  ,
dim_t  ,
const   bool_t 
)

void Paso_SparseMatrix_copy ( Paso_SparseMatrix ,
double *   
)

void Paso_SparseMatrix_free ( Paso_SparseMatrix  ) 

Paso_SparseMatrix* Paso_SparseMatrix_getReference ( Paso_SparseMatrix  ) 

Paso_SparseMatrix* Paso_SparseMatrix_getSubmatrix ( Paso_SparseMatrix A,
dim_t  ,
dim_t  ,
index_t ,
index_t  
)

Paso_SparseMatrix* Paso_SparseMatrix_loadMM_toCSR ( char *  fileName_p  ) 

void Paso_SparseMatrix_MatrixVector_CSC_OFFSET0 ( const double  alpha,
const Paso_SparseMatrix A,
const double *  in,
const double  beta,
double *  out 
)

void Paso_SparseMatrix_MatrixVector_CSC_OFFSET1 ( const double  alpha,
const Paso_SparseMatrix A,
const double *  in,
const double  beta,
double *  out 
)

void Paso_SparseMatrix_MatrixVector_CSR_OFFSET0 ( const double  alpha,
const Paso_SparseMatrix A,
const double *  in,
const double  beta,
double *  out 
)

void Paso_SparseMatrix_MatrixVector_CSR_OFFSET0_stripe ( const double  alpha,
const dim_t  nRows,
const dim_t  row_block_size,
const dim_t  col_block_size,
const index_t ptr,
const index_t index,
const double *  val,
const double *  in,
const double  beta,
double *  out 
)

void Paso_SparseMatrix_MatrixVector_CSR_OFFSET1 ( const double  alpha,
const Paso_SparseMatrix A,
const double *  in,
const double  beta,
double *  out 
)

void Paso_SparseMatrix_nullifyRows_CSR_BLK1 ( Paso_SparseMatrix A,
double *  mask_row,
double  main_diagonal_value 
)

void Paso_SparseMatrix_nullifyRowsAndCols_CSC ( Paso_SparseMatrix A,
double *  mask_row,
double *  mask_col,
double  main_diagonal_value 
)

void Paso_SparseMatrix_nullifyRowsAndCols_CSC_BLK1 ( Paso_SparseMatrix A,
double *  mask_row,
double *  mask_col,
double  main_diagonal_value 
)

void Paso_SparseMatrix_nullifyRowsAndCols_CSR ( Paso_SparseMatrix A,
double *  mask_row,
double *  mask_col,
double  main_diagonal_value 
)

void Paso_SparseMatrix_nullifyRowsAndCols_CSR_BLK1 ( Paso_SparseMatrix A,
double *  mask_row,
double *  mask_col,
double  main_diagonal_value 
)

void Paso_SparseMatrix_saveHB_CSC ( Paso_SparseMatrix ,
FILE *   
)

void Paso_SparseMatrix_saveMM ( Paso_SparseMatrix A_p,
char *  fileName_p 
)

void Paso_SparseMatrix_saveMM_CSC ( Paso_SparseMatrix ,
FILE *   
)

void Paso_SparseMatrix_setValues ( Paso_SparseMatrix ,
double   
)


Generated on Mon Aug 10 10:04:44 2009 for ESYS13 by  doxygen 1.5.6