18 #if !defined escript_AbstractSystemMatrix_20040628_H
19 #define escript_AbstractSystemMatrix_20040628_H
24 #include <boost/python/object.hpp>
67 const int column_blocksize,
158 virtual void saveMM(
const std::string& fileName)
const;
164 virtual void saveHB(
const std::string& fileName)
const;
201 typedef boost::shared_ptr<AbstractSystemMatrix>
ASM_ptr;
Give a short description of what FunctionSpace does.
Definition: FunctionSpace.h:46
int m_column_blocksize
Definition: AbstractSystemMatrix.h:191
Data solve(Data &in, boost::python::object &options) const
returns the solution u of the linear system this*u=in
Definition: AbstractSystemMatrix.cpp:82
virtual ~AbstractSystemMatrix()
Destructor.
Definition: AbstractSystemMatrix.cpp:49
virtual void resetValues() const
resets the matrix entries
Definition: AbstractSystemMatrix.cpp:115
int getColumnBlockSize() const
returns the column block size
Definition: AbstractSystemMatrix.h:132
virtual void saveHB(const std::string &fileName) const
writes the matrix to a file using the Harwell-Boeing file format
Definition: AbstractSystemMatrix.cpp:111
SystemMatrixException exception class.
Definition: SystemMatrixException.h:35
virtual void saveMM(const std::string &fileName) const
writes the matrix to a file using the Matrix Market file format
Definition: AbstractSystemMatrix.cpp:107
FunctionSpace m_column_functionspace
Definition: AbstractSystemMatrix.h:194
AbstractSystemMatrix()
Default constructor for AbstractSystemMatrix.
Definition: AbstractSystemMatrix.cpp:25
int m_row_blocksize
Definition: AbstractSystemMatrix.h:192
int getRowBlockSize() const
returns the row block size
Definition: AbstractSystemMatrix.h:120
Data vectorMultiply(Data &right) const
matrix*vector multiplication
Definition: AbstractSystemMatrix.cpp:62
virtual void nullifyRowsAndCols(escript::Data &row_q, escript::Data &col_q, const double mdv) const
nullifyRowsAndCols - calls Paso_SystemMatrix_nullifyRowsAndCols.
Definition: AbstractSystemMatrix.cpp:102
FunctionSpace getRowFunctionSpace() const
returns the row function space
Definition: AbstractSystemMatrix.h:108
Data represents a collection of datapoints.
Definition: Data.h:71
int m_empty
Definition: AbstractSystemMatrix.h:190
virtual void setToSolution(Data &out, Data &in, boost::python::object &options) const
solves the linear system this*out=in
Definition: AbstractSystemMatrix.cpp:96
FunctionSpace m_row_functionspace
Definition: AbstractSystemMatrix.h:193
virtual void ypAx(Data &y, Data &x) const
performs y+=this*x
Definition: AbstractSystemMatrix.cpp:77
#define ESCRIPT_DLL_API
Definition: escriptcore/src/system_dep.h:64
Data operator*(const AbstractSystemMatrix &left, const Data &right)
Definition: AbstractSystemMatrix.cpp:56
Give a short description of what AbstractSystemMatrix does.
Definition: AbstractSystemMatrix.h:44
boost::shared_ptr< AbstractSystemMatrix > ASM_ptr
Definition: AbstractSystemMatrix.h:201
FunctionSpace getColumnFunctionSpace() const
returns the column function space
Definition: AbstractSystemMatrix.h:96
int isEmpty() const
returns true if the matrix is empty
Definition: AbstractSystemMatrix.cpp:52