RBGen
Version of the Day
|
Class for producing a basis using the Anasazi eigensolver. More...
#include <RBGen_AnasaziPOD.h>
Public Member Functions | |
Constructor/Destructor. | |
AnasaziPOD () | |
Default constructor. More... | |
virtual | ~AnasaziPOD () |
Destructor. More... | |
Computation Methods | |
void | computeBasis () |
Compute a basis for the provided snapshots. More... | |
void | updateBasis (const Teuchos::RCP< Epetra_MultiVector > &update_ss) |
Append new snapshots to the set, and update the basis. More... | |
Get Methods | |
Teuchos::RCP< const Epetra_MultiVector > | getBasis () const |
Get the basis computed by the reduced basis method. More... | |
std::vector< double > | getSingularValues () const |
Returns the singular values computed corresponding to the reduced basis. More... | |
double | getCompTime () const |
Returns the computational time taken to compute the reduced basis. More... | |
Set Methods | |
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. More... | |
void | Reset (const Teuchos::RCP< Epetra_MultiVector > &new_ss) |
Reset the snapshot set used to compute the reduced basis. More... | |
void | ResetOp (const Teuchos::RCP< Epetra_Operator > &new_op) |
Reset the operator used to weight the Anasazi operator or . More... | |
void | ResetInnerProdOp (const Teuchos::RCP< Epetra_Operator > &new_op) |
Reset the operator used to weight the inner product. More... | |
Status Methods | |
bool | isInitialized () |
Public Member Functions inherited from RBGen::Method< Epetra_MultiVector, Epetra_Operator > | |
Method () | |
Default constructor. More... | |
virtual | ~Method () |
Destructor. More... | |
Public Member Functions inherited from RBGen::PODMethod< double > | |
PODMethod () | |
Default constructor. More... | |
virtual | ~PODMethod () |
Destructor. More... | |
Class for producing a basis using the Anasazi eigensolver.
Definition at line 17 of file RBGen_AnasaziPOD.h.
RBGen::AnasaziPOD::AnasaziPOD | ( | ) |
Default constructor.
Definition at line 21 of file RBGen_AnasaziPOD.cpp.
|
inlinevirtual |
Destructor.
Definition at line 27 of file RBGen_AnasaziPOD.h.
|
virtual |
Compute a basis for the provided snapshots.
Computes bases for the provided snapshots using Anasazi to solve the eigenproblem defined by , where A
is the snapshot matrix.
Implements RBGen::Method< Epetra_MultiVector, Epetra_Operator >.
Definition at line 67 of file RBGen_AnasaziPOD.cpp.
|
inlinevirtual |
Append new snapshots to the set, and update the basis.
Implements RBGen::Method< Epetra_MultiVector, Epetra_Operator >.
Definition at line 43 of file RBGen_AnasaziPOD.h.
|
inlinevirtual |
Get the basis computed by the reduced basis method.
Implements RBGen::Method< Epetra_MultiVector, Epetra_Operator >.
Definition at line 50 of file RBGen_AnasaziPOD.h.
|
inlinevirtual |
Returns the singular values computed corresponding to the reduced basis.
Implements RBGen::PODMethod< double >.
Definition at line 52 of file RBGen_AnasaziPOD.h.
|
inlinevirtual |
Returns the computational time taken to compute the reduced basis.
Implements RBGen::Method< Epetra_MultiVector, Epetra_Operator >.
Definition at line 54 of file RBGen_AnasaziPOD.h.
|
virtual |
Initialize the method with the given parameter list and snapshot set.
Implements RBGen::Method< Epetra_MultiVector, Epetra_Operator >.
Definition at line 29 of file RBGen_AnasaziPOD.cpp.
|
inlinevirtual |
Reset the snapshot set used to compute the reduced basis.
Implements RBGen::Method< Epetra_MultiVector, Epetra_Operator >.
Definition at line 66 of file RBGen_AnasaziPOD.h.
|
inline |
Reset the operator used to weight the Anasazi operator or .
Definition at line 69 of file RBGen_AnasaziPOD.h.
|
inline |
Reset the operator used to weight the inner product.
Definition at line 72 of file RBGen_AnasaziPOD.h.