1 |
|
// $Id$ |
2 |
/* |
/* |
3 |
****************************************************************************** |
****************************************************************************** |
4 |
* * |
* * |
50 |
/brief |
/brief |
51 |
Constructor for SystemMatrixAdapter. |
Constructor for SystemMatrixAdapter. |
52 |
*/ |
*/ |
53 |
SystemMatrixAdapter(const Finley_SystemMatrix* system_matrix, |
SystemMatrixAdapter(Finley_SystemMatrix* system_matrix, |
54 |
const int row_blocksize, |
const int row_blocksize, |
55 |
const escript::FunctionSpace& row_functionspace, |
const escript::FunctionSpace& row_functionspace, |
56 |
const int column_blocksize, |
const int column_blocksize, |
57 |
const escript::FunctionSpace& colum_functionspace); |
const escript::FunctionSpace& colum_functionspace); |
58 |
|
|
59 |
|
|
60 |
/** |
/** |
61 |
\brief |
\brief |
62 |
Destructor for SystemMatrixAdapter. As specified in the constructor |
Destructor for SystemMatrixAdapter. As specified in the constructor |
94 |
*/ |
*/ |
95 |
void nullifyRowsAndCols(const escript::Data& row_q, const escript::Data& col_q, const double mdv) const; |
void nullifyRowsAndCols(const escript::Data& row_q, const escript::Data& col_q, const double mdv) const; |
96 |
|
|
97 |
|
/** |
98 |
|
\brief writes the matrix to a file using the Matrix Market file format |
99 |
|
*/ |
100 |
|
virtual void saveMM(const std::string& fileName) const; |
101 |
|
|
102 |
|
/** |
103 |
|
\brief sets the matrix entries to value |
104 |
|
*/ |
105 |
|
virtual void setValue(const double value) const; |
106 |
|
|
107 |
|
|
108 |
protected: |
protected: |
109 |
|
|
110 |
private: |
private: |