Home | Doxygen Documentation | Tutorials | Developer Tools (restricted)

Public Member Functions | Private Attributes
eigensolver::SparseMatrixArpackGeneralWrapper< T > Class Template Reference

An Wrapper so arpack++ can read matrices of type concepts::SparseMatrix TODO make better. More...

#include <arpackpp.hh>

Inheritance diagram for eigensolver::SparseMatrixArpackGeneralWrapper< T >:
Inheritance graph
[legend]
Collaboration diagram for eigensolver::SparseMatrixArpackGeneralWrapper< T >:
Collaboration graph
[legend]

List of all members.

Public Member Functions

virtual void multAxp (T *v, T *w)
 Multiplication with stiffness matrix.
virtual void multBxp (T *v, T *w)
 Multiplication with the Matrx on the right-hand-side.
virtual void multOPx (T *v, T *w)
 Multiplication with inverted shiftedMatrix.
virtual void setSolver (std::string solverType)
 SparseMatrixArpackGeneralWrapper (const concepts::SparseMatrix< T > &sparse, const concepts::SparseMatrix< T > &right, modus mode, T shift=0.0, std::string solverType="superlu")

Private Attributes

std::auto_ptr
< concepts::DiagonalMatrix< T > > 
diag_
modus mode_
std::auto_ptr
< concepts::DiagonalSolver< T > > 
precond_
const concepts::SparseMatrix< T > & right_
 The matrix on the right side.
concepts::SparseMatrix< T > shiftedMatrix_
 The matrix that gives OPx operation (often shiftedMatrix is the shifted matrix [A-shift*B]^-1)
std::auto_ptr
< concepts::Operator< T > > 
solver_
const concepts::SparseMatrix< T > & sparse_
 The sparse matrix.

Detailed Description

template<class T>
class eigensolver::SparseMatrixArpackGeneralWrapper< T >

An Wrapper so arpack++ can read matrices of type concepts::SparseMatrix TODO make better.

Definition at line 112 of file arpackpp.hh.


Constructor & Destructor Documentation

template<class T>
eigensolver::SparseMatrixArpackGeneralWrapper< T >::SparseMatrixArpackGeneralWrapper ( const concepts::SparseMatrix< T > &  sparse,
const concepts::SparseMatrix< T > &  right,
modus  mode,
shift = 0.0,
std::string  solverType = "superlu" 
) [inline]

Definition at line 116 of file arpackpp.hh.


Member Function Documentation

template<class T>
virtual void eigensolver::SparseMatrixArpackGeneralWrapper< T >::multAxp ( T *  v,
T *  w 
) [inline, virtual]

Multiplication with stiffness matrix.

Implements eigensolver::MatrixArpackGeneralWrapper< T >.

Definition at line 158 of file arpackpp.hh.

template<class T>
virtual void eigensolver::SparseMatrixArpackGeneralWrapper< T >::multBxp ( T *  v,
T *  w 
) [inline, virtual]

Multiplication with the Matrx on the right-hand-side.

Implements eigensolver::MatrixArpackGeneralWrapper< T >.

Definition at line 150 of file arpackpp.hh.

template<class T>
virtual void eigensolver::SparseMatrixArpackGeneralWrapper< T >::multOPx ( T *  v,
T *  w 
) [inline, virtual]

Multiplication with inverted shiftedMatrix.

Implements eigensolver::MatrixArpackGeneralWrapper< T >.

Definition at line 165 of file arpackpp.hh.

template<class T>
virtual void eigensolver::SparseMatrixArpackGeneralWrapper< T >::setSolver ( std::string  solverType) [inline, virtual]

Implements eigensolver::MatrixArpackGeneralWrapper< T >.

Definition at line 139 of file arpackpp.hh.


Member Data Documentation

template<class T>
std::auto_ptr<concepts::DiagonalMatrix<T> > eigensolver::SparseMatrixArpackGeneralWrapper< T >::diag_ [private]

Definition at line 201 of file arpackpp.hh.

template<class T>
modus eigensolver::SparseMatrixArpackGeneralWrapper< T >::mode_ [private]

Definition at line 203 of file arpackpp.hh.

template<class T>
std::auto_ptr<concepts::DiagonalSolver<T> > eigensolver::SparseMatrixArpackGeneralWrapper< T >::precond_ [private]

Definition at line 202 of file arpackpp.hh.

The matrix on the right side.

Definition at line 193 of file arpackpp.hh.

The matrix that gives OPx operation (often shiftedMatrix is the shifted matrix [A-shift*B]^-1)

Definition at line 197 of file arpackpp.hh.

template<class T>
std::auto_ptr<concepts::Operator<T> > eigensolver::SparseMatrixArpackGeneralWrapper< T >::solver_ [private]

Definition at line 200 of file arpackpp.hh.

The sparse matrix.

Definition at line 191 of file arpackpp.hh.


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

Home | Doxygen Documentation | Tutorials | Developer Tools (restricted)