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

Class for producing a basis using the Incremental SVD. More...

#include <RBGen_IncSVDPOD.h>

Inheritance diagram for RBGen::IncSVDPOD:
RBGen::Method< Epetra_MultiVector, Epetra_Operator > RBGen::PODMethod< double > RBGen::ISVDMultiCD RBGen::ISVDMultiSDA RBGen::ISVDMultiSDB RBGen::ISVDSingle RBGen::ISVDUDV RBGen::ISVD_MultiCDUDV RBGen::ISVD_MultiSDAUDV RBGen::ISVD_MultiSDBUDV RBGen::ISVD_SingleUDV RBGen::ISVD_MultiCDUDV RBGen::ISVD_MultiSDAUDV RBGen::ISVD_MultiSDBUDV RBGen::ISVD_SingleUDV

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 > &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 basis using the Incremental SVD.

Definition at line 67 of file RBGen_IncSVDPOD.h.

Constructor & Destructor Documentation

RBGen::IncSVDPOD::IncSVDPOD ( )

Default constructor.

Definition at line 12 of file RBGen_IncSVDPOD.cpp.

virtual RBGen::IncSVDPOD::~IncSVDPOD ( )
inlinevirtual

Destructor.

Definition at line 77 of file RBGen_IncSVDPOD.h.

Member Function Documentation

void RBGen::IncSVDPOD::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 161 of file RBGen_IncSVDPOD.cpp.

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

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

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

Return the singular values.

Implements RBGen::PODMethod< double >.

Definition at line 46 of file RBGen_IncSVDPOD.cpp.

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

void RBGen::IncSVDPOD::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
void RBGen::IncSVDPOD::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 153 of file RBGen_IncSVDPOD.cpp.


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