A simple reference data reader. More...
#include <mos1d_dg.hpp>
Public Types | |
typedef std::map< long, std::vector< double > > | storage_type |
Public Member Functions | |
bool | read_file (std::string filename, char delimiter=' ') |
Reads reference data from a CSV text file, where the main index to the data is the cell-id. More... | |
storage_type const & | data () const |
A simple reference data reader.
Definition at line 128 of file mos1d_dg.hpp.
typedef std::map<long, std::vector<double> > reference_values::storage_type |
Definition at line 130 of file mos1d_dg.hpp.
|
inline |
Definition at line 168 of file mos1d_dg.hpp.
|
inline |
Reads reference data from a CSV text file, where the main index to the data is the cell-id.
filename | The path/filename of the input file (text file) |
delimiter | The value delimiter in the text file, usually it's just a space character |
Definition at line 138 of file mos1d_dg.hpp.