68 const Eigen::Vector2d &value);
72 const Eigen::Vector3d &value);
90 return name == data.name;
107struct fmt::formatter<
precice::io::TXTTableWriter::DataType> : formatter<string_view> {
File writer for table-data in text-format.
std::ofstream _outputStream
std::vector< Data > _data
void close()
Closes the file, is automatically called on destruction.
DataType
Constants defining possible data types to be written.
std::vector< Data >::const_iterator _writeIterator
void addData(const std::string &name, DataType type)
Adds a data entry to the table.
TXTTableWriter(const std::string &filename)
Constructor, opens file.
void reset()
Resets the table information.
void writeData(const std::string &name, int value)
Writes a integral scalar data value associated to the entry name.
This class provides a lightweight logger.
Main namespace of the precice library.
Represents one data entry to be written.
bool operator==(const Data &data) const