libROM  v1.0
Data-driven physical simulation library
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::formats::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.

Definition at line 26 of file BasisWriter.h.

Constructor & Destructor Documentation

◆ BasisWriter()

CAROM::BasisWriter::BasisWriter ( BasisGenerator basis_generator,
const std::string &  base_file_name,
Database::formats  db_format = Database::formats::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.

Definition at line 25 of file BasisWriter.cpp.


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