1 #ifndef RBGEN_ANASAZI_POD_H
2 #define RBGEN_ANASAZI_POD_H
4 #include "RBGen_PODMethod.hpp"
5 #include "RBGen_Method.hpp"
6 #include "Epetra_MultiVector.h"
7 #include "Epetra_Operator.h"
79 bool isInitialized() {
return isInitialized_; }
108 std::vector<double> sv_;
113 #endif // RBGEN_ANASAZI_POD_H
Class for producing a basis using the Anasazi eigensolver.
virtual ~AnasaziPOD()
Destructor.
std::vector< double > getSingularValues() const
Returns the singular values computed corresponding to the reduced basis.
double getCompTime() const
Returns the computational time taken to compute the reduced basis.
void Initialize(const Teuchos::RCP< Teuchos::ParameterList > ¶ms, const Teuchos::RCP< const Epetra_MultiVector > &ss, const Teuchos::RCP< RBGen::FileIOHandler< Epetra_Operator > > &fileio=Teuchos::null)
Initialize the method with the given parameter list and snapshot set.
AnasaziPOD()
Default constructor.
void updateBasis(const Teuchos::RCP< Epetra_MultiVector > &update_ss)
Append new snapshots to the set, and update the basis.
void Reset(const Teuchos::RCP< Epetra_MultiVector > &new_ss)
Reset the snapshot set used to compute the reduced basis.
Abstract base class for reduced basis methods.
Abstract base class for reduced basis POD methods.
Teuchos::RCP< const Epetra_MultiVector > getBasis() const
Get the basis computed by the reduced basis method.
void ResetOp(const Teuchos::RCP< Epetra_Operator > &new_op)
Reset the operator used to weight the Anasazi operator or .
void computeBasis()
Compute a basis for the provided snapshots.
void ResetInnerProdOp(const Teuchos::RCP< Epetra_Operator > &new_op)
Reset the operator used to weight the inner product.