/[escript]/trunk/paso/src/SparseMatrix.h
ViewVC logotype

Diff of /trunk/paso/src/SparseMatrix.h

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 3093 by artak, Wed Apr 28 02:21:23 2010 UTC revision 3094 by gross, Fri Aug 13 08:38:06 2010 UTC
# Line 64  typedef struct Paso_SparseMatrix { Line 64  typedef struct Paso_SparseMatrix {
64    
65  Paso_SparseMatrix* Paso_SparseMatrix_alloc(Paso_SparseMatrixType,Paso_Pattern*,dim_t,dim_t,const bool_t);  Paso_SparseMatrix* Paso_SparseMatrix_alloc(Paso_SparseMatrixType,Paso_Pattern*,dim_t,dim_t,const bool_t);
66  Paso_SparseMatrix* Paso_SparseMatrix_getReference(Paso_SparseMatrix*);  Paso_SparseMatrix* Paso_SparseMatrix_getReference(Paso_SparseMatrix*);
67    dim_t Paso_SparseMatrix_getNumColors(Paso_SparseMatrix*);
68    index_t* Paso_SparseMatrix_borrowColoringPointer(Paso_SparseMatrix*);
69  void Paso_SparseMatrix_free(Paso_SparseMatrix*);  void Paso_SparseMatrix_free(Paso_SparseMatrix*);
70  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_OFFSET0(const double alpha, const Paso_SparseMatrix* A, const double* in, const double beta, double* out);
71  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_CSC_OFFSET1(const double alpha, const Paso_SparseMatrix* A, const double* in, const double beta, double* out);
# Line 100  void Paso_SparseMatrix_copyFromMainDiago Line 102  void Paso_SparseMatrix_copyFromMainDiago
102  void Paso_SparseMatrix_copyToMainDiagonal(Paso_SparseMatrix * A_p, const double* in);  void Paso_SparseMatrix_copyToMainDiagonal(Paso_SparseMatrix * A_p, const double* in);
103  void Paso_SparseMatrix_copyBlockFromMainDiagonal(Paso_SparseMatrix * A_p, double* out);  void Paso_SparseMatrix_copyBlockFromMainDiagonal(Paso_SparseMatrix * A_p, double* out);
104  void Paso_SparseMatrix_copyBlockToMainDiagonal(Paso_SparseMatrix * A_p, const double* in);  void Paso_SparseMatrix_copyBlockToMainDiagonal(Paso_SparseMatrix * A_p, const double* in);
105    void Paso_SparseMatrix_applyBlockMatrix(Paso_SparseMatrix * A_p, double* block_diag, int* pivot, double*x, double *b);
106    void Paso_SparseMatrix_invMain(Paso_SparseMatrix * A_p, double* inv_diag, int* pivot);
107  /*  /*
108  void Paso_SparseMatrix_add(Paso_SparseMatrix*,dim_t,index_t*, dim_t,dim_t,index_t*,dim_t, double*);  void Paso_SparseMatrix_add(Paso_SparseMatrix*,dim_t,index_t*, dim_t,dim_t,index_t*,dim_t, double*);
109  Paso_SparseMatrix* Paso_SparseMatrix_loadMM_toCSR(char *);  Paso_SparseMatrix* Paso_SparseMatrix_loadMM_toCSR(char *);

Legend:
Removed from v.3093  
changed lines
  Added in v.3094

  ViewVC Help
Powered by ViewVC 1.1.26