|
libROM
v1.0
Data-driven physical simulation library
|
#include <BasisWriter.h>
Public Member Functions | |
| BasisWriter (BasisGenerator &basis_generator, const std::string &base_file_name, Database::formats db_format=Database::formats::HDF5) | |
| Constructor. More... | |
| ~BasisWriter () | |
| Destructor. | |
| void | writeBasis (const std::string &kind="basis") |
| Write basis or state vectors generated by d_basis_generator. | |
Class BasisWriter writes the basis vectors created by an BasisGenerator.
Definition at line 26 of file BasisWriter.h.
| CAROM::BasisWriter::BasisWriter | ( | BasisGenerator & | basis_generator, |
| const std::string & | base_file_name, | ||
| Database::formats | db_format = Database::formats::HDF5 |
||
| ) |
Constructor.
| [in] | basis_generator | The generator of the basis vectors to be written. |
| [in] | base_file_name | The base part of the name of the files holding the basis vectors. |
| [in] | db_format | Format of the file to read. One of the implemented file formats defined in Database. |
Definition at line 25 of file BasisWriter.cpp.