#include <RipleySystemMatrix.h>
|
| | SystemMatrix (esysUtils::JMPI mpiInfo, int blocksize, const escript::FunctionSpace &fs, int nRows, const IndexVector &diagonalOffsets, bool symmetric) |
| |
| virtual | ~SystemMatrix () |
| |
| virtual void | nullifyRowsAndCols (escript::Data &row_q, escript::Data &col_q, double mdv) |
| | sets matrix entries to zero in specified rows and columns. The rows and columns are marked by positive values in row_q and col_q. Values on the main diagonal which are marked to set to zero by both row_q and col_q are set to mdv (main diagonal value). More...
|
| |
| virtual void | saveMM (const std::string &filename) const |
| | writes the matrix to a file using the Matrix Market file format More...
|
| |
| virtual void | saveHB (const std::string &filename) const |
| | writes the matrix to a file using the Harwell-Boeing file format More...
|
| |
| virtual void | resetValues () |
| | resets the matrix entries More...
|
| |
| void | add (const IndexVector &rowIndex, const std::vector< double > &array) |
| |
| int | getBlockSize () const |
| |
| | AbstractSystemMatrix () |
| | Default constructor for AbstractSystemMatrix. More...
|
| |
| | AbstractSystemMatrix (int row_blocksize, const FunctionSpace &row_functionspace, int column_blocksize, const FunctionSpace &column_functionspace) |
| |
| virtual | ~AbstractSystemMatrix () |
| | Destructor. More...
|
| |
| Data | vectorMultiply (const Data &right) const |
| | returns the matrix-vector product this*right More...
|
| |
| bool | isEmpty () const |
| | returns true if the matrix is empty More...
|
| |
| FunctionSpace | getColumnFunctionSpace () const |
| | returns the column function space More...
|
| |
| FunctionSpace | getRowFunctionSpace () const |
| | returns the row function space More...
|
| |
| int | getRowBlockSize () const |
| | returns the row block size More...
|
| |
| int | getColumnBlockSize () const |
| | returns the column block size More...
|
| |
| Data | solve (const Data &in, boost::python::object &options) const |
| | returns the solution u of the linear system this*u=in More...
|
| |
| virtual ripley::SystemMatrix::~SystemMatrix |
( |
| ) |
|
|
inlinevirtual |
| void ripley::SystemMatrix::add |
( |
const IndexVector & |
rowIndex, |
|
|
const std::vector< double > & |
array |
|
) |
| |
| static void ripley::SystemMatrix::checkCUDA |
( |
| ) |
|
|
staticprivate |
| void ripley::SystemMatrix::copyMatrixToDevice |
( |
bool |
verbose = false | ) |
const |
|
private |
copies the current matrix stored on host to device if required
| int ripley::SystemMatrix::getBlockSize |
( |
| ) |
const |
|
inline |
sets matrix entries to zero in specified rows and columns. The rows and columns are marked by positive values in row_q and col_q. Values on the main diagonal which are marked to set to zero by both row_q and col_q are set to mdv (main diagonal value).
Reimplemented from escript::AbstractSystemMatrix.
| virtual void ripley::SystemMatrix::resetValues |
( |
| ) |
|
|
virtual |
template<class LinearOperator , class Vector , class Preconditioner >
| void ripley::SystemMatrix::runSolver |
( |
LinearOperator & |
A, |
|
|
Vector & |
x, |
|
|
Vector & |
b, |
|
|
Preconditioner & |
M, |
|
|
escript::SolverBuddy & |
sb |
|
) |
| const |
|
private |
| virtual void ripley::SystemMatrix::saveHB |
( |
const std::string & |
filename | ) |
const |
|
virtual |
| virtual void ripley::SystemMatrix::saveMM |
( |
const std::string & |
filename | ) |
const |
|
virtual |
| virtual void ripley::SystemMatrix::setToSolution |
( |
escript::Data & |
out, |
|
|
escript::Data & |
in, |
|
|
boost::python::object & |
options |
|
) |
| const |
|
privatevirtual |
| std::vector<int> ripley::SystemMatrix::cudaDevices |
|
staticprivate |
GPU device IDs supporting CUDA.
| bool ripley::SystemMatrix::matrixAltered |
|
mutableprivate |
| bool ripley::SystemMatrix::symmetric |
|
private |
The documentation for this class was generated from the following file: