libROM  v1.0
Data-driven physical simulation library
 All Classes Functions Variables Enumerations
Public Member Functions | List of all members
CAROM::BasisWriter Class Reference

#include <BasisWriter.h>

Public Member Functions

 BasisWriter (BasisGenerator *basis_generator, const std::string &base_file_name, Database::formats db_format=Database::HDF5)
 Constructor. More...
 
 ~BasisWriter ()
 Destructor.
 
void writeBasis (const std::string &kind="basis")
 Write basis or state vectors generated by d_basis_generator.
 

Detailed Description

Class BasisWriter writes the basis vectors created by an BasisGenerator.

Constructor & Destructor Documentation

CAROM::BasisWriter::BasisWriter ( BasisGenerator basis_generator,
const std::string &  base_file_name,
Database::formats  db_format = Database::HDF5 
)

Constructor.

Precondition
basis_generator != 0
!base_file_name.empty()
Parameters
[in]basis_generatorThe generator of the basis vectors to be written.
[in]base_file_nameThe base part of the name of the files holding the basis vectors.
[in]db_formatFormat of the file to read. One of the implemented file formats defined in Database.

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