51 std::vector<std::vector<std::string>>
getNumArray();
Enables reading of .csv files into MercuryDPM.
Definition: csvReader.h:25
std::vector< Mdouble > CSVSecondColumn_
Definition: csvReader.h:84
std::vector< std::string > getHeaderVector()
Get the Header string vector of a .csv file.
Definition: csvReader.cc:80
std::vector< Mdouble > getSecondColumn(Mdouble scalingFactor)
Get second column of a .csv file and return it as a double.
Definition: csvReader.cc:124
std::vector< std::vector< std::string > > getNumArray()
Get the 2D array with the .csv file values.
Definition: csvReader.cc:97
std::vector< std::string > headerVector_
Definition: csvReader.h:74
bool hasHeader_
Definition: csvReader.h:89
std::vector< std::vector< std::string > > numArray_
Definition: csvReader.h:68
void read(const std::string &filename)
Reads .csv files into Mercury.
Definition: csvReader.cc:19
void setHeader(bool headings)
Set the boolean hasHeader_.
Definition: csvReader.cc:88
std::vector< Mdouble > CSVFirstColumn_
Definition: csvReader.h:79
std::vector< Mdouble > getFirstColumn(Mdouble scalingFactor)
Get first column of a .csv file and return it as a double.
Definition: csvReader.cc:107
string filename
Definition: MergeRestartFiles.py:39
std::string string(const unsigned &i)
Definition: oomph_definitions.cc:286