38 CSV(std::string name,
char separator, std::vector<std::string> columnTags);
39 explicit CSV(std::string name =
"unnamed");
40 CSV(std::string name,
char separator);
41 CSV(std::string name, std::vector<std::string> columnTags);
47 void writeDataFile(T xValue, T yValue,
const std::string& plotFileName,
int precision = 16);
48 void writeDataFile(T xValue,
const std::vector<T>& yValues,
const std::string& plotFileName,
int precision = 16);
52 void writeDataFile(T xValue,
const std::vector<T>& yValues,
int precision = 16);
56 void setColumnTags(
const std::vector<std::string> columnTags, std::string& plotFileName);
57 void setColumnTags(
const std::vector<std::string> columnTags);
65 std::string _dataFile;
68 std::vector<std::string> _columnTags;
70 static constexpr int _rank {0};
void writeDataFile(T xValue, T yValue, const std::string &plotFileName, int precision=16)
former datFileOut functions these functions create a datafile in the csv format in order to write in ...
void setColumnTags(const std::vector< std::string > columnTags, std::string &plotFileName)
adds column tags at the beginning of the csv data file.
CSV(std::string name, char separator, std::vector< std::string > columnTags)
Constructor with name for output file.
Top level namespace for all of OpenLB.