#include <AnasaziModalSolverUtils.hpp>
Public Member Functions | |
Constructor/Destructor | |
| ModalSolverUtils (const Teuchos::RefCountPtr< OutputManager< ScalarType > > &om) | |
| Basic constructor. | |
| virtual | ~ModalSolverUtils () |
| Destructor. | |
Sorting Methods | |
| int | sortScalars (int n, ScalarType *y, int *perm=0) const |
Sort the vector of eigenvalues y, optionally returning the permutation vector perm. | |
| int | sortScalars_Vectors (int n, ScalarType *lambda, MV *Q, std::vector< ScalarType > *resids=0) const |
Sort the vector of eigenvalues lambda, and optionally the corresponding multi-vector Q and residual vector resids. | |
Eigensolver Projection Methods | |
| int | massOrthonormalize (MV &X, MV &MX, const OP *M, const MV &Q, int howMany, int orthoType=0, ScalarType kappa=1.5625) const |
Mass orthogonalize X with-respect-to the orthogonalization parameter orthoType. | |
| int | directSolver (int size, const Teuchos::SerialDenseMatrix< int, ScalarType > &KK, const Teuchos::SerialDenseMatrix< int, ScalarType > *MM, Teuchos::SerialDenseMatrix< int, ScalarType > *EV, std::vector< ScalarType > *theta, int nev, int esType=0) const |
Routine for computing the first NEV generalized eigenpairs of the symmetric pencil (KK, MM). | |
Sanity Checking Methods | |
| ScalarType | errorOrthogonality (const MV *X, const MV *R, const OP *M=0) const |
Return the maximum value of . | |
| ScalarType | errorOrthonormality (const MV *X, const OP *M=0) const |
Return the maximum coefficient of the matrix . | |
| ScalarType | errorEquality (const MV *X, const MV *MX, const OP *M=0) const |
Return the maximum coefficient of the matrix scaled by the maximum coefficient of MX. | |
This class provides concrete, templated implementations of utilities necessary for the modal solvers (Davidson, LOBPCG, ...). These utilities include sorting, orthogonalization, projecting/solving local eigensystems, and sanity checking. These are internal utilties, so the user should not alter this class.
|
||||||||||
|
Basic constructor.
|
|
||||||||||||||||||||||||||||||||||||
|
Routine for computing the first NEV generalized eigenpairs of the symmetric pencil
|
|
||||||||||||||||||||
|
Return the maximum coefficient of the matrix
|
|
||||||||||||||||||||
|
Return the maximum value of
|
|
||||||||||||||||
|
Return the maximum coefficient of the matrix
|
|
||||||||||||||||||||||||||||||||||||
|
Mass orthogonalize
|
1.3.9.1