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

Class for producing a basis using LAPACK. More...

#include <RBGen_LapackPOD.h>

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

Public Member Functions

Constructor/Destructor.
 LapackPOD ()
 Default constructor. More...
 
virtual ~LapackPOD ()
 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 > &params, 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...
 
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 LAPACK.

Definition at line 14 of file RBGen_LapackPOD.h.

Constructor & Destructor Documentation

RBGen::LapackPOD::LapackPOD ( )

Default constructor.

Definition at line 18 of file RBGen_LapackPOD.cpp.

virtual RBGen::LapackPOD::~LapackPOD ( )
inlinevirtual

Destructor.

Definition at line 24 of file RBGen_LapackPOD.h.

Member Function Documentation

void RBGen::LapackPOD::computeBasis ( )
virtual

Compute a basis for the provided snapshots.

Implements RBGen::Method< Epetra_MultiVector, Epetra_Operator >.

Definition at line 45 of file RBGen_LapackPOD.cpp.

void RBGen::LapackPOD::updateBasis ( const Teuchos::RCP< Epetra_MultiVector > &  update_ss)
inlinevirtual

Append new snapshots to the set, and update the basis.

Implements RBGen::Method< Epetra_MultiVector, Epetra_Operator >.

Definition at line 32 of file RBGen_LapackPOD.h.

Teuchos::RCP<const Epetra_MultiVector> RBGen::LapackPOD::getBasis ( ) const
inlinevirtual

Get the basis computed by the reduced basis method.

Implements RBGen::Method< Epetra_MultiVector, Epetra_Operator >.

Definition at line 39 of file RBGen_LapackPOD.h.

std::vector<double> RBGen::LapackPOD::getSingularValues ( ) const
inlinevirtual

Returns the singular values computed corresponding to the reduced basis.

Implements RBGen::PODMethod< double >.

Definition at line 41 of file RBGen_LapackPOD.h.

double RBGen::LapackPOD::getCompTime ( ) const
inlinevirtual

Returns the computational time taken to compute the reduced basis.

Implements RBGen::Method< Epetra_MultiVector, Epetra_Operator >.

Definition at line 43 of file RBGen_LapackPOD.h.

void RBGen::LapackPOD::Initialize ( const Teuchos::RCP< Teuchos::ParameterList > &  params,
const Teuchos::RCP< const Epetra_MultiVector > &  ss,
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 25 of file RBGen_LapackPOD.cpp.

void RBGen::LapackPOD::Reset ( const Teuchos::RCP< Epetra_MultiVector > &  new_ss)
inlinevirtual

Reset the snapshot set used to compute the reduced basis.

Implements RBGen::Method< Epetra_MultiVector, Epetra_Operator >.

Definition at line 54 of file RBGen_LapackPOD.h.


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