Tool to easily solve general eigenvalue problems. More...
#include <easyArpackpp.hh>
Public Member Functions | |
EasyArPackppGen (concepts::SparseMatrix< F > &A, concepts::SparseMatrix< concepts::Real > &B, int kmax, G shift) | |
EasyArPackppGen (concepts::SparseMatrix< F > &A, concepts::SparseMatrix< concepts::Real > &B, int kmax=1, char *which=(char *) "LM") | |
virtual | ~EasyArPackppGen () |
Destructor that deletes the solver and the operator. | |
virtual ArPackppGen< H, F, concepts::Real > * | getSolver () |
Protected Attributes | |
int | dim_ |
Dimension of the space. | |
Tool to easily solve general eigenvalue problems.
Definition at line 151 of file easyArpackpp.hh.
|
inline |
Shift and invert mode constructor. Builds an eigenvalue solver that solves the given eigenvalue problem using arpack++ with the shift and invert method.
A | matrix of the left hand side |
B | matrix of the right hand side |
kmax | number of eigenvalues that should be calculated |
shift | complex or real number for which the kmax closest eigenvalues will be calculated |
B
has to be real, symmetric and positive definite A
- shift
B
has to be invertible kmax
has to be larger than or equal to 1 (otherwise it is set to this lower bound). kmax
has to be smaller than or equal to the dimension of the matrix -2 (otherwise it is set to this upper bound). Definition at line 166 of file easyArpackpp.hh.
|
inline |
Regular mode constructor. Builds an eigenvalue solver that solves the given eigenvalue problem using arpack++ with the regular method.
A | matrix of the left hand side |
B | matrix of the right hand side |
kmax | number of eigenvalues that should be calculated (default 1) |
which | defines which eigenvalue should be calculated (default "LM") |
B
has to be real, symmetric and positive definite kmax
has to be larger than or equal to 1 (otherwise it is set to this lower bound). kmax
has to be smaller than or equal to the dimension of the matrix -2 (otherwise it is set to this upper bound). Definition at line 203 of file easyArpackpp.hh.
|
inlinevirtual |
Destructor that deletes the solver and the operator.
Definition at line 244 of file easyArpackpp.hh.
|
inlinevirtual |
Getter for the generated solver. Returns an eigensolver of the type ArPackGen that calculates the desired eigenvalues and eigenfunctions respectively.
Implements eigensolver::EasyArPackpp< concepts::Cmplx >.
Definition at line 257 of file easyArpackpp.hh.
|
protectedinherited |
Dimension of the space.
Definition at line 47 of file easyArpackpp.hh.