escript::AbstractSystemMatrix Class Reference

Give a short description of what AbstractSystemMatrix does. More...

#include <AbstractSystemMatrix.h>

Inheritance diagram for escript::AbstractSystemMatrix:

finley::SystemMatrixAdapter

List of all members.

Public Member Functions

 AbstractSystemMatrix ()
 Default constructor for AbstractSystemMatrix.
 AbstractSystemMatrix (const int row_blocksize, const FunctionSpace &row_functionspace, const int column_blocksize, const FunctionSpace &column_functionspace)
virtual ~AbstractSystemMatrix ()
 Destructor.
Data vectorMultiply (Data &right) const
 matrix*vector multiplication
int isEmpty () const
 returns true if the matrix is empty
FunctionSpace getColumnFunctionSpace () const
 returns the column function space
FunctionSpace getRowFunctionSpace () const
 returns the row function space
int getRowBlockSize () const
 returns the row block size
int getColumnBlockSize () const
 returns the column block size
Data solve (Data &in, boost::python::object &options) const
 returns the solution u of the linear system this*u=in
virtual void saveMM (const std::string &fileName) const
 writes the matrix to a file using the Matrix Market file format
virtual void saveHB (const std::string &fileName) const
 writes the matrix to a file using the Harwell-Boeing file format
virtual void resetValues () const
 resets the matrix entries

Private Member Functions

virtual void setToSolution (Data &out, Data &in, boost::python::object &options) const
 solves the linear system this*out=in
virtual void ypAx (Data &y, Data &x) const
 performs y+=this*x

Private Attributes

int m_empty
int m_column_blocksize
int m_row_blocksize
FunctionSpace m_row_functionspace
FunctionSpace m_column_functionspace


Detailed Description

Give a short description of what AbstractSystemMatrix does.

Description: Give a detailed description of AbstractSystemMatrix

Template Parameters: For templates describe any conditions that the parameters used in the template must satisfy


Constructor & Destructor Documentation

escript::AbstractSystemMatrix::AbstractSystemMatrix (  ) 

Default constructor for AbstractSystemMatrix.

Description: Default constructor for AbstractSystemMatrix

Preconditions: Describe any preconditions

Throws: Describe any exceptions thrown

References m_empty.

escript::AbstractSystemMatrix::AbstractSystemMatrix ( const int  row_blocksize,
const FunctionSpace row_functionspace,
const int  column_blocksize,
const FunctionSpace column_functionspace 
)

escript::AbstractSystemMatrix::~AbstractSystemMatrix (  )  [virtual]

Destructor.


Member Function Documentation

Data escript::AbstractSystemMatrix::vectorMultiply ( Data right  )  const

int escript::AbstractSystemMatrix::isEmpty (  )  const

FunctionSpace escript::AbstractSystemMatrix::getColumnFunctionSpace (  )  const [inline]

FunctionSpace escript::AbstractSystemMatrix::getRowFunctionSpace (  )  const [inline]

int escript::AbstractSystemMatrix::getRowBlockSize (  )  const [inline]

int escript::AbstractSystemMatrix::getColumnBlockSize (  )  const [inline]

Data escript::AbstractSystemMatrix::solve ( Data in,
boost::python::object &  options 
) const

void escript::AbstractSystemMatrix::saveMM ( const std::string &  fileName  )  const [virtual]

writes the matrix to a file using the Matrix Market file format

Reimplemented in finley::SystemMatrixAdapter.

Referenced by BOOST_PYTHON_MODULE().

void escript::AbstractSystemMatrix::saveHB ( const std::string &  fileName  )  const [virtual]

writes the matrix to a file using the Harwell-Boeing file format

Reimplemented in finley::SystemMatrixAdapter.

Referenced by BOOST_PYTHON_MODULE().

void escript::AbstractSystemMatrix::resetValues (  )  const [virtual]

resets the matrix entries

Reimplemented in finley::SystemMatrixAdapter.

Referenced by BOOST_PYTHON_MODULE().

void escript::AbstractSystemMatrix::setToSolution ( Data out,
Data in,
boost::python::object &  options 
) const [private, virtual]

solves the linear system this*out=in

Reimplemented in finley::SystemMatrixAdapter.

Referenced by solve().

void escript::AbstractSystemMatrix::ypAx ( Data y,
Data x 
) const [private, virtual]

performs y+=this*x

Reimplemented in finley::SystemMatrixAdapter.

Referenced by vectorMultiply().


Member Data Documentation

Referenced by AbstractSystemMatrix(), and isEmpty().

Referenced by getRowFunctionSpace().

Referenced by getColumnFunctionSpace().


The documentation for this class was generated from the following files:

Generated on Mon Aug 10 10:04:44 2009 for ESYS13 by  doxygen 1.5.6