1 #ifndef RBGEN_METHOD_HPP
2 #define RBGEN_METHOD_HPP
4 #include "RBGen_FileIOHandler.hpp"
15 template<
class DataSetType,
class OperatorType>
68 virtual bool isInitialized() = 0;
75 #endif // RBGEN_METHOD_HPP
virtual void Reset(const Teuchos::RCP< DataSetType > &new_ss)=0
Reset the snapshot set used to compute the reduced basis.
virtual Teuchos::RCP< const DataSetType > getBasis() const =0
Get the basis computed by the reduced basis method.
virtual ~Method()
Destructor.
virtual void Initialize(const Teuchos::RCP< Teuchos::ParameterList > ¶ms, 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.
Method()
Default constructor.
virtual void computeBasis()=0
Compute a basis for the provided snapshots.
Abstract base class for reduced basis methods.
virtual double getCompTime() const =0
Returns the computational time taken to compute the reduced basis.
Abstract base class for reading datasets from files.
virtual void updateBasis(const Teuchos::RCP< DataSetType > &update_ss)=0
Append new snapshots to the set, and update the basis.