/[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 3311 by gross, Mon Oct 25 04:33:31 2010 UTC revision 3312 by gross, Tue Oct 26 07:54:58 2010 UTC
# Line 34  Line 34 
34    
35  /*  this struct holds a stiffness matrix: */  /*  this struct holds a stiffness matrix: */
36    
 #define MATRIX_FORMAT_DEFAULT 1  
 #define MATRIX_FORMAT_CSC 2  
 #define MATRIX_FORMAT_BLK1 4  
 #define MATRIX_FORMAT_OFFSET1 8  
 #define MATRIX_FORMAT_TRILINOS_CRS 16  
 #define MATRIX_FORMAT_DIAGONAL_BLOCK 32  
   
37    
38  typedef int Paso_SparseMatrixType;  typedef int Paso_SparseMatrixType;
39    
# Line 94  void Paso_SparseMatrix_MatrixMatrix_DB(P Line 87  void Paso_SparseMatrix_MatrixMatrix_DB(P
87  void Paso_SparseMatrix_MatrixMatrix_BD(Paso_SparseMatrix *C, const Paso_SparseMatrix* A, const Paso_SparseMatrix* B);  void Paso_SparseMatrix_MatrixMatrix_BD(Paso_SparseMatrix *C, const Paso_SparseMatrix* A, const Paso_SparseMatrix* B);
88  void Paso_SparseMatrix_MatrixMatrix_BB(Paso_SparseMatrix *C, const Paso_SparseMatrix* A, const Paso_SparseMatrix* B);  void Paso_SparseMatrix_MatrixMatrix_BB(Paso_SparseMatrix *C, const Paso_SparseMatrix* A, const Paso_SparseMatrix* B);
89    
90  Paso_SparseMatrix* Paso_SparseMatrix_RemovePositiveOffdiagonals(Paso_SparseMatrix* P);  Paso_SparseMatrix* Paso_SparseMatrix_unroll(const Paso_SparseMatrixType type, const Paso_SparseMatrix* A);
 Paso_SparseMatrix* Paso_SparseMatrix_unroll(Paso_SparseMatrix* A);  
91  Paso_SparseMatrix* Paso_SparseMatrix_getTranspose(Paso_SparseMatrix* P);  Paso_SparseMatrix* Paso_SparseMatrix_getTranspose(Paso_SparseMatrix* P);
92    
93  void Paso_SparseMatrix_setValues(Paso_SparseMatrix*,double);  void Paso_SparseMatrix_setValues(Paso_SparseMatrix*,double);

Legend:
Removed from v.3311  
changed lines
  Added in v.3312

  ViewVC Help
Powered by ViewVC 1.1.26