RBGen  Version of the Day
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
List of all members
RBGen::Method< DataSetType, OperatorType > Class Template Referenceabstract

Abstract base class for reduced basis methods. More...

#include <RBGen_Method.hpp>

Public Member Functions

Constructor/Destructor.
 Method ()
 Default constructor. More...
 
virtual ~Method ()
 Destructor. More...
 
Computation Methods
virtual void computeBasis ()=0
 Compute a basis for the provided snapshots. More...
 
virtual void updateBasis (const Teuchos::RCP< DataSetType > &update_ss)=0
 Append new snapshots to the set, and update the basis. More...
 
Get Methods
virtual Teuchos::RCP< const
DataSetType > 
getBasis () const =0
 Get the basis computed by the reduced basis method. More...
 
virtual double getCompTime () const =0
 Returns the computational time taken to compute the reduced basis. More...
 
Set Methods
virtual void Initialize (const Teuchos::RCP< Teuchos::ParameterList > &params, const Teuchos::RCP< const DataSetType > &ss, const Teuchos::RCP< RBGen::FileIOHandler< OperatorType > > &fileio=Teuchos::null)=0
 Initialize the method with the given parameter list and snapshot set. More...
 
virtual void Reset (const Teuchos::RCP< DataSetType > &new_ss)=0
 Reset the snapshot set used to compute the reduced basis. More...
 
Status Methods
virtual bool isInitialized ()=0
 

Detailed Description

template<class DataSetType, class OperatorType>
class RBGen::Method< DataSetType, OperatorType >

Abstract base class for reduced basis methods.

Definition at line 16 of file RBGen_Method.hpp.

Constructor & Destructor Documentation

template<class DataSetType, class OperatorType>
RBGen::Method< DataSetType, OperatorType >::Method ( )
inline

Default constructor.

Definition at line 23 of file RBGen_Method.hpp.

template<class DataSetType, class OperatorType>
virtual RBGen::Method< DataSetType, OperatorType >::~Method ( )
inlinevirtual

Destructor.

Definition at line 27 of file RBGen_Method.hpp.

Member Function Documentation

template<class DataSetType, class OperatorType>
virtual void RBGen::Method< DataSetType, OperatorType >::computeBasis ( )
pure virtual

Compute a basis for the provided snapshots.

Implemented in RBGen::IncSVDPOD, RBGen::StSVDRTR, RBGen::AnasaziPOD, and RBGen::LapackPOD.

template<class DataSetType, class OperatorType>
virtual void RBGen::Method< DataSetType, OperatorType >::updateBasis ( const Teuchos::RCP< DataSetType > &  update_ss)
pure virtual
template<class DataSetType, class OperatorType>
virtual Teuchos::RCP<const DataSetType> RBGen::Method< DataSetType, OperatorType >::getBasis ( ) const
pure virtual

Get the basis computed by the reduced basis method.

Implemented in RBGen::IncSVDPOD, RBGen::StSVDRTR, RBGen::AnasaziPOD, and RBGen::LapackPOD.

template<class DataSetType, class OperatorType>
virtual double RBGen::Method< DataSetType, OperatorType >::getCompTime ( ) const
pure virtual

Returns the computational time taken to compute the reduced basis.

Implemented in RBGen::IncSVDPOD, RBGen::StSVDRTR, RBGen::AnasaziPOD, and RBGen::LapackPOD.

template<class DataSetType, class OperatorType>
virtual void RBGen::Method< DataSetType, OperatorType >::Initialize ( const Teuchos::RCP< Teuchos::ParameterList > &  params,
const Teuchos::RCP< const DataSetType > &  ss,
const Teuchos::RCP< RBGen::FileIOHandler< OperatorType > > &  fileio = Teuchos::null 
)
pure virtual
template<class DataSetType, class OperatorType>
virtual void RBGen::Method< DataSetType, OperatorType >::Reset ( const Teuchos::RCP< DataSetType > &  new_ss)
pure virtual

Reset the snapshot set used to compute the reduced basis.

Implemented in RBGen::IncSVDPOD, RBGen::StSVDRTR, RBGen::AnasaziPOD, and RBGen::LapackPOD.


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