OPAL (Object Oriented Parallel Accelerator Library) 2022.1
OPAL
|
#include <ProbeReader.h>
Public Member Functions | |
ProbeReader (std::string filename) | |
~ProbeReader () | |
void | parseFile () |
void | getVariableValue (int id, std::string varname, double &sim_value) |
Private Attributes | |
std::string | filename_m |
Probe loss filename. More... | |
int | nColumns_m |
Number of variables. More... | |
int | nRows_m |
Number of values per variable. More... | |
std::map< std::string, int > | columnNamesToID_m |
std::vector< std::vector< double > > | data_m |
Definition at line 29 of file ProbeReader.h.
|
explicit |
Definition at line 29 of file ProbeReader.cpp.
ProbeReader::~ProbeReader | ( | ) |
Definition at line 37 of file ProbeReader.cpp.
void ProbeReader::getVariableValue | ( | int | id, |
std::string | varname, | ||
double & | sim_value | ||
) |
Definition at line 104 of file ProbeReader.cpp.
References columnNamesToID_m, and data_m.
void ProbeReader::parseFile | ( | ) |
Definition at line 40 of file ProbeReader.cpp.
References columnNamesToID_m, data_m, filename_m, nColumns_m, and nRows_m.
|
private |
Definition at line 50 of file ProbeReader.h.
Referenced by getVariableValue(), and parseFile().
|
private |
Definition at line 51 of file ProbeReader.h.
Referenced by getVariableValue(), and parseFile().
|
private |
|
private |
|
private |
Number of values per variable.
Definition at line 48 of file ProbeReader.h.
Referenced by parseFile().