eigensolver::ArPackFabric Class Reference
Fabric class for ARPACK eigenvalue solver for a constrained problem. More...
#include <arpackFabric.hh>
Public Member Functions | |
ArPackFabric (int kmax=1, Real tol=0.0, const int maxiter=300, enum ArPackSymm::which target=ArPackSymm::SM, enum ArPackSymm::modus mode=ArPackSymm::REGINV, const Real sigma=0.0, const concepts::Vector< Real > *start=0) | |
Constructor. More... | |
virtual ArPackSymm & | operator() (concepts::Operator< Real > &stiff, concepts::Operator< Real > &mass) |
Creates an eigenvalue solver which solves the abstract eigenvalue problem defined by stiff and mass . More... | |
virtual | ~ArPackFabric () |
Protected Member Functions | |
virtual std::ostream & | info (std::ostream &os) const |
Returns information in an output stream. More... | |
Private Member Functions | |
ArPackFabric (const ArPackFabric &) | |
void | bucklingMode_ (concepts::Operator< Real > &stiff, concepts::Operator< Real > &mass) |
void | cayleyMode_ (concepts::Operator< Real > &stiff, concepts::Operator< Real > &mass) |
void | normalMode_ (concepts::Operator< Real > &stiff, concepts::Operator< Real > &mass) |
void | reginvMode_ (concepts::Operator< Real > &stiff, concepts::Operator< Real > &mass) |
void | shiftinvMode_ (concepts::Operator< Real > &stiff, concepts::Operator< Real > &mass) |
Private Attributes | |
std::unique_ptr< concepts::Operator< Real > > | B_ |
int | kmax_ |
Number of eigenpairs to be computed. More... | |
int | maxiter_ |
Maximum number of Arnoldi iterations allowed. More... | |
enum ArPackSymm::modus | mode_ |
Mode in which ARPACK should be used. More... | |
std::unique_ptr< concepts::Operator< Real > > | OP_ |
const Real | sigma_ |
Shift for the shift-invert, Buckling or Cayley mode. More... | |
std::unique_ptr< ArPackSymm > | solver_ |
const concepts::Vector< Real > * | start_ |
Starting vector, if not given ARPACK invents one. More... | |
enum ArPackSymm::which | target_ |
What sort of eigenvalues to compute. More... | |
std::unique_ptr< concepts::Operator< Real > > | tmp1_ |
std::unique_ptr< concepts::Operator< Real > > | tmp2_ |
Real | tol_ |
Convergence tolerance for the eigenpairs. More... | |
Detailed Description
Fabric class for ARPACK eigenvalue solver for a constrained problem.
Definition at line 24 of file arpackFabric.hh.
Constructor & Destructor Documentation
◆ ArPackFabric() [1/2]
|
inline |
Constructor.
- Parameters
-
kmax Number of eigenpairs to be computed tol Convergence tolerance for the eigenpairs. The default value 0.0 is replaced by DLAMCH
('EPS') from LAPACK.maxiter Maximum number of Arnoldi iterations allowed target What sort of eigenvalues to compute mode Mode in which ARPACK should be used sigma Shift for the shift-invert, Buckling or Cayley mode start Starting vector, if not given ARPACK invents one
Definition at line 36 of file arpackFabric.hh.
◆ ~ArPackFabric()
|
virtual |
◆ ArPackFabric() [2/2]
|
private |
Member Function Documentation
◆ bucklingMode_()
|
private |
◆ cayleyMode_()
|
private |
◆ info()
|
protectedvirtual |
Returns information in an output stream.
Reimplemented from concepts::OutputOperator.
◆ normalMode_()
|
private |
◆ operator()()
|
virtual |
Creates an eigenvalue solver which solves the abstract eigenvalue problem defined by stiff
and mass
.
This fabric should only by used once as subsequent uses would invalidate older solvers.
- Returns
- Pointer to eigenvalue solver
Implements eigensolver::SolverFabric< Real >.
◆ reginvMode_()
|
private |
◆ shiftinvMode_()
|
private |
Member Data Documentation
◆ B_
|
private |
Definition at line 51 of file arpackFabric.hh.
◆ kmax_
|
private |
Number of eigenpairs to be computed.
Definition at line 53 of file arpackFabric.hh.
◆ maxiter_
|
private |
Maximum number of Arnoldi iterations allowed.
Definition at line 55 of file arpackFabric.hh.
◆ mode_
|
private |
Mode in which ARPACK should be used.
Definition at line 57 of file arpackFabric.hh.
◆ OP_
|
private |
Definition at line 51 of file arpackFabric.hh.
◆ sigma_
|
private |
Shift for the shift-invert, Buckling or Cayley mode.
Definition at line 63 of file arpackFabric.hh.
◆ solver_
|
private |
Definition at line 50 of file arpackFabric.hh.
◆ start_
|
private |
Starting vector, if not given ARPACK invents one.
Definition at line 65 of file arpackFabric.hh.
◆ target_
|
private |
What sort of eigenvalues to compute.
Definition at line 57 of file arpackFabric.hh.
◆ tmp1_
|
private |
Definition at line 51 of file arpackFabric.hh.
◆ tmp2_
|
private |
Definition at line 51 of file arpackFabric.hh.
◆ tol_
|
private |
Convergence tolerance for the eigenpairs.
Definition at line 57 of file arpackFabric.hh.
The documentation for this class was generated from the following file:
- eigensolver/arpackFabric.hh