RBGen
Version of the Day
|
Class for producing a basis using the Incremental SVD. More...
#include <RBGen_IncSVDPOD.h>
Public Member Functions | |
Constructor/Destructor. | |
IncSVDPOD () | |
Default constructor. More... | |
virtual | ~IncSVDPOD () |
Destructor. More... | |
Computation Methods | |
void | computeBasis () |
Computes bases for the left and (optionally) right singular subspaces, along with singular vaues. More... | |
virtual void | updateBasis (const Teuchos::RCP< Epetra_MultiVector > &update_ss)=0 |
Update the current basis by appending new snapshots. More... | |
Get Methods | |
Teuchos::RCP< const Epetra_MultiVector > | getBasis () const |
Return a basis for the left singular subspace. More... | |
Teuchos::RCP< const Epetra_MultiVector > | getRightBasis () const |
Return a basis for the right singular subspace. More... | |
std::vector< double > | getSingularValues () const |
Return the singular values. More... | |
double | getCompTime () const |
Return the cummulative wall-clock time. More... | |
const std::vector< double > & | getResNorms () |
Return the scaled residual norms. More... | |
Set Methods | |
void | Initialize (const Teuchos::RCP< Teuchos::ParameterList > ¶ms, const Teuchos::RCP< const Epetra_MultiVector > &init, 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... | |
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 Incremental SVD.
Definition at line 67 of file RBGen_IncSVDPOD.h.
RBGen::IncSVDPOD::IncSVDPOD | ( | ) |
Default constructor.
Definition at line 12 of file RBGen_IncSVDPOD.cpp.
|
inlinevirtual |
Destructor.
Definition at line 77 of file RBGen_IncSVDPOD.h.
|
virtual |
Computes bases for the left and (optionally) right singular subspaces, along with singular vaues.
Implements RBGen::Method< Epetra_MultiVector, Epetra_Operator >.
Definition at line 161 of file RBGen_IncSVDPOD.cpp.
|
pure virtual |
Update the current basis by appending new snapshots.
Implements RBGen::Method< Epetra_MultiVector, Epetra_Operator >.
Implemented in RBGen::ISVDMultiCD, RBGen::ISVDMultiSDA, RBGen::ISVDMultiSDB, and RBGen::ISVDSingle.
|
virtual |
Return a basis for the left singular subspace.
Implements RBGen::Method< Epetra_MultiVector, Epetra_Operator >.
Definition at line 32 of file RBGen_IncSVDPOD.cpp.
Teuchos::RCP< const Epetra_MultiVector > RBGen::IncSVDPOD::getRightBasis | ( | ) | const |
Return a basis for the right singular subspace.
Definition at line 39 of file RBGen_IncSVDPOD.cpp.
|
virtual |
Return the singular values.
Implements RBGen::PODMethod< double >.
Definition at line 46 of file RBGen_IncSVDPOD.cpp.
|
inlinevirtual |
Return the cummulative wall-clock time.
Implements RBGen::Method< Epetra_MultiVector, Epetra_Operator >.
Definition at line 104 of file RBGen_IncSVDPOD.h.
const std::vector< double > & RBGen::IncSVDPOD::getResNorms | ( | ) |
Return the scaled residual norms.
Definition at line 280 of file RBGen_IncSVDPOD.cpp.
|
virtual |
Initialize the method with the given parameter list and snapshot set.
Implements RBGen::Method< Epetra_MultiVector, Epetra_Operator >.
Reimplemented in RBGen::ISVDMultiSDA, RBGen::ISVDMultiSDB, RBGen::ISVDSingle, RBGen::ISVDMultiCD, RBGen::ISVDUDV, RBGen::ISVD_SingleUDV, RBGen::ISVD_MultiCDUDV, RBGen::ISVD_MultiSDAUDV, and RBGen::ISVD_MultiSDBUDV.
Definition at line 51 of file RBGen_IncSVDPOD.cpp.
|
virtual |
Reset the snapshot set used to compute the reduced basis.
Implements RBGen::Method< Epetra_MultiVector, Epetra_Operator >.
Definition at line 153 of file RBGen_IncSVDPOD.cpp.