

Public Member Functions | |
| def | __init__ |
| def | iterate |
| def | initialize |
| def | getNumIters |
| def | resetNumIters |
| def | getRitzVectors |
| def | getRitzValues |
| def | getRitzIndex |
| def | getResNorms |
| def | getRes2Norms |
| def | getRitzRes2Norms |
| def | getCurSubspaceDim |
| def | getMaxSubspaceDim |
| def | setStatusTest |
| def | getStatusTest |
| def | getProblem |
| def | getBlockSize |
| def | setBlockSize |
| def | setAuxVecs |
| def | getAuxVecs |
| def | isInitialized |
| def | currentStatus |
The Eigensolver is a templated virtual base class that defines the basic interface that any eigensolver will support. This interface is mainly concerned with providing a set of eigensolver status method that can be requested from any eigensolver by an StatusTest object. C++ includes: AnasaziEigensolverDecl.hpp
| def PyTrilinos.Anasazi.EigensolverEpetra.currentStatus | ( | self, | |
| args | |||
| ) |
currentStatus(EigensolverEpetra self, std::ostream & os) virtual void Anasazi::Eigensolver< ScalarType, MV, OP >::currentStatus(std::ostream &os)=0 This method requests that the solver print out its current status to screen.
Reimplemented in PyTrilinos.Anasazi.LOBPCGEpetra, PyTrilinos.Anasazi.BlockKrylovSchurEpetra, and PyTrilinos.Anasazi.BlockDavidsonEpetra.
| def PyTrilinos.Anasazi.EigensolverEpetra.getAuxVecs | ( | self, | |
| args | |||
| ) |
getAuxVecs(EigensolverEpetra self) -> Teuchos::Array< Teuchos::RCP< Epetra_MultiVector const > > virtual Teuchos::Array<Teuchos::RCP<const MV> > Anasazi::Eigensolver< ScalarType, MV, OP >::getAuxVecs() const =0 Get the auxiliary vectors for the solver.
Reimplemented in PyTrilinos.Anasazi.LOBPCGEpetra, PyTrilinos.Anasazi.BlockKrylovSchurEpetra, and PyTrilinos.Anasazi.BlockDavidsonEpetra.
| def PyTrilinos.Anasazi.EigensolverEpetra.getBlockSize | ( | self, | |
| args | |||
| ) |
getBlockSize(EigensolverEpetra self) -> int virtual int Anasazi::Eigensolver< ScalarType, MV, OP >::getBlockSize() const =0 Get the blocksize to be used by the iterative solver in solving this eigenproblem.
Reimplemented in PyTrilinos.Anasazi.LOBPCGEpetra, PyTrilinos.Anasazi.BlockKrylovSchurEpetra, and PyTrilinos.Anasazi.BlockDavidsonEpetra.
| def PyTrilinos.Anasazi.EigensolverEpetra.getCurSubspaceDim | ( | self, | |
| args | |||
| ) |
getCurSubspaceDim(EigensolverEpetra self) -> int virtual int Anasazi::Eigensolver< ScalarType, MV, OP >::getCurSubspaceDim() const =0 Get the dimension of the search subspace used to generate the current eigenvectors and eigenvalues.
Reimplemented in PyTrilinos.Anasazi.LOBPCGEpetra, PyTrilinos.Anasazi.BlockKrylovSchurEpetra, and PyTrilinos.Anasazi.BlockDavidsonEpetra.
| def PyTrilinos.Anasazi.EigensolverEpetra.getMaxSubspaceDim | ( | self, | |
| args | |||
| ) |
getMaxSubspaceDim(EigensolverEpetra self) -> int virtual int Anasazi::Eigensolver< ScalarType, MV, OP >::getMaxSubspaceDim() const =0 Get the maximum dimension allocated for the search subspace.
Reimplemented in PyTrilinos.Anasazi.LOBPCGEpetra, PyTrilinos.Anasazi.BlockKrylovSchurEpetra, and PyTrilinos.Anasazi.BlockDavidsonEpetra.
| def PyTrilinos.Anasazi.EigensolverEpetra.getNumIters | ( | self, | |
| args | |||
| ) |
getNumIters(EigensolverEpetra self) -> int virtual int Anasazi::Eigensolver< ScalarType, MV, OP >::getNumIters() const =0 Get the current iteration count.
Reimplemented in PyTrilinos.Anasazi.LOBPCGEpetra, PyTrilinos.Anasazi.BlockKrylovSchurEpetra, and PyTrilinos.Anasazi.BlockDavidsonEpetra.
| def PyTrilinos.Anasazi.EigensolverEpetra.getProblem | ( | self, | |
| args | |||
| ) |
getProblem(EigensolverEpetra self) -> EigenproblemEpetra virtual const Eigenproblem<ScalarType,MV,OP>& Anasazi::Eigensolver< ScalarType, MV, OP >::getProblem() const =0 Get a constant reference to the eigenvalue problem.
Reimplemented in PyTrilinos.Anasazi.LOBPCGEpetra, PyTrilinos.Anasazi.BlockKrylovSchurEpetra, and PyTrilinos.Anasazi.BlockDavidsonEpetra.
| def PyTrilinos.Anasazi.EigensolverEpetra.getRes2Norms | ( | self, | |
| args | |||
| ) |
getRes2Norms(EigensolverEpetra self) -> std::vector< Teuchos::ScalarTraits< double >::magnitudeType,std::allocator< Teuchos::ScalarTraits< double >::magnitudeType > > virtual std::vector<typename Teuchos::ScalarTraits<ScalarType>::magnitudeType> Anasazi::Eigensolver< ScalarType, MV, OP >::getRes2Norms()=0 Get the current residual 2-norms A vector of length blockSize containing the 2-norms of the residuals.
Reimplemented in PyTrilinos.Anasazi.LOBPCGEpetra, PyTrilinos.Anasazi.BlockKrylovSchurEpetra, and PyTrilinos.Anasazi.BlockDavidsonEpetra.
| def PyTrilinos.Anasazi.EigensolverEpetra.getResNorms | ( | self, | |
| args | |||
| ) |
getResNorms(EigensolverEpetra self) -> std::vector< Teuchos::ScalarTraits< double >::magnitudeType,std::allocator< Teuchos::ScalarTraits< double >::magnitudeType > > virtual std::vector<typename Teuchos::ScalarTraits<ScalarType>::magnitudeType> Anasazi::Eigensolver< ScalarType, MV, OP >::getResNorms()=0 Get the current residual norms. A vector of length blockSize containing the norms of the residuals, according to the orthogonalization manager norm() method.
Reimplemented in PyTrilinos.Anasazi.LOBPCGEpetra, PyTrilinos.Anasazi.BlockKrylovSchurEpetra, and PyTrilinos.Anasazi.BlockDavidsonEpetra.
| def PyTrilinos.Anasazi.EigensolverEpetra.getRitzIndex | ( | self, | |
| args | |||
| ) |
getRitzIndex(EigensolverEpetra self) -> VectorInt virtual std::vector<int> Anasazi::Eigensolver< ScalarType, MV, OP >::getRitzIndex()=0 Get the index used for indexing the compressed storage used for Ritz vectors for real, non-Hermitian problems. index has length numVecs, where each entry is 0, +1, or -1. These have the following interpretation: index[i] == 0: signifies that the corresponding eigenvector is stored as the i column of Evecs. This will usually be the case when ScalarType is complex, an eigenproblem is Hermitian, or a real, non- Hermitian eigenproblem has a real eigenvector. index[i] == +1: signifies that the corresponding eigenvector is stored in two vectors: the real part in the i column of Evecs and the positive imaginary part in the i+1 column of Evecs. index[i] == -1: signifies that the corresponding eigenvector is stored in two vectors: the real part in the i-1 column of Evecs and the negative imaginary part in the i column of Evecs
Reimplemented in PyTrilinos.Anasazi.LOBPCGEpetra, PyTrilinos.Anasazi.BlockKrylovSchurEpetra, and PyTrilinos.Anasazi.BlockDavidsonEpetra.
| def PyTrilinos.Anasazi.EigensolverEpetra.getRitzRes2Norms | ( | self, | |
| args | |||
| ) |
getRitzRes2Norms(EigensolverEpetra self) -> std::vector< Teuchos::ScalarTraits< double >::magnitudeType,std::allocator< Teuchos::ScalarTraits< double >::magnitudeType > > virtual std::vector<typename Teuchos::ScalarTraits<ScalarType>::magnitudeType> Anasazi::Eigensolver< ScalarType, MV, OP >::getRitzRes2Norms()=0 Get the 2-norms of the Ritz residuals. A vector of length blockSize containing the 2-norms of the Ritz residuals.
Reimplemented in PyTrilinos.Anasazi.LOBPCGEpetra, PyTrilinos.Anasazi.BlockKrylovSchurEpetra, and PyTrilinos.Anasazi.BlockDavidsonEpetra.
| def PyTrilinos.Anasazi.EigensolverEpetra.getRitzValues | ( | self, | |
| args | |||
| ) |
getRitzValues(EigensolverEpetra self) -> VectorValueDouble virtual std::vector<Value<ScalarType> > Anasazi::Eigensolver< ScalarType, MV, OP >::getRitzValues()=0 Get the Ritz values from the previous iteration.
Reimplemented in PyTrilinos.Anasazi.LOBPCGEpetra, PyTrilinos.Anasazi.BlockKrylovSchurEpetra, and PyTrilinos.Anasazi.BlockDavidsonEpetra.
| def PyTrilinos.Anasazi.EigensolverEpetra.getRitzVectors | ( | self, | |
| args | |||
| ) |
getRitzVectors(EigensolverEpetra self) -> Teuchos::RCP< Epetra_MultiVector const > virtual Teuchos::RCP<const MV> Anasazi::Eigensolver< ScalarType, MV, OP >::getRitzVectors()=0 Get the Ritz vectors from the previous iteration. These are indexed using getRitzIndex(). For a description of the indexing scheme, see getRitzIndex().
Reimplemented in PyTrilinos.Anasazi.LOBPCGEpetra, PyTrilinos.Anasazi.BlockKrylovSchurEpetra, and PyTrilinos.Anasazi.BlockDavidsonEpetra.
| def PyTrilinos.Anasazi.EigensolverEpetra.getStatusTest | ( | self, | |
| args | |||
| ) |
getStatusTest(EigensolverEpetra self) -> Teuchos::RCP< Anasazi::StatusTest< double,Epetra_MultiVector,Epetra_Operator > > virtual Teuchos::RCP<StatusTest<ScalarType,MV,OP> > Anasazi::Eigensolver< ScalarType, MV, OP >::getStatusTest() const =0 Get the current StatusTest used by the solver.
Reimplemented in PyTrilinos.Anasazi.LOBPCGEpetra, PyTrilinos.Anasazi.BlockKrylovSchurEpetra, and PyTrilinos.Anasazi.BlockDavidsonEpetra.
| def PyTrilinos.Anasazi.EigensolverEpetra.initialize | ( | self, | |
| args | |||
| ) |
initialize(EigensolverEpetra self) virtual void Anasazi::Eigensolver< ScalarType, MV, OP >::initialize()=0 Initialize the solver with the initial vectors from the eigenproblem or random data.
Reimplemented in PyTrilinos.Anasazi.LOBPCGEpetra, PyTrilinos.Anasazi.BlockKrylovSchurEpetra, and PyTrilinos.Anasazi.BlockDavidsonEpetra.
| def PyTrilinos.Anasazi.EigensolverEpetra.isInitialized | ( | self, | |
| args | |||
| ) |
isInitialized(EigensolverEpetra self) -> bool virtual bool Anasazi::Eigensolver< ScalarType, MV, OP >::isInitialized() const =0 States whether the solver has been initialized or not.
Reimplemented in PyTrilinos.Anasazi.LOBPCGEpetra, PyTrilinos.Anasazi.BlockKrylovSchurEpetra, and PyTrilinos.Anasazi.BlockDavidsonEpetra.
| def PyTrilinos.Anasazi.EigensolverEpetra.iterate | ( | self, | |
| args | |||
| ) |
iterate(EigensolverEpetra self) virtual void Anasazi::Eigensolver< ScalarType, MV, OP >::iterate()=0 This method performs eigensolvers iterations until the status test indicates the need to stop or an error occurs (in which case, an exception is thrown).
Reimplemented in PyTrilinos.Anasazi.LOBPCGEpetra, PyTrilinos.Anasazi.BlockKrylovSchurEpetra, and PyTrilinos.Anasazi.BlockDavidsonEpetra.
| def PyTrilinos.Anasazi.EigensolverEpetra.resetNumIters | ( | self, | |
| args | |||
| ) |
resetNumIters(EigensolverEpetra self) virtual void Anasazi::Eigensolver< ScalarType, MV, OP >::resetNumIters()=0 Reset the iteration count.
Reimplemented in PyTrilinos.Anasazi.LOBPCGEpetra, PyTrilinos.Anasazi.BlockKrylovSchurEpetra, and PyTrilinos.Anasazi.BlockDavidsonEpetra.
| def PyTrilinos.Anasazi.EigensolverEpetra.setAuxVecs | ( | self, | |
| args | |||
| ) |
setAuxVecs(EigensolverEpetra self, Teuchos::Array< Teuchos::RCP< Epetra_MultiVector const > > const & auxvecs) virtual void Anasazi::Eigensolver< ScalarType, MV, OP >::setAuxVecs(const Teuchos::Array< Teuchos::RCP< const MV > > &auxvecs)=0 Set the auxiliary vectors for the solver.
Reimplemented in PyTrilinos.Anasazi.LOBPCGEpetra, PyTrilinos.Anasazi.BlockKrylovSchurEpetra, and PyTrilinos.Anasazi.BlockDavidsonEpetra.
| def PyTrilinos.Anasazi.EigensolverEpetra.setBlockSize | ( | self, | |
| args | |||
| ) |
setBlockSize(EigensolverEpetra self, int blockSize) virtual void Anasazi::Eigensolver< ScalarType, MV, OP >::setBlockSize(int blockSize)=0 Set the blocksize to be used by the iterative solver in solving this eigenproblem.
Reimplemented in PyTrilinos.Anasazi.LOBPCGEpetra, PyTrilinos.Anasazi.BlockKrylovSchurEpetra, and PyTrilinos.Anasazi.BlockDavidsonEpetra.
| def PyTrilinos.Anasazi.EigensolverEpetra.setStatusTest | ( | self, | |
| args | |||
| ) |
setStatusTest(EigensolverEpetra self, Teuchos::RCP< Anasazi::StatusTest< double,Epetra_MultiVector,Epetra_Operator > > test) virtual void Anasazi::Eigensolver< ScalarType, MV, OP >::setStatusTest(Teuchos::RCP< StatusTest< ScalarType, MV, OP > > test)=0 Set a new StatusTest for the solver.
Reimplemented in PyTrilinos.Anasazi.LOBPCGEpetra, PyTrilinos.Anasazi.BlockKrylovSchurEpetra, and PyTrilinos.Anasazi.BlockDavidsonEpetra.
1.7.6.1