RBGen  Version of the Day
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
List of all members
RBGen::StSVDRTR Class Reference

Class for producing a POD basis using a trust-region optimization on the Stiefel manifold. More...

#include <RBGen_StSVD_RTR.h>

Inheritance diagram for RBGen::StSVDRTR:
RBGen::Method< Epetra_MultiVector, Epetra_Operator > RBGen::PODMethod< double >

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 > &params, 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...
 

Detailed Description

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.

Constructor & Destructor Documentation

RBGen::StSVDRTR::StSVDRTR ( )

Default constructor.

Definition at line 14 of file RBGen_StSVD_RTR.cpp.

virtual RBGen::StSVDRTR::~StSVDRTR ( )
inlinevirtual

Destructor.

Definition at line 53 of file RBGen_StSVD_RTR.h.

Member Function Documentation

void RBGen::StSVDRTR::computeBasis ( )
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.

void RBGen::StSVDRTR::updateBasis ( const Teuchos::RCP< Epetra_MultiVector > &  update_ss)
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.

Teuchos::RCP< const Epetra_MultiVector > RBGen::StSVDRTR::getBasis ( ) const
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.

std::vector< double > RBGen::StSVDRTR::getSingularValues ( ) const
virtual

Return the singular values.

Implements RBGen::PODMethod< double >.

Definition at line 67 of file RBGen_StSVD_RTR.cpp.

double RBGen::StSVDRTR::getCompTime ( ) const
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.

void RBGen::StSVDRTR::Initialize ( const Teuchos::RCP< Teuchos::ParameterList > &  params,
const Teuchos::RCP< const Epetra_MultiVector > &  init,
const Teuchos::RCP< RBGen::FileIOHandler< Epetra_Operator > > &  fileio = Teuchos::null 
)
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.

void RBGen::StSVDRTR::Reset ( const Teuchos::RCP< Epetra_MultiVector > &  new_ss)
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.


The documentation for this class was generated from the following files: