9 const std::string &compress_type)
10 : d_filename(filename), d_compressType(compress_type) {}
13 const std::vector<util::Point> *nodes) {}
16 const std::vector<util::Point> *u) {}
19 const std::vector<util::Point> *nodes,
const size_t &element_type,
20 const std::vector<size_t> *en_con,
21 const std::vector<util::Point> *u) {}
24 const std::vector<uint8_t> *data) {}
27 const std::vector<size_t> *data) {}
30 const std::vector<int> *data) {}
33 const std::vector<float> *data) {}
36 const std::vector<double> *data) {}
39 const std::string &name,
const std::vector<util::Point> *data) {}
42 const std::string &name,
const std::vector<util::SymMatrix3> *data) {}
45 const std::vector<float> *data) {}
48 const std::string &name,
const std::vector<util::SymMatrix3> *data) {}
55 const double &data) {}
void appendMesh(const std::vector< util::Point > *nodes, const size_t &element_type, const std::vector< size_t > *en_con, const std::vector< util::Point > *u=nullptr)
Writes the mesh data to file.
void appendFieldData(const std::string &name, const double &data)
Writes the scalar field data to the file.
void appendPointData(const std::string &name, const std::vector< uint8_t > *data)
Writes the scalar point data to the file.
LegacyVtkWriter(const std::string &filename, const std::string &compress_type="")
Constructor.
void addTimeStep(const double ×tep)
Writes the time step to the file.
void appendNodes(const std::vector< util::Point > *nodes)
Writes the nodes to the file.
void close()
Closes the file and store it to the hard disk.
void appendCellData(const std::string &name, const std::vector< float > *data)
Writes the float data associated to cells to the file.