HyPar  1.0
Finite-Difference Hyperbolic-Parabolic PDE Solver on Cartesian Grids
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
ROMObject Class Referenceabstract

Base class defining a ROM object. More...

#include <rom_object.h>

Inheritance diagram for ROMObject:
DMDROMObject

Public Member Functions

virtual ~ROMObject ()
 
virtual void projectInitialSolution (CAROM::Vector &)=0
 
virtual void takeSample (const CAROM::Vector &, const double)=0
 
virtual void train ()=0
 
virtual const CAROM::Vector *const predict (const double) const =0
 
virtual void save (const std::string &) const =0
 
virtual void load (const std::string &)=0
 

Detailed Description

Base class defining a ROM object.

Base class defining a ROM object. This is the base class that defines a ROM object.

This is the base class that defines a ROM object.

Definition at line 30 of file rom_object.h.

Constructor & Destructor Documentation

virtual ~ROMObject ( )
inlinevirtual

virtual destructor

Definition at line 35 of file rom_object.h.

35 { }

Member Function Documentation

virtual void projectInitialSolution ( CAROM::Vector &  )
pure virtual

Project initial solution for prediction

Implemented in DMDROMObject.

virtual void takeSample ( const CAROM::Vector &  ,
const double   
)
pure virtual

take a sample (solution snapshot)

Implemented in DMDROMObject.

virtual void train ( )
pure virtual

train the ROM object

Implemented in DMDROMObject.

virtual const CAROM::Vector* const predict ( const double  ) const
pure virtual

compute prediction at given time

Implemented in DMDROMObject.

virtual void save ( const std::string &  ) const
pure virtual

save ROM object to file

Implemented in DMDROMObject.

virtual void load ( const std::string &  )
pure virtual

load ROM object from file

Implemented in DMDROMObject.


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