#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< MagnitudeType > *resids=0) const |
Sort the vector of eigenvalues lambda, and optionally the corresponding multi-vector Q and residual vector resids. | |
| void | permuteVectors (const int n, const std::vector< int > &perm, MV &Q, std::vector< MagnitudeType > *resids=0) const |
Permute the vectors in a multivector according to the permutation vector perm, and optionally the residual vector resids. | |
| void | permuteVectors (const std::vector< int > &perm, Teuchos::SerialDenseMatrix< int, ScalarType > &Q) const |
Permute the columns of a Teuchos::SerialDenseMatrix according to the permutation vector perm. | |
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< MagnitudeType > *theta, int *nev, int esType=0) const |
Routine for computing the first NEV generalized eigenpairs of the symmetric pencil (KK, MM). | |
Sanity Checking Methods | |
| MagnitudeType | errorOrthogonality (const MV *X, const MV *R, const OP *M=0) const |
Return the maximum value of . | |
| MagnitudeType | errorOrthonormality (const MV *X, const OP *M=0) const |
Return the maximum coefficient of the matrix . | |
| MagnitudeType | 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.
Definition at line 61 of file AnasaziModalSolverUtils.hpp.
|
||||||||||
|
Basic constructor.
Definition at line 201 of file AnasaziModalSolverUtils.hpp. |
|
|||||||||
|
Destructor.
Definition at line 76 of file AnasaziModalSolverUtils.hpp. |
|
||||||||||||||||||||
|
Sort the vector of eigenvalues
Definition at line 212 of file AnasaziModalSolverUtils.hpp. |
|
||||||||||||||||||||||||
|
Sort the vector of eigenvalues
Definition at line 263 of file AnasaziModalSolverUtils.hpp. |
|
||||||||||||||||||||||||
|
Permute the vectors in a multivector according to the permutation vector
Definition at line 338 of file AnasaziModalSolverUtils.hpp. |
|
||||||||||||||||
|
Permute the columns of a Teuchos::SerialDenseMatrix according to the permutation vector
Definition at line 402 of file AnasaziModalSolverUtils.hpp. |
|
||||||||||||||||||||||||||||||||||||
|
Mass orthogonalize
Definition at line 428 of file AnasaziModalSolverUtils.hpp. |
|
||||||||||||||||||||||||||||||||||||
|
Routine for computing the first NEV generalized eigenpairs of the symmetric pencil
Definition at line 724 of file AnasaziModalSolverUtils.hpp. |
|
||||||||||||||||||||
|
Return the maximum value of
Definition at line 979 of file AnasaziModalSolverUtils.hpp. |
|
||||||||||||||||
|
Return the maximum coefficient of the matrix
Definition at line 1021 of file AnasaziModalSolverUtils.hpp. |
|
||||||||||||||||||||
|
Return the maximum coefficient of the matrix
Definition at line 1067 of file AnasaziModalSolverUtils.hpp. |
1.3.9.1