RBGen
Version of the Day
|
Class for producing a POD basis using a trust-region optimization on the Stiefel manifold. More...
#include <RBGen_StSVD_RTR.h>
Public Member Functions | |
Constructor/Destructor. | |
StSVDRTR () | |
Default constructor. More... | |
virtual | ~StSVDRTR () |
Destructor. More... | |
Computation Methods | |
void | computeBasis () |
Computes bases for the left and (optionally) right singular subspaces, along with singular vaues. More... | |
void | updateBasis (const Teuchos::RCP< Epetra_MultiVector > &update_ss) |
Update the current basis using a new set of 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... | |
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 POD basis using a trust-region optimization on the Stiefel manifold.
Definition at line 43 of file RBGen_StSVD_RTR.h.
RBGen::StSVDRTR::StSVDRTR | ( | ) |
Default constructor.
Definition at line 14 of file RBGen_StSVD_RTR.cpp.
|
inlinevirtual |
Destructor.
Definition at line 53 of file RBGen_StSVD_RTR.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 326 of file RBGen_StSVD_RTR.cpp.
|
virtual |
Update the current basis using a new set of snapshots.
Implements RBGen::Method< Epetra_MultiVector, Epetra_Operator >.
Definition at line 685 of file RBGen_StSVD_RTR.cpp.
|
virtual |
Return a basis for the left singular subspace.
Implements RBGen::Method< Epetra_MultiVector, Epetra_Operator >.
Definition at line 51 of file RBGen_StSVD_RTR.cpp.
Teuchos::RCP< const Epetra_MultiVector > RBGen::StSVDRTR::getRightBasis | ( | ) | const |
Return a basis for the right singular subspace.
Definition at line 59 of file RBGen_StSVD_RTR.cpp.
|
virtual |
Return the singular values.
Implements RBGen::PODMethod< double >.
Definition at line 67 of file RBGen_StSVD_RTR.cpp.
|
inlinevirtual |
Return the cummulative wall-clock time.
Implements RBGen::Method< Epetra_MultiVector, Epetra_Operator >.
Definition at line 80 of file RBGen_StSVD_RTR.h.
std::vector< double > RBGen::StSVDRTR::getResNorms | ( | ) |
Return the scaled residual norms.
Definition at line 695 of file RBGen_StSVD_RTR.cpp.
|
virtual |
Initialize the method with the given parameter list and snapshot set.
Implements RBGen::Method< Epetra_MultiVector, Epetra_Operator >.
Definition at line 72 of file RBGen_StSVD_RTR.cpp.
|
virtual |
Reset the snapshot set used to compute the reduced basis.
Implements RBGen::Method< Epetra_MultiVector, Epetra_Operator >.
Definition at line 312 of file RBGen_StSVD_RTR.cpp.