/[escript]/trunk-mpi-branch/paso/src/SystemMatrix.h
ViewVC logotype

Diff of /trunk-mpi-branch/paso/src/SystemMatrix.h

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

revision 1086 by gross, Tue Mar 6 04:41:55 2007 UTC revision 1087 by gross, Thu Apr 12 10:01:47 2007 UTC
# Line 59  typedef struct Paso_SystemMatrix { Line 59  typedef struct Paso_SystemMatrix {
59    
60    dim_t numRows;    dim_t numRows;
61    dim_t myNumRows;    dim_t myNumRows;
62      dim_t myFirstRow;
63      dim_t maxNumRows;
64    dim_t numCols;    dim_t numCols;
65    dim_t myNumCols;    dim_t myNumCols;
66      dim_t myFirstCol;
67      dim_t maxNumCols;
68    
69    Paso_MPIInfo *mpi_info;    Paso_MPIInfo *mpi_info;
70    Paso_SystemMatrixPattern* pattern;    Paso_SystemMatrixPattern* pattern;
# Line 90  void Paso_SystemMatrix_add(Paso_SystemMa Line 94  void Paso_SystemMatrix_add(Paso_SystemMa
94  void Paso_SystemMatrix_MatrixVector(double alpha, Paso_SystemMatrix* A, double* in, double beta, double* out);  void Paso_SystemMatrix_MatrixVector(double alpha, Paso_SystemMatrix* A, double* in, double beta, double* out);
95  void Paso_SystemMatrix_MatrixVector_CSC_OFFSET0(double alpha, Paso_SystemMatrix* A, double* in, double beta, double* out);  void Paso_SystemMatrix_MatrixVector_CSC_OFFSET0(double alpha, Paso_SystemMatrix* A, double* in, double beta, double* out);
96  void Paso_SystemMatrix_MatrixVector_CSC_OFFSET1(double alpha, Paso_SystemMatrix* A, double* in, double beta, double* out);  void Paso_SystemMatrix_MatrixVector_CSC_OFFSET1(double alpha, Paso_SystemMatrix* A, double* in, double beta, double* out);
97  void Paso_SystemMatrix_MatrixVector_CSR_OFFSET0(double alpha, Paso_SystemMatrix* A, double* in, double beta, double* out);  void Paso_SystemMatrix_MatrixVector_CSR_OFFSET0(double alpha, Paso_SystemMatrix* A, double* in, double beta, double* out, double* buffer0, double* buffer1);
98    void Paso_SystemMatrix_MatrixVector_CSR_OFFSET0_S(double alpha, Paso_SystemMatrix* A, double* in, double* out);
99    void Paso_SystemMatrix_MatrixVector_CSR_OFFSET0_P(double alpha, Paso_SystemMatrix* A, double* in, index_t min_index, index_t max_index, double* out);
100  void Paso_SystemMatrix_MatrixVector_CSR_OFFSET1(double alpha, Paso_SystemMatrix* A, double* in, double beta, double* out);  void Paso_SystemMatrix_MatrixVector_CSR_OFFSET1(double alpha, Paso_SystemMatrix* A, double* in, double beta, double* out);
101    
102  void Paso_SystemMatrix_saveMM(Paso_SystemMatrix *, char *);  void Paso_SystemMatrix_saveMM(Paso_SystemMatrix *, char *);
103  void Paso_SystemMatrix_saveHB(Paso_SystemMatrix *, char *);  void Paso_SystemMatrix_saveHB(Paso_SystemMatrix *, char *);
104  Paso_SystemMatrix* Paso_SystemMatrix_loadMM_toCSR(char *);  Paso_SystemMatrix* Paso_SystemMatrix_loadMM_toCSR(char *);
105  void Paso_SystemMatrix_nullifyRowsAndCols(Paso_SystemMatrix* A, double* mask_row, double* mask_col, double main_diagonal_value);  void Paso_SystemMatrix_nullifyRowsAndCols(Paso_SystemMatrix* A, double* mask_row, double* mask_col, double main_diagonal_value);
106    void Paso_SystemMatrix_nullifyRowsAndCols_CSC_BLK1(Paso_SystemMatrix* A, double* mask_row, double* mask_col, double main_diagonal_value);
107    void Paso_SystemMatrix_nullifyRowsAndCols_CSR_BLK1(Paso_SystemMatrix* A, double* mask_row, double* mask_col, double main_diagonal_value);
108    void Paso_SystemMatrix_nullifyRowsAndCols_CSC(Paso_SystemMatrix* A, double* mask_row, double* mask_col, double main_diagonal_value);
109    void Paso_SystemMatrix_nullifyRowsAndCols_CSR(Paso_SystemMatrix* A, double* mask_row, double* mask_col, double main_diagonal_value);
110    void Paso_SystemMatrix_nullifyRows_CSR(Paso_SystemMatrix* A, double* mask_row, double main_diagonal_value);
111    void Paso_SystemMatrix_nullifyRows_CSR_BLK1(Paso_SystemMatrix* A, double* mask_row, double main_diagonal_value);
112    void Paso_SystemMatrix_nullifyCols_CSR(Paso_SystemMatrix* A, double* mask_col, double main_diagonal_value, index_t min_index, index_t max_index);
113    void Paso_SystemMatrix_nullifyCols_CSR_BLK1(Paso_SystemMatrix* A, double* mask_col, double main_diagonal_value, index_t min_index, index_t max_index);
114  void Paso_SystemMatrix_setDefaults(Paso_Options*);  void Paso_SystemMatrix_setDefaults(Paso_Options*);
115  int Paso_SystemMatrix_getSystemMatrixTypeId(index_t solver, index_t package, bool_t symmetry);  int Paso_SystemMatrix_getSystemMatrixTypeId(index_t solver, index_t package, bool_t symmetry);
116  Paso_SystemMatrix* Paso_SystemMatrix_getSubmatrix(Paso_SystemMatrix* A,dim_t,dim_t,index_t*,index_t*);  Paso_SystemMatrix* Paso_SystemMatrix_getSubmatrix(Paso_SystemMatrix* A,dim_t,dim_t,index_t*,index_t*);

Legend:
Removed from v.1086  
changed lines
  Added in v.1087

  ViewVC Help
Powered by ViewVC 1.1.26