WaveBlocksND
Public Member Functions | Public Attributes | Private Attributes | List of all members
waveblocks::csv::CoefficientsFileParser Class Reference

#include <coefficients_file_parser.hpp>

Public Member Functions

 CoefficientsFileParser (std::string file, int wp_dimensions, int wp_components)
 
bool next ()
 
std::size_t line_number () const
 

Public Attributes

std::vector< int > lattice_node
 
std::vector< std::complex< double > > coefficients
 

Private Attributes

std::fstream in_
 
int wp_dimensions_
 
int wp_components_
 
std::size_t line_number_
 

Constructor & Destructor Documentation

waveblocks::csv::CoefficientsFileParser::CoefficientsFileParser ( std::string  file,
int  wp_dimensions,
int  wp_components 
)

Member Function Documentation

std::size_t waveblocks::csv::CoefficientsFileParser::line_number ( ) const
inline
bool waveblocks::csv::CoefficientsFileParser::next ( )

Member Data Documentation

std::vector<std::complex<double> > waveblocks::csv::CoefficientsFileParser::coefficients
std::fstream waveblocks::csv::CoefficientsFileParser::in_
private
std::vector<int> waveblocks::csv::CoefficientsFileParser::lattice_node
std::size_t waveblocks::csv::CoefficientsFileParser::line_number_
private
int waveblocks::csv::CoefficientsFileParser::wp_components_
private
int waveblocks::csv::CoefficientsFileParser::wp_dimensions_
private

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